Convert JSFu*k code back to JavaScript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Convert JSFu*k code back to JavaScript

Is it possible to revert the JsFu*k code back to normal Javascript code by any method. I saw some posts from Google, it only shows to run the code and thay are calling it JSUnFu*k Tool? Example of obfuscated code: ``some jsf**k code.``` Expected deobfuscated output: console.log("hi") I have this code. Is it possible to deobfuscate it to normal Javascript? https://code.sololearn.com/c9ELyQpI5XZn/?ref=app

2nd Dec 2020, 11:01 AM
Bibek Oli
Bibek Oli - avatar
2 Answers
+ 1
https://jspenguin2017.github.io/JavaScriptAnalyzer/ Method 2 of this tool worked for me when I used a code generated by http://www.jsfuck.com Note from that webpage: """ Might not work with JSFuck-like code that is not created from http://www.jsfuck.com/ Also might not work if the code evaluates to undefined or other weird things. """
2nd Dec 2020, 12:36 PM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
0
🇮🇳Omkar🕉 if the code is: alert(1), it will alert 1 which is not the result I expected. I wish if it could be converted to "alert(1)" which is the original code.
2nd Dec 2020, 2:38 PM
Bibek Oli
Bibek Oli - avatar