|
[分享]程序员的鄙视链
先去交一个女朋友,再来学写程序;因为一旦你成为软件工程师之后,就交不到女朋友了。 |
|
[讨论]NP多开原理
过掉NP 拦截下CreatePipe ReadFile 会摸到你想要的 |
|
|
|
[讨论]hook
net是命令行文件 |
|
[求助]OD附加程序时出现拒绝访问!!
OPENPROCESS是否成功 是否有反调试 DEBUG函数是否被做手脚 |
|
[讨论]现在大神都用什么C语言编译器啊
我想问 这有区别吗 |
|
|
|
[讨论]大家怎么看各种编程培训
独学4年 现在已经分裂型人格障碍了 |
|
[求助]用Internet函数访问网站设置代理 求助
可能是异步的问题? HINTERNET Handle =InternetOpenA("icrosoft Internet Explorer",0,0,0,0); if (Handle == NULL) { return NULL; } if (InternetSetOptionA(Handle,6,(LPVOID)&Option,4) == NULL) { return NULL; } HINTERNET hUrl =InternetOpenUrlA(Handle,strUrl,0,0,0,0); if (HttpQueryInfoA(hUrl,0X13,lpInfoBuf,&dwBufLenth,0) == NULL) { return NULL; } InternetReadFile(hUrl,PackBuffer,9000,&dwBufLenth); HINTERNET Handle =InternetOpenA("Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; InfoPath.2; .NET CLR 2.0.50727; MS-RTC LM 8; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)",1,0,0,0); DWORD Option =0x2710; DWORD dwContext[]={0x274,0x278,0x27C}; char* pszVerb ="GET"; char* pszVersion ="HTTP/1.1"; char *szBuffer= new char[4095]; DWORD dwNumberOfBytesRead; memset(szBuffer,0,4095); InternetSetOptionA(Handle,6,(LPVOID)&Option,4); HINTERNET hURL =InternetConnectA(Handle,"127.0.0.1",0x1BB,0,0,3,0,(DWORD_PTR)dwContext); if (hURL == NULL) { MessageBoxA(0,"InternetConnect出错",0,0); return 0; } Handle =HttpOpenRequestA(hURL,pszVerb,pszURL,pszVersion,0,0,0x80803000,(DWORD_PTR)dwContext); if (HttpSendRequestW(Handle,0,0,pszVersion,0) ==NULL) { MessageBoxA(0,"出现错误 HttpSendRequest",0,0); return 0; } InternetReadFile(Handle,szBuffer,4095,&dwNumberOfBytesRead); |
|
[求助]用Internet函数访问网站设置代理 求助
既然IP是1.1.1.1依然可以访问网页了 是我的代码有误 |
|
[求助]用Internet函数访问网站设置代理 求助
确定验证码的机制是因为同IP 没有 多次同一个代理 是我哪里出错了 即使我设置: list.pOptions[1].Value.pszValue = "1.1.1.1:9999"; 我代码依然可以访问网页 |
|
[求助]用Internet函数访问网站设置代理 求助
层主的函数是设置IE LAN连接代理 调用之后打开IE是以代理访问网页 但是我程序里面依然出现验证码说明访问网页依然是以本地IP访问 BOOL SetConnectionOptions() { INTERNET_PER_CONN_OPTION_LIST list; BOOL bReturn; DWORD dwBufSize = sizeof(list); // Fill the list structure. list.dwSize = sizeof(list); // NULL == LAN, otherwise connectoid name. list.pszConnection = NULL; // Set three options. list.dwOptionCount = 3; list.pOptions = new INTERNET_PER_CONN_OPTION[3]; // Ensure that the memory was allocated. if(NULL == list.pOptions) { // Return FALSE if the memory wasn't allocated. return FALSE; } // Set flags. list.pOptions[0].dwOption = INTERNET_PER_CONN_FLAGS; list.pOptions[0].Value.dwValue = PROXY_TYPE_DIRECT | PROXY_TYPE_PROXY; // Set proxy name. list.pOptions[1].dwOption = INTERNET_PER_CONN_PROXY_SERVER; list.pOptions[1].Value.pszValue = "118.244.147.49:8080"; // Set proxy override. list.pOptions[2].dwOption = INTERNET_PER_CONN_PROXY_BYPASS; list.pOptions[2].Value.pszValue = "local"; // Set the options on the connection. bReturn = InternetSetOption(NULL, INTERNET_OPTION_PER_CONNECTION_OPTION, &list, dwBufSize); // Free the allocated memory. delete [] list.pOptions; return bReturn; } char* DownLoads(char* pszURL) { SetConnectionOptions(); HINTERNET Handle =InternetOpenA("Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; InfoPath.2; .NET CLR 2.0.50727; MS-RTC LM 8; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)",1,0,0,0); DWORD dwContext[]={0,0,0}; char* pszVerb ="GET"; char* pszVersion ="HTTP/1.1"; char *szBuffer= new char[4095]; DWORD dwNumberOfBytesRead; memset(szBuffer,0,4095); HINTERNET hURL =InternetConnectA(Handle,"cas.sdo.com",0x1BB,0,0,3,0,(DWORD_PTR)dwContext); if (hURL == NULL) { MessageBoxA(0,"InternetConnect出错",0,0); return 0; } Handle =HttpOpenRequestA(hURL,pszVerb,pszURL,pszVersion,0,0,0x80803000,(DWORD_PTR)dwContext); if (HttpSendRequestW(Handle,0,0,pszVersion,0) ==NULL) { MessageBoxA(0,"出现错误 HttpSendRequest",0,0); return 0; } InternetReadFile(Handle,szBuffer,4095,&dwNumberOfBytesRead); return szBuffer; } |
|
[求助]请教关于OD载入文件
谢谢 ! |
|
|
|
[结帖]求助手机定位(请管理员结帖吧)
技术上搞不定唯有去猫扑 天涯发寻人启事了 |
|
[结帖]求助手机定位(请管理员结帖吧)
猫扑 天涯 发你妹的照片问去 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值