Dr-L0v3

Script Encode & Decode by Dr.L0v3

Jul 21st, 2015
900
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.00 KB | None | 0 0
  1. <?php
  2. @ini_set('output_buffering',0);
  3. @ini_set('display_errors', 0);
  4. $text = $_POST['code'];
  5. ?>
  6. <title>Script Encode & Decode by Dr.L0v3</title>
  7. <STYLE>
  8. body,td,th {font-family: Verdana;font-size: 12px;color: #00FF00;font-weight: bold;}
  9. .jaya{ font-family:Vivaldi;font-size:50px;color: #00FF00;}
  10. input {BORDER-RIGHT:#00FF00 1px solid;BORDER-TOP:#00FF00 1px solid;BORDER-LEFT:#00FF00 1px solid;BORDER-BOTTOM: #00FF00 1px solid;BACKGROUND-COLOR: #111111;COLOR: #00FF00;font: 8pt Verdana;}
  11. select {BORDER-RIGHT:#00FF00 1px solid;BORDER-TOP:#00FF00 1px solid;BORDER-LEFT:#00FF00 1px solid;BORDER-BOTTOM: #00FF00 1px solid;BACKGROUND-COLOR: #111111;COLOR: #00FF00;font: 8pt Verdana;}
  12. submit {BORDER-RIGHT:buttonhighlight 2px outset;BORDER-TOP:buttonhighlight 2px outset;BORDER-LEFT:buttonhighlight 2px outset;BORDER-BOTTOM: buttonhighlight 2px outset;BACKGROUND-COLOR: #000099;COLOR: #FFFF00;width: 30%;}
  13. textarea {BORDER-RIGHT:#00FF00 1px solid;BORDER-TOP:#00FF00 1px solid;BORDER-LEFT:#00FF00 1px solid;BORDER-BOTTOM: #00FF00 1px solid;BACKGROUND-COLOR: #111111;COLOR: #00FF00;font: Fixedsys bold;}
  14. BODY {margin-top: 1px;margin-right: 1px;margin-bottom: 1px;margin-left: 1px;SCROLLBAR-FACE-COLOR: #111111; SCROLLBAR-HIGHLIGHT-COLOR: #111111;SCROLLBAR-ARROW-COLOR: #c5c5c5;SCROLLBAR-BASE-COLOR: #253546;BACKGROUND-COLOR: #000000;}
  15. </STYLE>
  16. <center>
  17. <div class="jaya">BlackHat - Dr.L0v3</div>
  18. <form method="post"><br>
  19. <textarea class='inputz' cols=80 rows=10 name="code"></textarea><br><br>
  20. <select class='inputz' size="1" name="ope">
  21. <option value="urlencode">url</option>
  22. <option value="base64">Base64</option>
  23. <option value="ur">convert_uu</option>
  24. <option value="json">json</option>
  25. <option value="gzinflates">gzinflate - base64</option>
  26. <option value="str2">str_rot13 - base64</option>
  27. <option value="gzinflate">str_rot13 - gzinflate - base64</option>
  28. <option value="gzinflater">gzinflate - str_rot13 - base64</option>
  29. <option value="gzinflatex">gzinflate - str_rot13 - gzinflate - base64</option>
  30. <option value="gzinflatew">str_rot13 - convert_uu - url - gzinflate - str_rot13 - base64 - convert_uu - gzinflate - url - str_rot13 - gzinflate - base64</option>
  31. <option value="str">str_rot13 - gzinflate - str_rot13 - base64</option>
  32. <option value="url">base64 - gzinflate - str_rot13 - convert_uu - gzinflate - base64</option>
  33. <option value="gzpress">gzcompress - base64</option>
  34. </select>&nbsp;<br><br><input class='inputzbut' type='submit' name='submit' value='Encode'>
  35. <input class='inputzbut' type='submit' name='submits' value='Decode'>
  36. </form>
  37.  
  38. <?php
  39. $submit = $_POST['submit'];
  40. if (isset($submit)){
  41. $op = $_POST["ope"];
  42. switch ($op) {case 'base64': $codi=base64_encode($text);
  43. break;case 'str' : $codi=(base64_encode(str_rot13(gzdeflate(str_rot13($text)))));
  44. break;case 'json' : $codi=json_encode(utf8_encode($text));
  45. break;case 'gzinflate' : $codi=base64_encode(gzdeflate(str_rot13($text)));
  46. break;case 'gzinflater' : $codi=base64_encode(str_rot13(gzdeflate($text)));
  47. break;case 'gzinflatex' : $codi=base64_encode(gzdeflate(str_rot13(gzdeflate($text))));
  48. break;case 'gzinflatew' : $codi=base64_encode(gzdeflate(str_rot13(rawurlencode(gzdeflate(convert_uuencode(base64_encode(str_rot13(gzdeflate(convert_uuencode(rawurldecode(str_rot13($text))))))))))));
  49. break;case 'gzinflates' : $codi=base64_encode(gzdeflate($text));
  50. break;case 'str2' : $codi=base64_encode(str_rot13($text));
  51. break;case 'urlencode' : $codi=rawurlencode($text);
  52. break;case 'ur' : $codi=convert_uuencode($text);
  53. break;case 'url' : $codi=base64_encode(gzdeflate(convert_uuencode(str_rot13(gzdeflate(base64_encode($text))))));
  54. break;case 'gzpress' : $codi=base64_encode(gzcompress($text));
  55. break;default:break;}}
  56.  
  57. $submit = $_POST['submits'];
  58. if (isset($submit)){
  59. $op = $_POST["ope"];
  60. switch ($op) {case 'base64': $codi=base64_decode($text);
  61. break;case 'str' : $codi=str_rot13(gzinflate(str_rot13(base64_decode(($text)))));
  62. break;case 'json' : $codi=utf8_decode(json_decode($text));
  63. break;case 'gzinflate' : $codi=str_rot13(gzinflate(base64_decode($text)));
  64. break;case 'gzinflater' : $codi=gzinflate(str_rot13(base64_decode($text)));
  65. break;case 'gzinflatex' : $codi=gzinflate(str_rot13(gzinflate(base64_decode($text))));
  66. break;case 'gzinflatew' : $codi=str_rot13(rawurldecode(convert_uudecode(gzinflate(str_rot13(base64_decode(convert_uudecode(gzinflate(rawurldecode(str_rot13(gzinflate(base64_decode($text))))))))))));
  67. break;case 'gzinflates' : $codi=gzinflate(base64_decode($text));
  68. break;case 'str2' : $codi=str_rot13(base64_decode($text));
  69. break;case 'urlencode' : $codi=rawurldecode($text);
  70. break;case 'ur' : $codi=convert_uudecode($text);
  71. break;case 'url' : $codi=base64_decode(gzinflate(str_rot13(convert_uudecode(gzinflate(base64_decode(($text)))))));
  72. break;case 'gzpress' : $codi=gzuncompress(base64_decode($text));
  73. break;default:break;}}
  74. $html = htmlentities(stripslashes($codi));
  75. echo "<from><center><h3>RESULT</h3></center><textarea cols=80 rows=10 class='inputz' readonly>".$html."</textarea><BR/><BR/><h2>Special Thank's to : SlaX</h2></center></from>";
  76. ?>
Advertisement
Add Comment
Please, Sign In to add comment