Skip to content

0xPrial/JSParser

 
 

Repository files navigation

JSParser

A python3 script using Tornado and JSBeautifier to parse relative URLs from JavaScript files. Useful for easily discovering AJAX requests when performing security research or bug bounty hunting.

This Tool is created by @nahamsec and I have just done a few changes to make this tool work with MacOs and the latest dependencies.

Orginal Repo: https://github.com/nahamsec/JSParser/

Fix For pycurl error

pip3 uninstall pycurl 
pip3 install --no-cache-dir --global-option=build_ext --global-option="-L/usr/local/opt/openssl/lib" --global-option="-I/usr/local/opt/openssl/include"  pycurl

or

pip3 uninstall pycurl 
pip3 install --compile --install-option="--with-openssl" pycurl

Fix tested on

  • MacOs Catalina
  • Fedora

Dependencies

  • safeurl
  • tornado
  • jsbeautifier

Installing

$ sudo python3 setup.py install

Running

Run handler.py and then visit http://localhost:8008.

$ python3 handler.py

Authors

Inspired By

References

Changelog

1.0 - Release

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 80.0%
  • HTML 10.2%
  • CSS 4.5%
  • JavaScript 4.3%
  • Dockerfile 1.0%