Created
June 2, 2015 09:11
-
-
Save vthibault/bb30dcda2f61dc6addbf to your computer and use it in GitHub Desktop.
Revisions
-
vthibault created this gist
Jun 2, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,32 @@ <!DOCTYPE html> <html> <head> <title>Hacking Javascript2img.com</title> <style type="text/css"> body { font-family:Arial; } textarea { width:100%; height:300px; } button { padding:20px; width:150px; height:50px; margin-top:20px; margin-bottom:20px; } </style> </head> <body> <h1>Reverse obfuscated script from Javascript2img.com</h1> <h2>Enter your obfuscated code</h2> <textarea class="from"></textarea> <button>Reverse</button> <h2>Result</h2> <textarea class="out"></textarea> </body> <script> document.querySelector('button').addEventListener('click', function(){ function Function(a, b){ return function(c){ return b ? window.Function(a,b)(c) : (document.querySelector('.out').value = a); }; } eval(document.querySelector('.from').value); }, false); </script> </html>