|
|
|
[求助]求教,我想用c++实现post 登陆网站 提交表单。
单页面单线程模拟点击建议C#,几行代码 优点: 自动解释js加密,cookie,可以手动输入验证码等 缺点: 效率低,流量大(图片、CSS啥的) 多线程批量模拟发包建议C++ libcurl 优点: 执行快,自定义程度高,省流量,高并发 缺点: 需要分析html代码,post包数据,部分游戏站点登录需要js解密, 处理好cookie,花时间熟悉libcurl语法,编码转换等 |
|
[求助]NtDeviceIoControlFile的问题
http改包是小事,最后你会卡在https上 |
|
[原创]纯汇写的开发远控
汇编写最多只是练练手,想过目前杀软主防,汇编只会更容易被找到特征。 vc6 cpp+内联汇编是不错的选择,易读易调试易免杀(表面)。 1.过表面免杀 api采用动态加载,pe类资源加密存储 2.主动防御 自启动漏洞(all ver)+UAC漏洞+驱动加载漏洞 (1,3同理) 3.如果躲避云查,如何更久的免杀 - 一个原理:朝正规软件靠 4.功能插件模块化是必须的,加载驱动后多自恢复手段是必须的 5.中转服务器防追踪,内网上线 6.隐藏文件进程端口是必须的 开发心得,成品3年,可用,全过 |
|
C++怎样实现Win32 ASM中的invoke调用
额,好久没来了,我以为2楼以后就没人回复了 我是对二楼又补充了下,参数不用从倒过来写,也不用-1做标识 对于测试的三个函数可以,但是仍未处理调用约定问题 希望相互讨论,能继续完善它 #include <windows.h> #include <stdio.h> #include <iostream> #include <vector> using namespace std; int StdInvoke(char* lib,char* FucName ,...) { va_list ap; int nResult, nCount, nFunAddr; vector<int> args; nCount = ((((*(int*)(*(int*)((int)&lib-4)))&0xff0000) >>16)/4) - 2; HMODULE hModule = lib?LoadLibrary(lib):GetModuleHandle("kernel32.dll"); nFunAddr = (int)GetProcAddress(hModule, FucName); va_start(ap, FucName); for (int i=0; i< nCount; i++) args.push_back(va_arg(ap, int)); while (!args.empty()) { i = args.back(); args.pop_back(); __asm push i } _asm { call [nFunAddr]; mov nResult,eax } va_end(ap); if(lib) FreeLibrary(hModule); return nResult; } int main(int argc, char* argv[]) { StdInvoke("msvcrt.dll", "printf", "1+2=%d %s\n", 1+2, "haha"); StdInvoke(NULL,"Sleep",3000); if(IDYES == StdInvoke("user32.dll","MessageBoxA", 0, "content", "title", MB_YESNO)) printf("you pressed yes\n"); else printf("you pressed no\n"); return 0; } |
|
C++怎样实现Win32 ASM中的invoke调用
谢谢你的回复 |
|
[求助]dll中如何获取LoadLibrary的返回地址
我开始是一步步跟踪进ntdll.dll再到a.ll中的dllmain找出了堆栈便宜地址之差0x740, 不同版本误差太大,而且硬编码,我不太满意 你的这个搜索特征码的方法貌似还不错,我试试,先谢过 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值