# EndExt | Go Tool For Extracting All The Possible Endpoints From The JS Files

**URL:** <https://onehack.st/t/endext-go-tool-for-extracting-all-the-possible-endpoints-from-the-js-files/250056>\
**Category:** Tools & Scripts\
**Tags:** tools, programming, hacking, freebies\
**Created:** [June 25, 2023, 8:31pm UTC](https://onehack.st/t/endext-go-tool-for-extracting-all-the-possible-endpoints-from-the-js-files/250056 "2023-06-25T20:31:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlueHacker](https://onehack.st/user_avatar/onehack.st/bluehacker/32/174721_2.png) [@BlueHacker](https://onehack.st/u/BlueHacker)\
**Post date:** [June 25, 2023, 8:31pm UTC](https://onehack.st/t/endext-go-tool-for-extracting-all-the-possible-endpoints-from-the-js-files/250056/1 "2023-06-25T20:31:21Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/e/4/e4a51d1dfc54960aa152ef0aa470b6957b092651.png)

EndExt  
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](https://github.com/SirBugs/endext.git)  
or download from [https://go.dev/dl/](https://go.dev/dl/)

Usage:  
▶ go run main.go urls.txt

```
           /$$$$$$$$ /$$ /$$$$$$$$ /$$
          | $$ _____/ | $$| $$_____ / | $$
          | $$ /$$$$$$$ /$$$$$$$| $$ /$$ /$$ /$$$$$$
          | $$$$$ | $$ __$$ /$$__ $$| $$$$$ | $$ /$$/|_ $$_/
          | $$ __/ | $$ \ $$| $$ | $$| $$__ / \ $$$$/ | $$
          | $$ | $$ | $$| $$ | $$| $$ >$$ $$ | $$ /$$
          | $$$$$$$$| $$ | $$| $$$$$$$| $$$$$$$$ /$$/\ $$ | $$$$/
          | ________/|__ / | __/ \_______ /| ________/|__ / \ __/ \___ /

                   EndPointExt Tool By @SirBugs .go Version
                         V: 1.0.2 Made With All Love
              For Extracting all possilbe endpoints from Js files
                     Twitter@SirBagoza -- GitHub@SirBugs
                       Run : go run main.go jsurls.txt

```

endpoints/users/password  
sign-in  
endpoints/sign-out  
endpoints/billing/update-billing-info  
endpoints/billing/get-account  
endpoints/billing/create-account  
endpoints/billing/list-subscriptions  
endpoints/billing/create-new-subscription-purchase  
endpoints/billing/create-one-time-payment  
endpoints/billing/get-account  
endpoints/billing/create-account  
endpoints/billing/list-subscriptions  
endpoints/billing/create-new-subscription-purchase  
endpoints/billing/create-one-time-payment

One Line Command:  
▶ echo ‘[target.com](http://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…

## GitHub:

> **[GitHub - SirBugs/endext: EndExt is a .go tool for extracting all the...](https://github.com/SirBugs/endext)**
>
> EndExt is a .go tool for extracting all the possible endpoints from the JS files
