Skip to content
0xmrsecurityPublic

About

This tool finds hidden endpoints across the entire website using js.

Resources

Stars

8 stars

Watchers

0 watching

Forks

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scrad+

A JavaScript bookmarklet that discovers URL endpoints and finds Important keywords in the source code of live websites.

Tip

Updated File Scrad+

Note

Scrad+ has been updated with new features.

Tool Overview

Language: JavaScript  |  Type: Bookmarklet

Features: Endpoint Discovery and Keyword Finder

Objective: Scrad+ scans a page's source code and JavaScript files for URL endpoints using regular expressions. It also flags lines containing keywords such as API keys, Cognito configuration, client IDs and secrets, for manual review.

Features

  • Extracts absolute and root-relative URLs, grouped by path or as external
  • Searches inline scripts, page HTML and loaded script files for keywords
  • Shows each matching line once, with its source and all matched keywords
  • Trims very long (minified) lines around the match
  • Displays results in an overlay on the current page

Proof of Concept

Tested on my own website, 0xmr.qzz.io.

Scrad+ results on the test website

Setup (Firefox)

1. Open the bookmarks sidebar

Press Ctrl + B.

2. Select a bookmark

Pick any existing bookmark to reuse (this example uses Kali Docs). Its URL will be replaced, so don't choose one you need.

Selecting a bookmark

3. Edit the bookmark

Right-click it and choose Edit Bookmark…

Edit Bookmark menu option

4. Add the Scrad+ code

Paste the Scrad+ code into the URL field and rename the bookmark to Scrad.

Pasting the code into the URL field

5. Save and run

Save the bookmark, open a website (for example, 0xmrsecurity.github.io) and click the Scrad bookmark.

Running the Scrad bookmark

6. View the results

The results appear within a few seconds. Pages with many or slow script files can take up to about 15 seconds.

Scrad+ results

Limitations

  • Script files blocked by CORS are skipped.
  • Only scripts present in <script> tags at the time of the scan are fetched.
  • A keyword match is not proof of a vulnerability. Verify each finding manually.

Disclaimer

Warning

Use this tool only on applications you own or have written permission to test.

About

This tool finds hidden endpoints across the entire website using js.

Resources

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages