{"id":23088324,"url":"https://github.com/aziz0x48/xsmtp","last_synced_at":"2025-08-16T07:31:33.577Z","repository":{"id":143456593,"uuid":"537394202","full_name":"aziz0x48/xSMTP","owner":"aziz0x48","description":"xSMTP 🦟 Lightning fast, multithreaded smtp scanner targeting open-relay and unsecured servers in multiple network ranges.","archived":false,"fork":false,"pushed_at":"2023-06-03T18:51:19.000Z","size":4284,"stargazers_count":64,"open_issues_count":0,"forks_count":31,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-17T05:29:28.538Z","etag":null,"topics":["bot","crawler","exploit","exploit-scanner","multithreading","networking","pentest-tool","pentesting","pentesting-tools","portscan","portscanner","python","python-exploits","scanner-web","security","security-tools","smtp","smtp-cracker"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aziz0x48.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-09-16T09:39:11.000Z","updated_at":"2024-08-23T07:41:19.000Z","dependencies_parsed_at":"2023-07-06T13:45:51.692Z","dependency_job_id":null,"html_url":"https://github.com/aziz0x48/xSMTP","commit_stats":{"total_commits":21,"total_committers":2,"mean_commits":10.5,"dds":0.1428571428571429,"last_synced_commit":"f625b916316e6d340d25d57eda4e75630da6c37a"},"previous_names":["azizz98/xsmtp","aziz0x48/xsmtp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aziz0x48%2FxSMTP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aziz0x48%2FxSMTP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aziz0x48%2FxSMTP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aziz0x48%2FxSMTP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aziz0x48","download_url":"https://codeload.github.com/aziz0x48/xSMTP/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230019808,"owners_count":18160602,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","crawler","exploit","exploit-scanner","multithreading","networking","pentest-tool","pentesting","pentesting-tools","portscan","portscanner","python","python-exploits","scanner-web","security","security-tools","smtp","smtp-cracker"],"created_at":"2024-12-16T20:16:30.131Z","updated_at":"2024-12-16T20:16:30.579Z","avatar_url":"https://github.com/aziz0x48.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003ca href=\"https://github.com/c99tn/xSMTP\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/c99tn/xSMTP/main/bin/xsmtp.png\" alt=\"\" width=\"300\" height=\"200\"\u003e\u003c/a\u003e\n  \u003cbr\u003e \n  xSMTP\n  \u003cbr\u003e\n\u003c/h1\u003e\n\u003ch4 align=\"center\"\u003exSMTP :mosquito: The One And Only Open-Relay SMTP Servers Scanner Tool On Github \u003c/h4\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/c99tn/xSMTP\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-MIT-orange\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/c99tn/xSMTP\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/release-v1.2-blue\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/c99tn/xSMTP\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/python-3.10-green\"\u003e\n  \u003c/a\u003e\n    \u003ca href=\"https://github.com/c99tn/xSMTP\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/build-passing-brightgreen\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003c!-- ![Screenshot from xSMTP sep16,2022](https://github.com/c99tn/xSMTP/blob/main/bin/screenshot.png?raw=true) --\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"#requirements-wrench\"\u003eRequirements\u003c/a\u003e ◦ \n\u003ca href=\"#installation-package\"\u003eInstallation\u003c/a\u003e ◦ \n\u003ca href=\"#usage--rescue_worker_helmet\"\u003eUsage\u003c/a\u003e ◦\n\u003ca href=\"#disclaimer-bangbang\"\u003eDisclaimer\u003c/a\u003e ◦\n\u003ca href=\"#contact--speech_balloon\"\u003eContact\u003c/a\u003e\n\u003c/p\u003e\n\n**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 ( \u003ca href=\"\"\u003eipinfo.io\u003c/a\u003e and \u003ca href=\"\"\u003eapi.hackertarget.com\u003c/a\u003e ) where all the IP Ranges of the website's ASN will be fetched and saved in ranges.txt file.\n\nwith 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!\n\nobtained smtp will be in the following format:\n```\nIP:PORT\n\n51.223.x.x:25\n52.23.x.x:587\n```\nwhere the ip represents the smtp host followed by the smtp port, \u003cins\u003eno auth or TLS connection is required\u003c/ins\u003e , so you can set those off while sending with these smtps (if required by sending software set security to auto)\n\nexample of sending an email with open relay SMTP:\n\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://github.com/c99tn/xSMTP/blob/main/bin/test.gif?raw=true\"\u003e\u003c/p\u003e\n  \n\n# Requirements :wrench:\n- Python v3.x+\n- RDP/VPS ( \u003cb\u003eOptional - suitable for scanning massive networks 5M Hosts +\u003c/b\u003e )\n\n# Installation :package:\n## Debian based systems:\n```\n$ sudo apt-get update \u0026\u0026 sudo apt-get install python3 python3-pip -y\n$ git clone https://github.com/c99tn/xSMTP\n$ cd xSMTP/\n$ python3 -m pip install -r requirements.txt\n```\n## macOS / OSX:\n```\n$ brew install python3\n$ git clone https://github.com/c99tn/xSMTP\n$ cd xSMTP/\n$ python3 -m pip install -r requirements.txt\n```\n## Windows:\n```\n- Download and install python\n- Download or clone the repo\n- cd xSMTP/\n- pip install requirements.txt\n- py xsmtp.py\n```\n# Usage  :rescue_worker_helmet:\n## Start xSMTP with python3\n```\npython3 xsmtp.py\n```\n## Get IP Ranges from Website ASN\n```\n\u003e 1\nEnter a website url:\n\u003e some-domain.com\n```\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/c99tn/xSMTP/main/bin/option1.gif\"\u003e\u003c/p\u003e\n\n\n\n## Check IP Ranges\n```\n\u003e 2   \n[1] - Listen For Recommended Ports [2525,587]\n[2] - Listen For All Ports [25,2525,465,587]\n\u003e 1\nHow many threads to use ?\n(Recommended : 50)\n\u003e 50\n```\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/c99tn/xSMTP/main/bin/option2.gif\"\u003e\u003c/p\u003e\n\n\n\n## Scan SMTP\n```\n\u003e 3\nEnter your email \n\u003e dpr@priv8toolz.com\nEnter Threads\n\u003e 50\n```\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/c99tn/xSMTP/main/bin/option3.gif\"\u003e\u003c/p\u003e\n\n\n\n# Contact  :speech_balloon:\nGot a question ?  \nsend me a dm on \u003ca href=\"https://t.me/dpr52\"\u003eTelegram\u003c/a\u003e\n\n# Disclaimer :bangbang:\nxSMTP Bot was created for educational purposes only, Any actions and/or activities done using this bot is solely your responsibility.\n\n## :ringed_planet: Join Our Channel To be Notified of Updates and New Releases :ringed_planet:\n\n\u003cbr\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://t.me/+7wraokmFiCcxOTk0\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/c99tn/Randoms/master/telegram_button_icon_151837.png?token=GHSAT0AAAAAABVX6V7OOUCJTCCDNVAXPHCMYYIHTNA\" width=\"200\" height=\"50\"\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\n\n# Legal\nCopyright (c) 2022 by @c99tn. Some rights reserved.   \nxSMTP is under the terms of the MIT License, following all clarifications stated in the license file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faziz0x48%2Fxsmtp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faziz0x48%2Fxsmtp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faziz0x48%2Fxsmtp/lists"}