VanGans

obfuscator

Oct 30th, 2018
1,553
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.69 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.     <head>
  4.         <meta charset="UTF-8" />
  5.         <meta name="about" content="For Obfuscating Php Code Given" />
  6.             <meta name="author" content="SadCode, VanGans" />
  7.             <meta name="description" content="For Obfuscating the Php Code given" />
  8.             <meta name="keywords" content="Obfuscator, index.php, Tool" />
  9.             <meta http-equiv="refresh" content=""><!-- For Refreshing The Page After ____ intervals of time -->
  10.         <meta name="revisit-after" content="1 days" />
  11.         <meta name="language" content="en" />
  12.         <meta content='general' name='rating' />
  13.         <meta content='google' name='generator' />
  14.         <meta content='follow,all' name='msnbot' />
  15.         <meta content='follow,all' name='alexabot' />
  16.         <meta content='pakistan' name='geo.placename' />
  17.         <meta content="index,follow,all" name="googlebot" />
  18.         <meta http-equiv="X-UA-Compatible" content="IE-edge" />
  19.         <meta name="viewport" content="width=device-width, initial-scale=1" />
  20.         <meta name='search engines' content='Aeiwi,Alexa,AllTheWeb,AltaVista,AOLNetfind,Anzwers,Canada,DirectHit,EuroSeek,Excite,Overture,Go,Google,HotBot InfoMak,Kanoodle,Lycos,MachineSite,National Directory,Northern Light,SearchIt,SimpleSearch,WebsMostLinked,WebTop,What-U-Seek,AOL,Yahoo,WebCrawler,Infoseek,Excite,Magellan,LookSmart,bing,CNET,Googlebot' />
  21.         <style>
  22.             body {
  23.                 background-color: black;
  24.             }
  25.             textarea {
  26.                 color: white;
  27.                 font-size: 100%;
  28.                 font-weight: bold;
  29.                 font-family: cursive;
  30.                 border-left: black;
  31.                 border-right: black;
  32.                 border-style: groove;
  33.                 background-color: black;
  34.             }
  35.             input {
  36.                 color: white;
  37.                 font-family: cursive;
  38.                 border-left: black;
  39.                 border-right: black;
  40.                 border-style: groove;
  41.                 background-color: black;
  42.             }
  43.             select {
  44.                 color: white;
  45.                 font-size: 100%;
  46.                 font-weight: bold;
  47.                 font-family: cursive;
  48.                 border-left: black;
  49.                 border-right: black;
  50.                 border-style: groove;
  51.                 background-color: black;
  52.             }
  53.             option {
  54.                 color: white;
  55.                 font-size: 100%;
  56.                 font-weight: bold;
  57.                 font-family: cursive;
  58.                 border-left: black;
  59.                 border-right: black;
  60.                 border-style: groove;
  61.                 background-color: black;
  62.             }
  63.             footer {
  64.                 font-family: cursive;
  65.                 color: white;
  66.                 font-size: 120%;
  67.                 text-align: center;
  68.                 text-transform: capitalize;
  69.                 position: fixed;
  70.                 bottom: 1vh;
  71.                 left: 0vh;
  72.                 right: 0vh;
  73.             }
  74.             a {
  75.                 text-decoration: none;
  76.                 color: white;
  77.             }
  78.             a:hover {
  79.                 color: red;
  80.             }
  81.             /*
  82.             a:visited {
  83.                 color: pink;
  84.             }
  85.             */
  86.             .heading {
  87.                 margin-top: 1vh;
  88.                 color: red;
  89.                 font-family: cursive;
  90.                 font-size: 300%;
  91.                 text-align: center;
  92.             }
  93.             .subheading {
  94.                 margin-top: 1vh;
  95.                 color: white;
  96.                 font-family: Comic Sans Ms;
  97.                 font-size: 170%;
  98.                 text-align: center;
  99.                 text-transform: capitalize;
  100.             }
  101.             .input {
  102.                 margin-top: 10vh;
  103.                 text-align: center;
  104.             }
  105.         </style>
  106.     </head>
  107.  
  108.     <body>
  109.         <div class="heading">
  110.             <font>Php Obfuscator</font>
  111.         </div>
  112.         <div class="subheading">
  113.             <font>It obfuscates the given php code :-)</font>
  114.         </div>
  115.         <div class="input">
  116.             <form action="" method="POST">
  117.                 <textarea rows="9" cols="85" type="text" name="php" placeholder="Input Php Code Here"></textarea><br><br>
  118.                 <select name="option">
  119.                     <option>Weak Obfuscation</option>
  120.                     <option>Medium Level Obfuscation</option>
  121.                     <option>Strong Obfuscation</option>
  122.                 </select><br><br>
  123.                 <input type="submit" name="submit" value="Submit" /><br><br>
  124.                 <?php
  125.                     if (isset($_POST['submit'])) {
  126.                     $phpcode = $_POST['php'];
  127.                         if (!empty($phpcode)) {
  128.                             $option = htmlspecialchars($_POST['option']);
  129.                             $final = strrev(base64_encode(gzdeflate(gzcompress($phpcode))));
  130.                             $obfuscated_code = $final;
  131.                             switch ($option) {
  132.                                 case 'Weak Obfuscation':
  133.                                     echo '
  134. <textarea rows="9" cols="85">
  135. <?php
  136. /*
  137.             Code Successfully Obfuscated By tools.sadcode.org Obfuscator :-)
  138.                                     Thanks For Using :D
  139. */
  140. $ObFus_Sad = "ZXZhbCgnPz4nLmd6dW5jb21wcmVzcyhnemluZmxhdGUoYmFzZTY0X2RlY29kZShzdHJyZXYoJFNhZF9UbzBMcykpKSkpOw";
  141. $Sad_To0Ls = "'.$obfuscated_code.'";
  142. eval(htmlspecialchars_decode(urldecode(base64_decode($ObFus_Sad))));
  143. exit;
  144. ?></textarea>
  145. ';
  146.                                 break;
  147.                                 case 'Medium Level Obfuscation':
  148.                                     $obfuscate_medium_level = strrev(base64_encode(gzdeflate(gzdeflate(gzcompress($phpcode)))));
  149.                                     echo '<textarea rows="9" cols="85">
  150. <?php
  151. /*
  152.             Code Successfully Obfuscated By tools.sadcode.org Obfuscator :-)
  153.                                     Thanks For Using :D
  154. */
  155. $ObFus_Sad = "ZXZhbCgnPz4nLmd6dW5jb21wcmVzcyhnemluZmxhdGUoZ3ppbmZsYXRlKGJhc2U2NF9kZWNvZGUoc3RycmV2KCRTYWRfVG8wTHMpKSkpKSk7";
  156. $Sad_To0Ls = "'.$obfuscate_medium_level.'";
  157. eval(htmlspecialchars_decode(urldecode(base64_decode($ObFus_Sad))));
  158. exit;
  159. ?></textarea>
  160. ';
  161.                                 break;
  162.                                 case 'Strong Obfuscation':
  163.                                 $obfuscate_high_level = strrev(base64_encode(gzdeflate(gzdeflate(gzdeflate(gzcompress(gzcompress($phpcode)))))));
  164.                                     echo '<textarea rows="9" cols="85">
  165. <?php
  166. /*
  167.             Code Successfully Obfuscated By tools.sadcode.org Obfuscator :-)
  168.                                     Thanks For Using :D
  169. */
  170. $ObFus_Sad = "ZXZhbCgiPz4iLmd6dW5jb21wcmVzcyhnenVuY29tcHJlc3MoZ3ppbmZsYXRlKGd6aW5mbGF0ZShnemluZmxhdGUoYmFzZTY0X2RlY29kZShzdHJyZXYoJFNhZF9UbzBMcykpKSkpKSkpOw";
  171. $Sad_To0Ls = "'.$obfuscate_high_level.'";
  172. eval(htmlspecialchars_decode(urldecode(base64_decode($ObFus_Sad))));
  173. exit;
  174. ?></textarea>
  175. ';
  176.                                 break;
  177.                             }
  178.                         }
  179.                     }
  180.                 ?>
  181.             </form>
  182.         </div>
  183.         <div class="footer">
  184.             <footer>
  185.                 <font>Developed By <a href="https://www.google.com/search?q=SadCode Official" target="_blank">SadCode</a></font>
  186.             </footer>
  187.         </div>
  188.     </body>
  189. </html>
Advertisement
Add Comment
Please, Sign In to add comment