ajithkp560

Decrypt $_F=__FILE__;$_X='encryption';

Nov 30th, 2012
355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.13 KB | None | 0 0
  1. <?php
  2.  
  3. /*
  4. By AJITH KP aka 0x4j17# aka c0bra
  5. Visit http://www.terminalcoders.blogspot.in
  6. */
  7.  
  8. if(isset($_REQUEST['encryptedtxt']))
  9. {
  10. $encrypted=$_REQUEST["encryptedtxt"];
  11. $decrypted = base64_decode($encrypted);
  12. $decrypted = strtr($decrypted, "123456aouie", "aouie123456");
  13. $tmp=fopen("decrypted.txt" , "w");
  14. fwrite($tmp, $decrypted);
  15. $file="decrypted.txt";
  16. if (file_exists($file)) {
  17.     header('Content-Description: File Transfer');
  18.     header('Content-Type: application/octet-stream');
  19.     header('Content-Disposition: attachment; filename='.basename($file));
  20.     header('Content-Transfer-Encoding: binary');
  21.     header('Expires: 0');
  22.     header('Cache-Control: must-revalidate');
  23.     header('Pragma: public');
  24.     header('Content-Length: ' . filesize($file));
  25.     ob_clean();
  26.     flush();
  27.     readfile($file);
  28.     exit;
  29. }
  30. }
  31. echo "<style>
  32. a { color: red; text-decoration:none; font-size=15px; }
  33. a:hover { color:green; text-decoration: blink; }
  34. textarea { font-size:medium;width:900px; height: 350px; border: 2px solid green; background-color:black; color: green; font-size:103%; }
  35. button { background-color:black; color:green; border: 1px solid green; }
  36. html { background:url(http://www.ajithkp560.hostei.com/images/background.gif) black; }
  37. input { background-color:black; color:green; border:1px solid green; }
  38. .container { background-color: black; color: green; border:1px solid green; -moz-border-radius: 10px; border-radius: 10px; width:960px; font-size=15px; }
  39. </style>
  40. <title>PHP Decrypter</title><center>
  41. <div class='container'><h1>__FILE__ Decrypter</h1><br />[<a href=http://www.terminalcoders.blogspot.in>HOME PAGE</a>]</div><br />
  42. <form method='post'>
  43. <textarea name='encryptedtxt' cols='25' rows='10' onfocus='if (this.value == \'input the text inside here\'){this.value = \'\';}>input the text inside here</textarea><br /><br /><input type=submit value='>>>>>>>>>>>>>>>> SEND >>>>>>>>>>>>>>>>'></form><br/>";
  44. ?>
  45. <div style="border:1px solid green;width:960px; height:70px; color:green; background-color:black;"><p><font size=4>Input the text $_F=__FILE__;$_X='<font color=red>inside here</font>';</font></p></div></center>
Advertisement
Add Comment
Please, Sign In to add comment