ajithkp560

Decode PHP gzuncompress base64 encryption

Nov 30th, 2012
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.97 KB | None | 0 0
  1. <?php
  2. /*
  3.  * Coded By AJITH KP aka 0x4j17# aka c0bra
  4.  * visit http://www.terminalcoders.blogspot.in
  5. */
  6. if(isset($_REQUEST['encryptedtxt']))
  7. {
  8. $encrypted=$_REQUEST["encryptedtxt"];
  9. $decrypted=gzuncompress(base64_decode($encrypted));
  10. $tmp=fopen("decrypted.txt" , "w");
  11. fwrite($tmp, $decrypted);
  12. $file="decrypted.txt";
  13. if (file_exists($file)) {
  14.     header('Content-Description: File Transfer');
  15.     header('Content-Type: application/octet-stream');
  16.     header('Content-Disposition: attachment; filename='.basename($file));
  17.     header('Content-Transfer-Encoding: binary');
  18.     header('Expires: 0');
  19.     header('Cache-Control: must-revalidate');
  20.     header('Pragma: public');
  21.     header('Content-Length: ' . filesize($file));
  22.     ob_clean();
  23.     flush();
  24.     readfile($file);
  25.     exit;
  26. }
  27. ignore_user_abort(true);
  28. if (connection_aborted()) {
  29. unlink($f);
  30. fclose($tmp);
  31. }
  32. }
  33. echo "<style>
  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>gzuncompress Decrypter</h1></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='>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>'></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 gzuncompress base64 encryption</font></p></div></center>
Advertisement
Add Comment
Please, Sign In to add comment