EndExt — Go Tool For Extracting All The Possible Endpoints From The JS Files.
1 min readJun 30, 2023
EndExt is a .go tool for extracting all the possible endpoints from the JS files
Idea
When you crawll all the JS files from waybackruls for example, or even collecting the JS files urls from your target website’s home source page .. If the website was using API system and you wanna look for all the endpoints in the JS files, cuz u may find something hidden here or there .. That’s why i made this tool .. I give it the JS files urls .. It graps all the possible endpoints or urls or paths in the submitted JS files for me .
Installation
Just need to install go, run:
▶ brew install go
▶ git clone https://github.com/SirBugs/endext.git
or download from https://go.dev/dl/
One Line Command:
▶ echo 'target.com' | waybackurls | tee waybackresults.txt; cat waybackresults.txt | grep "\.js" > js_files.txt; go run main.go js_files.txt
// You can use Gau, HaKrawler, Katana, etc…