Skip to content

Talkhestani/v2ray-panel-scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IP Range Panel Scanner

A simple multi-threaded Python tool to scan IP ranges and CIDR blocks for HTTP panels running on a specified port. The scanner checks if a panel responds with HTTP 200 status and logs found IPs.


Features

  • Supports loading IP ranges in two formats:
    • CIDR notation (e.g., 2.84.0.0/14)
    • IP range with dash (e.g., 46.4.0.0 - 46.4.255.255)
  • Validates IP inputs and ranges
  • Multi-threaded scanning with concurrency control via Semaphore
  • Thread-safe console output with color-coded messages
  • Saves successful panel IPs to panels.txt
  • Timeout and error handling for network requests

Requirements

  • Python 3.6+
  • Modules:
    • requests
    • colorama

You can install dependencies via pip:

pip install requests colorama

Usage

  1. Prepare a text file named range.txt in the same directory, listing IP ranges or CIDRs, one per line, e.g.:

    46.4.0.0 - 46.4.255.255
    2.84.0.0/14
    
  2. Run the scanner:

    python scanner.py
  3. Wait for the scan to complete. Found panels will be saved in panels.txt.


Notes

  • The default port scanned is 65432. Modify DEFAULT_PORT variable in the code if needed.
  • Maximum concurrent threads is limited to 10 by default; you can change max_threads in the code.
  • The scanner makes HTTP requests, so ensure you have network access and proper permissions.

License

This project is provided as-is for educational and personal use.

About

V2ray panel scanner for brute force

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages