Coder Social home page Coder Social logo

url-sniper's Introduction

url-sniper

url-sniper is a comprehensive tool designed for security researchers, web developers, and IT professionals. It facilitates the exploration and auditing of web domains by checking URL domain paths and subdomains efficiently. Written in Rust, url-sniper offers exceptional speed and reliability, ensuring your web investigations are thorough and effective.

Features

  • Subdomain Discovery: Quickly identifies and lists subdomains related to your target domain.
  • URL Path Checking: Scans for valid and accessible paths within a domain, aiding in uncovering hidden directories or files.
  • Multi-threaded Processing: Utilizes Rust's powerful concurrency features for fast and efficient scans.
  • Custom Status Code Handling: Allows users to specify which HTTP status codes should be considered during scans, enabling focused and customized investigations.
  • Custom Response length Handling: Allows users to specify which response lengths should be considered during scans, enabling focused and customized investigations.
  • Input from File: Enables batch processing of URLs and subdomains through input from a text file, streamlining the workflow for large-scale scans.

Getting Started

Prerequisites

Ensure you have Rust and Cargo installed on your system. If not, visit Rust's installation page for guidance on setting up the Rust toolchain.

Installation

Clone the url-sniper repository to your local machine:

git clone https://github.com/yourgithubusername/url-sniper.git
cd url-sniper

Build the project using Cargo:

cargo build

This command compiles the project and generates an executable in the target/debug directory.

Usage

To run url-sniper, use the following syntax:

cargo run -- [input_file] [your_url] [concurrency_level] [target_status_codes] [response_body_length]
  • input_file: Path to a text file containing URLs or subdomains to check.
  • your_url: The base URL or domain you wish to investigate.
  • concurrency_level (-m): How many threads url-sniper should use concurrently. Higher numbers increase speed but consume more system resources.
  • target_status_codes (-r): The HTTP status codes url-sniper will look for. Common codes include 200 for success or 404 for not found. Can be comma separated (Optional)
  • response_body_length (-c): The response body lengths url-sniper will look for. Can be comma separated (Optional)

Example

cargo run -- test.txt yourdomain.com -m 50 -r 404,500 -c 7548 

This command checks URLs or subdomains listed in test.txt against yourdomain.com, using 50 threads, and ignores paths that return a 404,500 status codes and response body of length 7548.

Contributing

Contributions to url-sniper are welcome! Whether it's feature requests, bug reports, or code contributions, please feel free to make an issue or pull request on GitHub.

License

url-sniper is released under the MIT License.

url-sniper's People

Contributors

ermolushka avatar

Watchers

 avatar

url-sniper'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.