• Stars
    star
    110
  • Rank 315,323 (Top 7 %)
  • Language
    JavaScript
  • Created over 5 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Online Javascript Deobfuscator Tool

Javascript Deobfuscator

Need to edit an obfuscated Javascript? This repo is the way to de-obfuscate any kind of obfuscated Javascript, especially if it comes from automatic tools like https://obfuscator.io/.

Because obfuscation varies wildly in the internet, the process is not automatic. It won't give you one-click-and-it-done but instead it gives you a script editor with tools necessary to deobfucate any kind of javascript (provided you also familiar with how JS works of course).

Your work is automatically saved to SessionStorage so don't worry about accidental refresh or page navigation.

The Editor

This tool uses Monaco. The editor that powers VSCode. It itself can do Find + Replace, Undo + Redo, Syntax + Error highlighting, unused variables detection, and other neat stuff.

Formatting Tools

All formatting tools affects selected text, or all text in editor if none selected.

Format Document

Beautify javascript for all text in editor.

You should format your document first before doing other tasks so it reduces chance of your code become corrupt.

Simplify String simplifyString()

This reformats string '' and "". Example "\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74" becomes "use strict".

Currently doesn't work with literal string. Also, it uses regex, so beware with complex string (e.g. '\'').

Simplify Number simplifyNumber()

This reformats hex number. Example 0xff becomes 255.

Simplify Object Access simplifyAccess()

This reformats object access. Example document["body"]["style"]["color"]="black"; becomes document.body.style.color="black";

Simplify Hex Name simplifyHex()

This renames all variables _0x[Hex code] to it's shorter name (a, b, c, etc.).

Beware that this method isn't 100% safe. It can't detect any variable name collision yet.

Evaluation Tools

This is a powerful tool to let you evaluate javascript code and reveal it's hidden content.

It's advised for you to open Browser Console (Ctrl+Shift+I, tab Console) for helpful information.

Push evalPush() and Pop evalPop()

Push selected text to "code stack", or pop it.

It means to be used with eval buttons (explained below). These buttons does nothing on it's own.

Pushing to code stack means if there's line A then you push B, then the current stack will be A\nB (A followed by B in next line).

Eval Selected evalStr()

Evaluate selected code along with current variables stack on. If it returns any valid JSON value (includes array and object) it will replaces the selected code.

A practical example is like this:

var foo = {'baz' => 'bar'};
var result = foo['baz'];

If you push the first line to stack and then evalStr the text foo['baz'], it will replaced as "bar".

Eval Auto evalAuto()

Harnessing the power of regex, this "intelligently" replaces any "captured" variable in the selected code, like if you do evalStr on each one of them. If it used correctly it will definitely saves you a lot of time.

The captured variables are based on the current stack. It will detect all var/const/let. If the evaluation returns string or number, it will be replaced.

Sync Vars syncVar()

Select a word variable and any derived variable names will be magically recusively replaced. Example select foo and then let bar = foo; let baz = bar; console.log(baz) will simply become console.log(foo). Combined with evalAuto both are destructive yet very time saving operation.

Hidden Evaluation Tools

These tools are experimental. Although it's useful in certain cases. To access it you need to call the function in browser console.

evalBareStr

Similar like evalStr, but without JSON.stringify. This is useful for extracting code out of eval string, for example.

simplifyStringExp

Similar like simplifyString, but also merges string concatenation (e.g. "foo" + "bar"). Because it's flexibility, it only detects double quote "" right now. Proceed with caution.

simplifyNumberExp

Similar like simplifyNumber, but also merges number operations (e.g. -1 + 2). Because it's flexibility, it only detect regular number. Proceed with caution.

splitVar

Split two or more concatenated const/let/var definitions in a selected single expression. It does not simply naively replace ,, it's aware about array/object presence. Because of that you can't just select multiple functions and expect it gots the effect too. Still kinda useful for readability.

Feel free to requests other operation ideas in Issue Tracker.

More Repositories

1

WebViewHook

Exposed Unity Editor WebView API
C#
117
star
2

MeshDebugger

🌐 First-class Mesh debugging tools for Unity
C#
115
star
3

forward-domain

Forward Domains, completely free and open source.
JavaScript
114
star
4

autobloom

Make Windows 11 Bloom Wallpaper Animated when signing in.
Batchfile
67
star
5

N-Matrix-Programmer

A software to write an optimized code that calculates inverse and determinant of N by N matrix.
C#
41
star
6

Vs2017-LayoutInGUI

Generate CL Argument for Offline Visual Studio 2017 Installation.
C#
26
star
7

Qu3e-Sharp

Lightweight and Simple 3D Open Source Physics Engine ported to C#
C#
25
star
8

secure-localhost

Proxy your specified localhost port to HTTPS, with automatic certificate installation.
JavaScript
19
star
9

Iconizer

Image to Icon Converter with High Quality Output
C#
8
star
10

cms-toolkit-with-coreui

CMS Tookit with CoreUI
PHP
8
star
11

ci4-admin-lte

CodeIgniter4 with Admin LTE 3 Template
PHP
8
star
12

crm-toolkit

Battery-Included CodeIgniter, React, Material-UI Template
PHP
7
star
13

frontgen

Clean Website Builder using CSS Frameworks (WIP)
JavaScript
6
star
14

forger

Website Builder based on Svelte
Svelte
5
star
15

Usink

⚑ Supercharge Unity Editor with hotkeys and functionalities
C#
4
star
16

random-youtube

Watch some random YouTube video!
HTML
3
star
17

Ascii-Painter

.NET Based Text painting tool
C#
3
star
18

IsoCreatorLib

Create ISO Files in .NET (Fork Repository)
C#
3
star
19

Nottorus-Unofficial-Patches

Nottorus Visual Scripting Unofficial Patches
3
star
20

screend

Screen Daemon
Go
3
star
21

udp-hole-lab

JavaScript
2
star
22

Socket-Clipboard

LAN-wide clipboard syncronization tool using .NET TCP socket
C#
2
star
23

engine4-doc

Documentation for Engine4
HTML
2
star
24

forwarddomain.net

forwarddomain.net website 🏑
JavaScript
2
star
25

uas-gitlab-auth

πŸ”‘ Microservice to grant access to GitLab private repo using Asset Store Invoice API.
JavaScript
2
star
26

bandit

πŸ±β€πŸ‘€ The swiss army of hacking tools
JavaScript
1
star
27

url-deconstruct

Extract some information behind URL parameters
JavaScript
1
star
28

PD

Jupyter Notebook
1
star
29

test-gatsby-hmr-bug

JavaScript
1
star
30

yourlifeindots

Your life in a page of black dots (inspired by WBW)
HTML
1
star
31

artiscii

Artistic text creation made fun 😎
JavaScript
1
star
32

bandit-proxy

πŸ”« A dangerous proxy for unrestricted XHR access in browser
JavaScript
1
star
33

willnode.github.io

List of repositories I made
1
star
34

sdit-raport

PHP
1
star
35

uas-public-stat

Custom public statistics for packages in Unity Asset Store
HTML
1
star
36

trunojoyo-assets

JavaScript
1
star
37

strapi-db-query-demo

Demonstrating database transactions in Strapi ✨
JavaScript
1
star
38

Nafza-Faroidh

Aplikasi Desktop untuk Penghitungan Faroidh atau Waris mewaris harta peninggalan menurut Ajaran Islam
C#
1
star
39

Network-Facts

Common C# Network Snippets (with a working WPF Demo)
C#
1
star