Skip to content

Lightweight multithread portscanner for use in CTF events. Versions with and without colorama.

License

Notifications You must be signed in to change notification settings

grag1337/Multithread-Portscanner

Repository files navigation

Lightweight Multithreaded Portscanner

Written in Python

Report Bug . Request Feature

About The Project

There comes a time in any persons' life when they decide that nmap is beyond them and that they must create their own port-scanning tool. Today I have unfortunately reached this conclusion too. After a series of events I have been pushed towards creating this tool, not made for you, made for me. Featureless and bland, this port-scanner does everything every other port scanner can do, and less!

It's only good quality is that it's almost lightweight! Throw this onto your favorite compromised server and enumerate the shit out of all internal services!

You're free to add suggestions and modify this as you wish though.

Built With

Python3

Getting Started

Now you may be wondering, how can I run this outstanding piece of code on my own device!? Here's how.

Prerequisites

  • Python3
$ sudo add-apt-repository ppa:deadsnakes/ppa
$ sudo apt-get update
$ sudo apt-get install python3.8

Installation

  1. Clone the repo
git clone https://github.com/grag1337/multithread-Portscanner.git
  1. (Optional) Install Colorama
sudo pip3 install colorama
  1. Run the bad boy.
chmod +x scanner.py
./scanner.py

Usage

Run the script with

./scanner.py -h 

To get a list of functions.

Known Issues

If you're recieving the error:

OSError: [Errno 24] Too many open files

You may have to increase your open file limit, this can be done by entering ulimit -Sn <DESIRED NUMBER>

To fix this issue on my machine, I set my ulimit to 10000 and it no longer throws the error when scanning up to 65535.

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  • If you have suggestions for adding or removing projects, feel free to open an issue to discuss it, or directly create a pull request after you edit the README.md file with necessary changes.
  • Please make sure you check your spelling and grammar.
  • Create individual PR for each suggestion.
  • Please also read through the Code Of Conduct before posting your first idea as well.

Creating A Pull Request

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Authors

  • Grag1337 - Cyber Security Student - Grag1337

Acknowledgements

About

Lightweight multithread portscanner for use in CTF events. Versions with and without colorama.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages