• Stars
    star
    111
  • Rank 312,697 (Top 7 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created almost 6 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Jsdir is a Burp Suite extension that extracts hidden paths from js files and beautifies it for further reading.

Jsdir

Jsdir is an Burp Suite extension that extract hidden url paths from js files, beautify it and save for futher/better reading.

The extracted paths are printed on Burp Suite.

The beatified file is saved under db/beautified-files folder.

You can use with Burp Free version

Requirements

  • python 2.7.9 version
  • js-beautifier python library
  • BurpSuite Proxy
  • Any ruby version installed

If it's a windows OS need to configure both ruby and python global variables

Linux Instalation:

Assuming that you already have python & pip installed

  1. To install jsbeautifier:
  • Copy and paste in your terminal:
    sudo apt-get install jsbeautifier && pip install jsbeautifier
    

2.Ready to go ! a

Windows Instalation

Assuming that you already installed python

  1. Install jsbeautifier by copying and pasting this in your terminal:
    cd C:\Python27\Scripts\
    pip install jsbeautifier
    
  2. Copy all files and folders of this repo and paste inside C:\Python27\Scripts folder

If it's a windows OS need to configure both ruby and python global variables

Usage

Import this extension in Extender Tab of Burp Suite.

  • If you are a linux user, please use bs_jsscrapper_linux file
  • If you are a windows user, please use bs_jsscrapper file

Then when you see an Js file in any response of any server inside Burp Suite,

Just click on it with the right button and choose "Send to Js scrapper" option.

Go to extender tab and see the results. Example output:

My image

Notes

Please feel free to help me improve this tool. Thank you Jobert.

Lopseg