Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fredrikaugust/bulk-renamer
Simple app that allows you to bulk-rename js variables. Useful fo CTFs
https://github.com/fredrikaugust/bulk-renamer
bulk-rename ctf ecmascript javascript open-source-ideas react variable-rename
Last synced: about 2 months ago
JSON representation
Simple app that allows you to bulk-rename js variables. Useful fo CTFs
- Host: GitHub
- URL: https://github.com/fredrikaugust/bulk-renamer
- Owner: FredrikAugust
- License: mit
- Created: 2019-05-16T09:10:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T21:54:21.000Z (about 2 years ago)
- Last Synced: 2024-05-01T13:54:42.631Z (9 months ago)
- Topics: bulk-rename, ctf, ecmascript, javascript, open-source-ideas, react, variable-rename
- Language: JavaScript
- Homepage: https://fredrikaugust.github.io/bulk-renamer
- Size: 1.74 MB
- Stars: 5
- Watchers: 4
- Forks: 1
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bulk renamer for JavaScript
[Link to website](https://fredrikaugust.github.io/bulk-renamer)
This is a very simple program that takes a javscript program, and renames variables sharing the same name, but not representing the same variables into unique names.
This is a common obfuscation pattern in CTFs, and this is my motivation for creating it.
The idea is based upon [the issue submitted by KOLANICH @ open-source-ideas/open-source-ideas](https://github.com/open-source-ideas/open-source-ideas/issues/149).
## How?
1. First, validate the input with ESPrima.
2. Create a span around every character, and allow the user to click on a character to rename the variable under the cursor, and all references to that variable.
3. Regen the code, and show that.
4. Repeast 2. until satisfied, and click generate new code.