Search code examples
.netudppacket

is it possible to forge a packet in .net?


I think my question is "no comment", and I must say is is not a bot-net.it is for education.

please tell me if this kind of question (hacking related) is not allowed in stackoverflow.

Edit:

While(Countries::C_Iran::LastMessage::Nuclear>0.05)IAEA::GetCountryA(Countries::C_Iran::Handle)->Boycott++;
if(IAEA::GetCountryA(Countries::C_Iran::Handle)->Boycot!=0)Sourceforge::GetCountryPermissions(Countries::C_Iran::Handle)->DnyAnything();

Solution

  • In general, if you need to send forged or custom-made packets, it's always a good idea to see if there is a port of libpcap for your platform. In this case, there are at least two:

    http://pcapdotnet.codeplex.com/

    http://sourceforge.net/apps/mediawiki/sharppcap/index.php?title=Main_Page

    EDIT: here's a tutorial for sharpcap http://www.codeproject.com/KB/IP/sharppcap.aspx#sendPackets