Skip to content

Commit b43d75c

Browse files
committed
Update tokens
1 parent 2bbc091 commit b43d75c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mainwindow.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ std::string md5hex(const std::string & data) {
3333
}
3434

3535
std::string buildurlcode(std::string id, std::string phonenum, std::string cc) {
36-
std::string tokenData_token = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1413401214298"; //{phone};
36+
std::string tokenData_token = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1419900882708"; //{phone};
3737

3838
std::string token = md5hex(tokenData_token + phonenum);
3939

@@ -74,7 +74,7 @@ size_t write_data(void *ptr, size_t size, size_t nmemb, t_buf *stream) {
7474
std::string dohttpget(std::string url) {
7575
t_buf res; memset(&res,0,sizeof(res));
7676

77-
const char useragent[] = "WhatsApp/2.12.49 S40Version/14.26 Device/Nokia302";
77+
const char useragent[] = "WhatsApp/2.12.61 S40Version/08.71 Device/NokiaX2-01";
7878
struct curl_slist *chunk = NULL;
7979
chunk = curl_slist_append(chunk, "Accept: text/json");
8080

0 commit comments

Comments
 (0)