- Saved searches
- Use saved searches to filter your results more quickly
- License
- YaokaiYang-assaultmaster/PythonPortScanner
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- Saved searches
- Use saved searches to filter your results more quickly
- port-scanner
- Here are 188 public repositories matching this topic.
- vesche / scanless
- s0md3v / Silver
- Ekultek / Zeus-Scanner
- abhisharma404 / vault
- AsjadOooO / Zero-attacker
- ritvikb99 / dark-fantasy-hack-tool
- ninijay / pycurity
- alechilczenko / spidex
- V1li / H4X-Tools
- vinitshahdeo / PortScanner
- ReddyyZ / astsu
- ANG13T / netspionage
- Reven8e / multitool
- scivision / findssh
- 7Ragnarok7 / DEDMAP
- stanford-esrg / gps
- NullArray / QuickScan
- Zerogoki00 / minescanner
- ANTONIOPSD / Multi_Open_Port_Scanner
- ajackal / honey-hornet
- Improve this page
- Add this topic to your repo
- Saved searches
- Use saved searches to filter your results more quickly
- License
- blurer/Port-Scanner
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
🎃 Perform a port scanning in native Python code easily!
License
YaokaiYang-assaultmaster/PythonPortScanner
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
For python version >= 3.0, refer to my new project py3PortScanner for a more efficient and elegant implementation that also give you more flexibility in choosing ports to be scanned!
An easy to use Python package that could perform port scanning conveniently.
An output example is showed as following:
- Use git clone https://github.com/YaokaiYang-assaultmaster/PythonPortScanner.git command to clone the repository to your own machine.
- There is 2 methods for you to use this module.
- One is to put PortScanner package in your working directory and import PortScanner to your code. In this way you can only use it in your current working directory.
- The other is to execute python setup.py install in the PortScanner package. In this way it will be installed to your python’s site-packages folder. And after that you can use it globally by import PortScanner .
- Voilà! You are ready to go!
- Add import PortScanner or from PortScanner import PortScanner in your code.
- Initialize a new PortScanner object using scanner = PortScanner.PortScanner() or scanner = PortScanner() . You could also put the list of ports you want to scan (if any) as a python list and pass it as the target_ports argument to the constructor.
- Then call scanner.scan(host_name) to perform scan task.
- Note that the total scan time for a target website is highly related to the timeout value (delay) set for the Scanner object. Thus for the seek of efficiency, the timeout should not be too long.
- Constructor
__init__(self, target_ports=None) takes a list of ports or an int as the argument. If not provided, it will perform scanning task using default ports. If a list is provided, the list will be used as the list of ports being scanned. If a int is provided (this int need to be 50, 100 or 1000), the top 50, 100 or 1000 commonly used ports will be used. - Functions
- scanner.scan(host_name, message = ») is the function need to be called to perform port scanning. It takes 2 arguments.
- host_name is the hostname that is going to be scanned
- message is the message that is going to be included in the scanning packets sent out. This is provided in order to prevent ethical problem. If not provided, no message will be included in the packets.
- limit is the maximum number of threads allowed. The valid limit range is 1 to 50,000. The default value is 1,000.
- delay the time in seconds that a TCP socket waits until timeout. The valid delay range is 1s to 100s. The default value is 10s.
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
port-scanner
Here are 188 public repositories matching this topic.
vesche / scanless
s0md3v / Silver
Mass scan IPs for vulnerable services
Ekultek / Zeus-Scanner
Advanced reconnaissance utility
abhisharma404 / vault
swiss army knife for hackers
AsjadOooO / Zero-attacker
Zero-attacker is an multipurpose hacking tool with over 15+ multifunction tools
ritvikb99 / dark-fantasy-hack-tool
DDOS Tool: To take down small websites with HTTP FLOOD. Port scanner: To know the open ports of a site. FTP Password Cracker: To hack file system of websites.. Banner Grabber: To get the service or software running on a port. (After knowing the software running google for its vulnerabilities.) Web Spider: For gathering web application hacking in…
ninijay / pycurity
alechilczenko / spidex
A little internet crawler
V1li / H4X-Tools
Open source toolkit for scraping, OSINT and more.
vinitshahdeo / PortScanner
A go-to tool for scanning network. Scan all the open ports for a given host with just one click.
ReddyyZ / astsu
A network scanner tool, developed in Python 3 using scapy.
ANG13T / netspionage
Network Forensics CLI utility that performs Network Scanning, OSINT, and Attack Detection
Reven8e / multitool
Simple Penetration Testing Multitool For Beginners.
scivision / findssh
Asyncio concurrent Python finds SSH servers (or other services with open ports) on an IPv4 subnet, WITHOUT NMAP
7Ragnarok7 / DEDMAP
A Network Automation framework focused on Cyber-Security
stanford-esrg / gps
GPS is a scanning platform that learns and predicts the location of IPv4 services across all 65K ports.
NullArray / QuickScan
Port scanning and domain utility.
Zerogoki00 / minescanner
Search for Minecraft servers using masscan
ANTONIOPSD / Multi_Open_Port_Scanner
A simple and fast port scanner.
ajackal / honey-hornet
port scanner & login credential tester
Improve this page
Add a description, image, and links to the port-scanner topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the port-scanner topic, visit your repo’s landing page and select «manage topics.»
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Python script for scanning tcp/udp port(s) on a given host
License
blurer/Port-Scanner
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
Python script for scanning tcp/udp port(s) on a given host
0_network.py — single ip/single port status 1_network.py — all open ports for a single ip
# bl @ bl-arch in ~/projects/Port-Scanner on git:master x [23:05:53] $ ./0_network.py Simple TCP/IP Port Scanner IPv4 Address: 10.1.1.1 TCP/UDP Port: 53 Port 53 Open # bl @ bl-arch in ~/projects/Port-Scanner on git:master x [23:06:00] $ ./0_network.py Simple TCP/IP Port Scanner IPv4 Address: 10.1.1.1 TCP/UDP Port: 443 Port 443 Closed # bl @ bl-arch in ~/projects/Port-Scanner on git:master x [23:07:05] $ ./0_network.py Simple TCP/IP Port Scanner IPv4 Address: 10.1.1.1 TCP/UDP Port: 8443 Port 8443 Open
# bl @ bl-arch in ~/projects/Port-Scanner on git:master x [20:54:12] $ ./1_network.py ------------------------------ TCP/IP Port Scanner Shows open ports 1-65535 ------------------------------ IPv4 Address: 10.1.1.7 ------------------------------ Port 22 Open Port 111 Open Port 3128 Open Port 8006 Open ------------------------------