Skip to content

Commit 232ec39

Browse files
committed
feat: Enhance error handling and user feedback in deobfuscation and obfuscation handlers
- Added `setDialogMessage` prop to `useDeobfuscationHandlers`, `useObfuscationHandlers`, and `useUtilityHandlers` to replace alert calls with dialog messages for better user experience. - Updated error handling in various decoding and encoding functions to utilize the new dialog message system. - Introduced new components: `Dialog`, `ActionButtons`, `CodeEditorSection`, `DiffEditor`, `Footer`, `Header`, and `Toolbar` to improve UI and UX. - Implemented a responsive layout for code editors and action buttons. - Added a new MIT License file to the project. - Updated comments and variable names for clarity and consistency.
1 parent f11bce6 commit 232ec39

14 files changed

Lines changed: 1134 additions & 619 deletions

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Murr (https://github.com/vtstv)
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# JS Code Deobfuscator / Obfuscator
22

3-
<img width="1995" height="1091" alt="image" src="https://github.com/user-attachments/assets/32a9f43e-293b-4b00-9a10-0c0c89277021" />
4-
53
A powerful React TypeScript application for deobfuscating, obfuscating, and analyzing JavaScript code with advanced security scanning.
64

5+
<img width="2015" height="1171" alt="image" src="https://github.com/user-attachments/assets/d5647d2c-eac0-45be-a8f9-acae0fda2030" />
6+
77
## ✨ Features
88

99
### 🔓 Deobfuscation
@@ -20,7 +20,7 @@ A powerful React TypeScript application for deobfuscating, obfuscating, and anal
2020
- **AAEncode, JJEncode**: Japanese and symbol-based encoding
2121
- **Hex, Unicode, URL, Base64**: Standard encoding methods
2222

23-
### 🛡️ Security Features
23+
### 🛡️ Security Features (WIP)
2424
- **🔒 Malware Scanner**: Detects malicious patterns in JavaScript code
2525
- Identifies base64-encoded eval execution
2626
- Detects dynamic script injection
@@ -83,28 +83,6 @@ npm run build
8383

8484
The compiled static files will be in the `dist/` folder, ready for deployment to any static hosting service.
8585

86-
## 🏗️ Architecture
87-
88-
### Project Structure
89-
```
90-
src/
91-
├── components/ # React components
92-
│ ├── CodeEditor.tsx # Monaco Editor wrapper
93-
│ └── SecurityPanel.tsx # Security scan results UI
94-
├── hooks/ # Custom React hooks
95-
│ ├── useDeobfuscationHandlers.ts
96-
│ ├── useObfuscationHandlers.ts
97-
│ └── useUtilityHandlers.ts
98-
├── utils/ # Core functionality
99-
│ ├── codeTransformer.ts # Main transformation logic
100-
│ ├── encoders.ts # Encoding methods
101-
│ ├── decoders.ts # Decoding methods
102-
│ └── securityScanner.ts # Security analysis
103-
├── i18n/ # Internationalization
104-
│ └── translations.ts
105-
└── theme/ # UI themes
106-
└── theme.ts
107-
```
10886

10987
### Technologies
11088
- **React 18** with TypeScript

0 commit comments

Comments
 (0)