All pastes #335857 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-02-01 17:34 UTC
rendered paste body
################# help for tool number 106 #################
Title: Send an email
+------------------------------------------------------------------------+
| This tool sends an email. It connects on a SMTP server.                |
|                                                                        |
| Parameter --from sets From header.                                     |
| Parameter --from-name sets the name of user in From header.            |
| Parameter --subject sets Subject header                                |
| Parameter --file-body is the file containing the body of message.      |
| Parameter --file-att is the file containing the attachment.            |
| Parameter --to sets To header.                                         |
| Parameter --mail-from sets the MAIL FROM SMTP value. If unset, --from  |
| is used.                                                               |
| Parameter --rcpt-to sets the RCPR TO SMTP value. If unset, --to is     |
| used.                                                                  |
| Parameter --dst-ip is the address of remote host/server.               |
| Parameter --dst-port is the port number where to connect.              |
| Optional parameter --src-ip defines the local IP address to use.       |
| Optional parameter --src-port defines the local port number to use.    |
| Optional parameter --ip4opts permits to add IP4 options encoded as     |
| mixed.                                                                 |
| Optional parameter --ip6exts permits to add IP6 options encoded as     |
| mixed (first byte is the next header number).                          |
| Optional parameters --device, --src-eth and --dst-eth permits to       |
| create a virtual client using fake addresses (in this case, tool have  |
| to be run with admin privilege in order to sniff and spoof at          |
| Ethernet level).                                                       |
+------------------------------------------------------------------------+
Usage: netwox 106 -i ip -f email -r email -S data [-B file] [-d device] [-E eth]
 [-e eth] [-I ip] [-P port] [-p port] [-o ip4opts] [-O ip6exts] [-F email] [-R e
mail] [-n data] [-A file] [-T uint32]
Parameters:
 -i|--dst-ip ip                 destination IP address {5.6.7.8}
 -f|--from email                from address {user@example.com}
 -r|--to email                  to address {user2@example.fr}
 -S|--subject data              email subject {hello}
 -B|--file-body file            file containing email body {file-body.txt}
 -d|--device device             device name {Eth0}
 -E|--src-eth eth               source ethernet address {0:2:3:4:5:6}
 -e|--dst-eth eth               destination ethernet address {0:8:9:a:b:c}
 -I|--src-ip ip                 source IP address {10.0.0.1}
 -P|--src-port port             source port number {0}
 -p|--dst-port port             destination port number {25}
 -o|--ip4opts ip4opts           IPv4 options
 -O|--ip6exts ip6exts           IPv6 extensions
 -F|--mail-from email           mail from address {me@example.com}
 -R|--rcpt-to email             rcpt to address {you@example.fr}
 -n|--from-name data            from name
 -A|--file-att file             file containing email attachment {file-att.tgz}
 -T|--timeout uint32            timeout in milliseconds {180000}
Example: netwox 106 -i "5.6.7.8" -f "user@example.com" -r "user2@example.fr" -S                                                                                                    "hello"
Example: netwox 106 --dst-ip "5.6.7.8" --from "user@example.com" --to "user2@exa                                                                                                   mple.fr" --subject "hello"
Press 'r' or 'k' to run this tool, or any other key to continue