GithubHelp home page GithubHelp logo

5l1v3r1 / xsmtp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azizz98/xsmtp

0.0 1.0 0.0 4.17 MB

xSMTP ๐ŸฆŸ Lightning fast, multithreaded smtp scanner targeting open-relay and unsecured servers in multiple network ranges.

License: MIT License

Python 100.00%

xsmtp's Introduction


VulnX
xSMTP

xSMTP ๐ŸฆŸ The One And Only Open-Relay SMTP Servers Scanner Tool On Github

Requirements โ—ฆ Installation โ—ฆ Usage โ—ฆ Disclaimer โ—ฆ Contact

xSMTP is a lightning fast, multithreaded scanner written in Python, capable of scanning massive network ranges and find open relay and unsecured SMTP servers inside. ranges can be directly setted in the ranges.txt file or gathered by performing an ASN Lookup, the user can input any website in mind and the tool will make an API Call to external third party services ( ipinfo.io and api.hackertarget.com ) where all the IP Ranges of the website's ASN will be fetched and saved in ranges.txt file.

with the gathered ranges, xSMTP generates all available hosts and can perform a very fast check and see if hosts can listen on the most used smtp ports (2525,587..) and saves the good hosts on list.txt file, then a mass SMTP scan can be performed, where the tool will try to send a test email with the hosts gathered in list.txt containing the smtp info in the email body, if the smtp server is open-relay/unsecured!

obtained smtp will be in the following format:

IP:PORT

51.223.x.x:25
52.23.x.x:587

where the ip represents the smtp host followed by the smtp port, no auth or TLS connection is required , so you can set those off while sending with these smtps (if required by sending software set security to auto)

example of sending an email with open relay SMTP:

Requirements ๐Ÿ”ง

  • Python v3.x+
  • RDP/VPS ( Optional - suitable for scanning massive networks 5M Hosts + )

Installation ๐Ÿ“ฆ

Debian based systems:

$ sudo apt-get update && sudo apt-get install python3 python3-pip -y
$ git clone https://github.com/c99tn/xSMTP
$ cd xSMTP/
$ python3 -m pip install -r requirements.txt

macOS / OSX:

$ brew install python3
$ git clone https://github.com/c99tn/xSMTP
$ cd xSMTP/
$ python3 -m pip install -r requirements.txt

Windows:

- Download and install python
- Download or clone the repo
- cd xSMTP/
- pip install requirements.txt
- py xsmtp.py

Usage โ›‘๏ธ

Start xSMTP with python3

python3 xsmtp.py

Get IP Ranges from Website ASN

> 1
Enter a website url:
> some-domain.com

Check IP Ranges

> 2   
[1] - Listen For Recommended Ports [2525,587]
[2] - Listen For All Ports [25,2525,465,587]
> 1
How many threads to use ?
(Recommended : 50)
> 50

Scan SMTP

> 3
Enter your email 
> [email protected]
Enter Threads
> 50

Contact ๐Ÿ’ฌ

Got a question ?
send me a dm on Telegram

Disclaimer โ€ผ๏ธ

vMass Bot was created for educational purposes only, Any actions and or activities done using this bot is solely your responsibility.

๐Ÿช Join Our Channel To be Notified of Updates and New Releases ๐Ÿช


Legal

Copyright (c) 2022 by @c99tn. Some rights reserved.
xSMTP is under the terms of the MIT License, following all clarifications stated in the license file.

xsmtp's People

Watchers

 avatar

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.