Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Exstension spoofer

By: a guest on Oct 27th, 2011  |  syntax: Perl  |  size: 0.15 KB  |  views: 41  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #!/usr/bin/perl
  2. $char = chr(8238);
  3. $src = $ARGV[0];
  4. $fname = $ARGV[1];
  5. $ext = reverse $ARGV[2];
  6. rename("${src}", "./${fname}${char}${ext}.exe");
  7.