Giter VIP home page Giter VIP logo

threader3000's Introduction

Threader3000

Multi-threaded Python Port Scanner with Nmap integration for use on Linux or Windows

Threader3000 is a script written in Python3 that allows multi-threaded port scanning. The program is interactive and simply requires you to run it to begin. Once started, you will be asked to input an IP address or a FQDN as Threader3000 does resolve hostnames. A full port scan can take as little as 15 seconds, but at max should take less than 1 minute 30 seconds depending on your internet connection.

Requirements

Python3 must be installed on your system in order to function Pip3 for installation via PyPi repository

Installation

Installation via Pip

pip3 install threader3000

Run by typing:

threader3000

Install via Git

git clone https://github.com/dievus/threader3000.git #to save the program to your machine, or utilize the download option

You can add Threader3000 to run from any directory by adding a symbolic link:

sudo ln -s $(pwd)/threader3000.py /usr/local/bin/threader3000

FAQ

Can I use this tool to scan Facebook or other websites I don't have permission to scan?

No. That would be illegal. This tool is under a free license for use, however it is up to the user to observe all applicable laws and appropriate uses for this tool. The creator does not condone, support, suggest, or otherwise promote unethical or illegal behavior. You use this tool at your own risk, and under the assumption that you are utilizing it against targets and infrastructure to which you have permission to do so. Any use otherwise is at your peril and against the terms of use for the tool.

Will you please integrate multiple IP addresses and different scanning tools into Threader3000, making it an all-in-one automated scanner?

Not as of current. If you want a tool like that, I suggest AutoEnum.

Will this tool help me pass the OSCP?

This tool, when used correctly, helped me pass the OSCP exam. The OSCP is all about time management and enumeration. I give you a tool that is quick and conducts good single target scanning. It's up to you to use it.

Can I make pull requests with changes that I think are best for Threader3000?

You can, but these will likely be denied. Threader3000 is a tool I wrote to meet my needs in the field, and I've simply shared it with everyone. If you find an issue that causes significant issues, please report it, however changes to code on how a user thinks it should be better written or how the user feels it should function will be denied.

threader3000's People

Contributors

dievus avatar plasticuproject 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

threader3000's Issues

always return 0 result

socket connect always returned me a timeout while nmap returned results. No clue about it.
Did anyone report that issue ?

Pypi installation only allows for python versions 3.8+, even though it will run on versions 3.5+ without issue

Currently in your pypi package setup.py script you only allow for installation on Python versions 3.8 and higher.
So someone running versions < 3.8 cannot install your program with pip even though the program will run on lesser versions without issue.

Since your code is version 3.5+ compliant and a lot of systems still ship with versions < 3.8, you could easily allow it to be downloaded and installed with pip by changing line # 21 from:
'python_requires': '>=3.8,<4.0',
to
'python_requires': '>=3.5',

A suggestion

I thought it would be great to look for vulnerabilities too while using the nmap scan, just to add something like this:

print("\n\n\n\nLooking for vulns at the services we found:")
nmap_vulns = "nmap -p{ports} -sV --script vuln -oA {ip}.vulns {ip}".format(ports=",".join(discovered_ports), ip=target)
print(nmap_vulns)
os.system(nmap_vulns)
t4 = datetime.now()
total2 = t4 - t3
print("-" * 60)
print("Combined scan completed in "+str(total2))

slower when running on windows

Threader3000 is a great tool.

I am amazed at just how fast threader3000 runs its initial scan. I've installed threader3000 on all kinds of Linux hosts with great results in all cases.

Now I have installed threader3000 on a Windows 10 machine, and I notice that the initial nmap scan, which I would expect to take a few seconds, takes 1 minute 41 seconds. I see no output until the scan completes.

Exactly the same symptom for Git Bash and Cygwin terminal windows.

When run from a normal cmd.exe prompt, I get the same result, except that I immediately see the comforting "Port nnn is open..." throughout the duration of the scan.

I have tested nmap.exe (V.7.70) by itself and found that scanning all 65,535 TCP ports on localhost takes 1.76 seconds using the T5 flag. Threader3000's initial nmap scan reliably takes 1 minute 41 seconds to complete on localhost.

This is certainly not a deal-breaker, but I am curious as to why this is happening, and what I might be able to troubleshoot and/or analyze.

OSError

OSError: [Errno 24] Too many open files OSError: [Errno 24] Too many open files File "/usr/lib/python3.10/socket.py", line 232, in __init__ File "/usr/lib/python3.10/socket.py", line 232, in __init__ OSError: [Errno 24] Too many open files File "/usr/lib/python3.10/socket.py", line 232, in __init__ File "/usr/lib/python3.10/socket.py", line 232, in __init__ OSError: [Errno 24] Too many open files OSError: [Errno 24] Too many open files OSError: [Errno 24] Too many open files File "/usr/lib/python3.10/socket.py", line 232, in __init__ File "/usr/lib/python3.10/socket.py", line 232, in __init__ File "/usr/lib/python3.10/socket.py", line 232, in __init__ File "/usr/lib/python3.10/socket.py", line 232, in __init__ File "/usr/lib/python3.10/socket.py", line 232, in __init__ OSError: [Errno 24] Too many open files OSError: [Errno 24] Too many open files OSError: [Errno 24] Too many open files File "/usr/lib/python3.10/socket.py", line 232, in __init__ OSError: [Errno 24] Too many open files OSError: [Errno 24] Too many open files OSError: [Errno 24] Too many open files OSError: [Errno 24] Too many open files OSError: [Errno 24] Too many open files OSError: [Errno 24] Too many open files OSError: [Errno 24] Too many open files OSError: [Errno 24] Too many open files OSError: [Errno 24] Too many open files OSError: [Errno 24] Too many open files

this error appeared :| ,

Problems with scan if no ports found

If the initial scan didn't find any open ports the suggested nmap scan will try to run with the flag -p, but without ports after and will produce an error without running.

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.