EvilZone

Programming and Scripting => C - C++ => : avahdon November 27, 2013, 12:04:41 AM

: about zeus botnet c++ source code
: avahdon November 27, 2013, 12:04:41 AM
hi, i am reading the source code if zeus botnet, and i saw an include of <ws2tcpip.h>, and I read in the net the it require a <winsock2.h> but I don't see any #include <winsock2.h> in the zeus botnet source. I am wondering how do they do it. Thanks
: Re: about zeus botnet c++ source code
: Matriplex November 27, 2013, 03:16:53 AM
Well I don't know much of C++, but I know enough to consummate that include is similar to import in Java. It is possible that ws2tcpip.h include winsock2.h. I know that .h's are header files but I don't know if you can use includes in them, so maybe it does so in the cpp file.
This is a complete guess, take it with a grain of salt. I suggest you research the subject.
: Re: about zeus botnet c++ source code
: bluechill November 27, 2013, 02:53:23 PM
hi, i am reading the source code if zeus botnet, and i saw an include of <ws2tcpip.h>, and I read in the net the it require a <winsock2.h> but I don't see any #include <winsock2.h> in the zeus botnet source. I am wondering how do they do it. Thanks

They're pretty close to equivalent.  ws2tcpip includes winsock.  Win Sock includes a bunch of Socket based stuff including TCP functions.  ws2tcpip also includes a bunch of stuff related to TCP functions, hence "tcpip" as in TCP/IP