Git Product home page Git Product logo

tprox's Introduction


TProx

TProx is a fast reverse proxy path traversal detector and directory bruteforcer

InstallUsageExamplesJoin Discord


Install Options

From Source

▶  GO111MODULE=on go get -v  github.com/ethicalhackingplayground/tprox/tprox

Docker

▶  git clone https://github.com/ethicalhackingplayground/tprox && cd tprox && docker build -t tprox .

Usage

▶ tprox -h
▶  docker run tprox -h

This will display help for the tool. Here are all the switches it supports.

👉 tprox help menu 👈
Usage of ./tprox:
  -c int
        The number of concurrent requests (default 10)
  -check
        Check if a path/folder/file is internal
  -crawl
        crawl the resolved domain while testing for proxy misconfigs
  -depth int
        The crawl depth (default 5)
  -discover
        Discover path/folder/file with already found traversal
  -o string
        Output the results to a file
  -progress
        This flag will allow you to turn on the progress bar
  -regex string
        Filter crawl with regex pattern
  -scope string
        Specify a scope to crawl with in using regexs
  -silent
        Show Silent output
  -test
        Enable/Disable test mode only
  -traverse
        This flag will allow you to turn on traversing
  -w string
        The wordlist to use against a valid endpoint to traverse

Examples

Traversal with Brute

echo "https://example.com/api/v1" | tprox -w wordlist -traverse

Traversal with Crawling & Brute

echo "https://example.com" | tprox -w wordlist -crawl -traverse

Traversal with Crawling, Regex Match & Brute

echo "https://example.com" | tprox -w wordlist -crawl -traverse -regex "/api/"

Traversal With Crawling InScope & Brute

echo "https://example.com" | tprox -w wordlist -crawl -traverse -regex "/api/" -scope ".*.\.example.com"

Traversal with Test Only

echo "https://example.com/api" | tprox -test -traverse

Check if File is Internal

echo "https://example.com/api/internalfile.html" | tprox -check

Discover Content

echo "https://example.com/api/..%2f" | tprox -discover -progress -w wordlist


example


Changes

  • Added some additional flags to help aid finding traversal misconfigurations
  • Optimised the crawler
  • Added a flag to disable/enable the progress bar
  • Fixed the silent flag
  • Added check,test & discover flags

Fixes

  • Fixed a crawling bug.
  • Fixed a traversal bug, it now only prints internal files & endpoints very low % of false positives.
  • Made some optimization fixes.
  • Discover content fix, it was not finding content.
  • Optimisation fixes.

Known Fixes

if for some reason the program fails to install or update run:

sudo rm -r /home/<user-name>/go/pkg/mod/github.com/ethicalhackingplayground/tprox
go clean --modcache
go clean

Then try and install it again.

License

Tprox is distributed under MIT License

Join Discord

tprox's People

Contributors

ethicalhackingplayground avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

tprox's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.