andariel
Aug 16 2003, 05:34 PM
Just Read
http://www.ecst.csuchico.edu/~beej/guide/n...ro.html#windows for the difference between windows and unix socket programming. Thats mainly the difference between windows and unix exploits. It works for conversion of 90% of the exploits. I suggest that you use MinGW as your compiler. It is shipped with Dev-C++ (an IDE) ->
http://www.bloodshed.net/Enjoy
SoleKiller
Aug 18 2003, 05:42 PM
thak you very much itt was really helpfull
r00tless
Aug 19 2003, 11:29 AM
A good Help.
And a better software.
I also Recomand the internet socket programming Tutorials on www.blacksun.box.sk
Specialy this link:
http://blacksun.box.sk/tutorials.php/id/94Ok I'll write again soon!
Bye now.
r00tless
Aug 19 2003, 11:54 AM
Ok!
I asked this question in security forums one of the members wrote me like this:
usually... to convert unix socket code to windows socket code, all that is needed to do, is replace all the network .h files, etc. with winsock.h. Then you link wsock32.lib when you compile, and at the beginning of your code, add:
Code:
| QUOTE |
WSADATA wsa; WSAStartup(MAKEWORD(x,y), &wsa); // Where x and y represent version (version x.y) |
the rest of the code should compile without problems, because the winsock library was based on bsd sockets, and is usually compatable with any *nix variant, with the exception of the above changes...
some good winsock tutorial pages:
http://www.hal-pc.org/~johnnie2/winsock.html http://www.tangentsoft.net/wskfaq/ Good luck!