|
[求助]delphi 没有关于CreateProcessInternalW 函数声明
试过 CreateProcessInternalA 了吗? 只勾了Unicode的W有时不一定奏效,Windows中很多都是ANSI的。 |
|
[求助]多核下取IDT
每个核心的IDT基址位置不同,sidt指令在多核CPU中反复执行会得到多个值的,具体是什么要看执行指令时是哪个核心在工作。 向二楼说的,可以设置亲和性:打开任务管理器,进程中找到你的程序,右键“关系设置...”,只保留CPU 0的话取的就是第一个核心的,保留CPU 1同理。 |
|
[求助]懂DELPHI帮我看看错哪里了
你没有设置Request的CharSet,所以获取不到中文。一般默认CharSet都是ISO-8859-1,改成UTF-8就可以了。 我没用过HTTPGET,就拿Indy演示了: uses IdHTTP; procedure TForm1.Button1Click(Sender: TObject); var aIdHttp: TIdHTTP; tmpHTML: String; begin aIdHttp := TIdHTTP.Create(Self); try aIdHttp.Request.AcceptCharSet := 'UTF-8'; //主要是这里 tmpHTML := aIdHttp.Get('http://search.yahoo.com/search?p=%E6%AD%8C%E6%89%8B'); Memo1.Lines.Text := tmpHTML; finally aIdHttp.Free; end; end; 上面代码Indy9和10通用。附带的压缩包里有完整工程,要Delphi2009+Indy10才能编译。 |
|
[转帖]卡巴斯基展示攻击Intel芯片的代码
估计不会公开代码,不过这个还真是强悍的研究方案哪! |
|
[原创]Winpcap of Delphi ARP
其实最麻烦的就是弄到 Winpcap 的头文件,我找的那个 Packet32.pas 根本就不全,比如不能打开tcpdump的离线文件。 winpcap的还是用C++写吧,而且转Linux版很容易。 |
|
[下载][新人]刚做的R3杀进程^^
第二个NtSystemDebugControl没有看过。不过还有种方法: 注射一个进程,然后写一个不能写的空间,引起访问违规,比如这样: asm xor eax, eax mov [eax], 0 end; 然后目标就因为写 0x00000000 地址的内存而被系统给中止了。 具体的看这里,其中有一个方法就是利用ExitProcess(直接在ExitProcess上CreateRemoteThread)。 http://www.delphibbs.com/keylife/iblog_show.asp?xid=23375 ps: ExitProcess对很多杀毒软件都无效,估计挂了钩子。 利用访问违规杀进程就比较强悍了,ring3级的程序基本都能冲突掉。 |
|
[求助]远程线程中调用函数的问题。
lpParameter 要指向目标的进程空间,而不是本地变量的地址。 是不是 TCHAR szText[256]; 问题?检查一下这个TCHAR数组传递的是指针还是实际字符串。 |
|
[求助]关于VNC中用到的屏幕截图算法的疑问...
感觉驱动的适应性不会太强,而且很难移植Linux(几台服务器都装的Fedora,Server端需要在Linux下运行,而且fc6还不知道有没有提供相关的接口呢)。 而且写普通截屏代码+分块隔行扫描的,也容易编程。 现在主要还是 如何确定分块是否需要重传 问题,除了比较每个象素点的内容,就没有简便快捷的方法了吗?或者xor之后有什么变通的方法?计算分块的效验和? |
|
|
|
[求助]关于VNC中用到的屏幕截图算法的疑问...
刚下到gh0st源码,谢谢你的提醒,我再去研究研究 。ring0下就算了,涉及驱动、内核的东西我看着就头大。 RDP协议我在MSDN里看过了,它是用于处理数据传输部分的,我想知道的是截图原理。 听你这么一说我也想起来了,确实见过有XOR整个图象,然后压缩传输的算法。由于相同部分异或后内容为0,所以压缩比较高。也许我看的那段代码很老,xor加分块的方法速度并没有多大提升,主要还是因为需要逐一比较分块是否改变,而且之前对全图xor还导致速度的下降。 我想知道它们是如何确定需要重传的分块的,或者这个比较过程用了什么特殊的手法以加快处理速度?隔行扫描占用CPU确实很小,不过如果不判断哪些行需要重传,占用带宽还是很大的。结果又绕回如何确定是否需要重传上来了... 我对驱动不太熟悉,而且感觉这么一个小东西搬个驱动过来,有点小题大做了(我不想写远控程序,也不用进程隐藏,只要能实现高速的屏幕传输就行了(主要是刷新频率要求较高,至少每秒5-10帧吧))。看来还是要从分块隔行扫描入手。 ps: 谢谢三楼的邀请,不过我很少上QQ。你有邮箱吗?我的:upbit@126.com |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值