SnifferRawSocket/main.cpp

32 lines
634 B
C++
Raw Normal View History

2022-04-14 13:59:39 +00:00
#include "rawsocket.h"
UINT RecvThreadProc(LPVOID lpVoid)
{
ReceivePacket();
return 0;
}
int main()
{
printf("***************** Welcome To World Of Demon *****************\n");
printf(" ʹ<><CAB9>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>\n");
printf(" 1. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֣<EFBFBD><D6A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>IP<49><50>ַ<EFBFBD><D6B7>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̽\n");
printf(" 2. <20><>ץ<EFBFBD><D7A5><EFBFBD>Ĺ<EFBFBD><C4B9><EFBFBD><EFBFBD>У<EFBFBD><D0A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>԰<EFBFBD><D4B0><EFBFBD><EFBFBD>س<EFBFBD><D8B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̽\n");
printf("*************************************************************\n\n\n");
InitRawSocket();
::CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)RecvThreadProc, NULL, 0, NULL);
getchar();
ExitRawSocket();
system("pause");
return 0;
}