The code compiled successfully. Although the program failed for SOCKET error, the "puts(cfg.sPasswd);" still gave the correct hostname string.
Then I used the wireshark to capture the raw request packets sent to pool and surprisingly to see the password field was filled with nothing but a single dot character:
My C/C++ experience is very limited. I tried to achieve the title mentioned goal with modifying file xmrstak/jconf.cpp. I just replaced
with
The code compiled successfully. Although the program failed for SOCKET error, the "puts(cfg.sPasswd);" still gave the correct hostname string.
Then I used the wireshark to capture the raw request packets sent to pool and surprisingly to see the password field was filled with nothing but a single dot character:
Can anyone help me? Thanks.