网络黑客高手联系方式(有信誉的黑客联系方式)
一直用lcx.exe来转端口,后来因为老是被查杀,感觉应该自己写这类工具了,于是在网上找了N多源码,感觉这个不错,发出来与大家共享。 #include #include #include #pragma comment(lib, "ws2_32.lib") #define SERVERNAME "port2port"#define VERSION "v1.1" #define MAXBUFSIZE 8192#define ADDRSIZE 32 struct SOCKINFO{SOCKET ClientSock;SOCKET ServerSock;};struct ADDRESS{char szIP[ADDRSIZE];WORD wPort;SOCKET s;}; ////////A simple class of stack operator. code start.....template class STACK{#define MAXSTACK 1024*2 private:int top;T Data[MAXSTACK];public: STACK(){top = -1;} bool IsEmpty(){return top < 0;} bool IsFull(){return top >= MAXSTACK;} bool Push(T data){if(IsFull())return false;top++;Data[top] = data;return true;} T Pop(){return Data[top--];} }
(责任编辑:网络)