{"id":25683331,"url":"https://github.com/mikechabot/smtp-email-spoofer-py","last_synced_at":"2025-04-09T12:07:50.213Z","repository":{"id":39610321,"uuid":"143185994","full_name":"mikechabot/smtp-email-spoofer-py","owner":"mikechabot","description":"Python 3.x based email spoofer ","archived":false,"fork":false,"pushed_at":"2024-04-09T20:01:10.000Z","size":51,"stargazers_count":242,"open_issues_count":8,"forks_count":51,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-02T10:12:14.252Z","etag":null,"topics":["email-sender","email-spoofer","python","smtp"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikechabot.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-01T17:12:46.000Z","updated_at":"2025-04-01T07:30:19.000Z","dependencies_parsed_at":"2025-02-24T17:03:08.518Z","dependency_job_id":null,"html_url":"https://github.com/mikechabot/smtp-email-spoofer-py","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikechabot%2Fsmtp-email-spoofer-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikechabot%2Fsmtp-email-spoofer-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikechabot%2Fsmtp-email-spoofer-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikechabot%2Fsmtp-email-spoofer-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikechabot","download_url":"https://codeload.github.com/mikechabot/smtp-email-spoofer-py/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248036067,"owners_count":21037092,"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":["email-sender","email-spoofer","python","smtp"],"created_at":"2025-02-24T16:51:21.788Z","updated_at":"2025-04-09T12:07:50.190Z","avatar_url":"https://github.com/mikechabot.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# smtp-email-spoofer-py\nPython 3.x based email spoofer \n\n\u003e *For educational purposes only. Do not send to or from addresses that you do not own.* \n\n\u003e Email spoofing is often used for spam campaigns and phishing attacks. If you use this tool inappropriately, you could violate of the [CAN-SPAM Act of 2003](https://en.wikipedia.org/wiki/CAN-SPAM_Act_of_2003) and/or the [Computer Fraud and Abuse Act](https://en.wikipedia.org/wiki/Computer_Fraud_and_Abuse_Act). You'd also be committing [wire fraud](https://en.wikipedia.org/wiki/Mail_and_wire_fraud#Wire). **Use your head**.\n\n----\n\n## Table of Contents\n\n- [Getting Started](#getting-started)\n- [Commands](#commands)\n  - [Wizard](#wizard)\n  - [CLI](#cli)\n- [Result](#result)\n\n## \u003ca id=\"getting-started\"\u003eGetting Started\u003c/a\u003e\n\n1. `$ git clone https://github.com/mikechabot/smtp-email-spoofer-py.git`\n3. Activate `virtualenv`\n2. `$ pip install -r requirements.txt`\n3. `$ python spoof.py`\n\n\u003e Instructions on creating and activating `virtualenv` can be found here: https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/\n\n## \u003ca id=\"commands\"\u003eCommands\u003c/a\u003e\n\n`smtp-email-spoofer-py` offers two global commands: [`wizard`](#wizard) and [`cli`](#cli):\n\n```bash\n$ py spoof.py -h\nusage: spoof.py [-h] {wizard,cli} ...\n\nPython 3.x based email spoofer\n\noptional arguments:\n  -h, --help    show this help message and exit\n\ncommands:\n  {wizard,cli}  Allowed commands\n    wizard      Use the step-by-step wizard\n    cli         Pass arguments directly\n```    \n\n----\n\n### \u003ca id=\"wizard\"\u003eWizard\u003c/a\u003e\n\nIssue the `wizard` command to use the step-by-step wizard:\n\n```\n$ py spoof.py wizard\n```\n\n1. Enter the SMTP server information to establish a connection over TLS:\n\n\u003cimg src='https://raw.githubusercontent.com/mikechabot/image-assets/master/email-spoofer-py-tls-session.png' alt='logo' aria-label='https://github.com/mikechabot/email-spoofer-py-tls-session' /\u003e\n\n2. Optionally provide credentials to login to the SMTP server:\n\n\u003cimg src='https://raw.githubusercontent.com/mikechabot/image-assets/master/email-spoofer-py-auth.png' alt='logo' aria-label='https://github.com/mikechabot/email-spoofer-py-auth' /\u003e\n\n3. Compose the forged message:\n\n\u003e Load the HTML message body from a file, or compose it within the shell\n\n\u003cimg src='https://raw.githubusercontent.com/mikechabot/image-assets/master/email-spoofer-py-compose-msg.png' alt='logo' aria-label='https://github.com/mikechabot/email-spoofer-py-compose-msg' /\u003e\n\n4. Send the message:\n\n\u003cimg src='https://raw.githubusercontent.com/mikechabot/image-assets/master/email-spoofer-py-send.png' alt='logo' aria-label='https://github.com/mikechabot/email-spoofer-py-send' /\u003e\n\n----\n\n### \u003ca id=\"cli\"\u003eCLI\u003c/a\u003e\n\nIssue the `cli -h` command to view the help:\n\n```bash\n$ py spoof.py cli -h\nusage: spoof.py cli [-h] (--noauth | --username USERNAME)\n                    [--password PASSWORD] --host HOST --port PORT --sender\n                    SENDER --name NAME --recipients RECIPIENTS\n                    [RECIPIENTS ...] --subject SUBJECT --filename FILENAME\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --noauth              Disable authentication check\n  --username USERNAME   SMTP username\n  --password PASSWORD   SMTP password (required with --username)\n\nrequired arguments:\n  --host HOST           SMTP hostname\n  --port PORT           SMTP port number\n  --sender SENDER       Sender address (e.g. spoofed@domain.com)\n  --name NAME           Sender name (e.g. John Smith)\n  --recipients RECIPIENTS [RECIPIENTS ...]\n                        Recipient addresses (e.g. victim@domain.com ...)\n  --subject SUBJECT     Subject line\n  --filename FILENAME   Message body filename (e.g. example.html)\n```\n\n1. Issue the `cli` command along with the appropriate arguments:\n\n\u003e If `--noauth` is not specified, `--username` and `--password` are required.\n\n\u003cimg src='https://raw.githubusercontent.com/mikechabot/image-assets/master/email-spoofer-py-cli.png' alt='logo' aria-label='https://github.com/mikechabot/email-spoofer-py-cli' /\u003e\n\n----\n\n## Result\n\n\u003cimg src='https://raw.githubusercontent.com/mikechabot/image-assets/master/email-spoofer-py-result.png' alt='logo' aria-label='https://github.com/mikechabot/email-spoofer-py-result' /\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikechabot%2Fsmtp-email-spoofer-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikechabot%2Fsmtp-email-spoofer-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikechabot%2Fsmtp-email-spoofer-py/lists"}