瑞星卡卡安全论坛综合娱乐区Rising茶馆 自编---病毒杀灭机(菜鸟版)

1   1  /  1  页   跳转

自编---病毒杀灭机(菜鸟版)

自编---病毒杀灭机(菜鸟版)

这是PASCAL语言,简易而有效(菜鸟专用)

program virus(input,output);
var s1:string[30]; a:integer; f1,f2:text;
begin
  write('input the virus file:');
  read(s1);assign(f1,s1);assign(f2,'d:\123.txt');
rewrite(f1);reset(f2);
while not eof(f2) do
  begin
    while not roln(f2) do
      begin 
          read(f2,a);
            write(f1,a);
      end;
      readln(f2);
        writeln(f1);
      end;
    close(f1); close(f2);
end.

(注:要在PASCAL里运行,运行前先在D盘你建123。TXT 内容随便输 ,运行后即可手动删毒)

用户系统信息:Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)
分享到:
gototop
 

回复:自编---病毒杀灭机(菜鸟版)

没人?
gototop
 
1   1  /  1  页   跳转
页面顶部
Powered by Discuz!NT