Variable | Description |
---|---|
ip-src | Source IP |
ip-dst | Destination IP |
domain | A domain name |
uri | URI |
method | HTTP Method |
user-agent | User Agent |
Creates an http request and response with a random content of a length of 122.
httpconnect:
_plugin: HTTPConnection
method: "GET"
uri: "/index.php"
user-agent: "Mozilla/5.0"
_next: done
Variable | Description |
---|---|
ip-src | Source IP |
ip-dst | Destination IP |
domain | A domain name |
Creates an http request and response with a random content of a length of 122.
httpconnect:
_plugin: HTTPConnection
_next: done
Variable | Description |
---|---|
ip-src | Source IP |
ip-dst | Destination IP |
port-dst | Destination Port |
Send a exchange of SYN followed by RST-ACK between two hosts.
rstack:
_plugin: TcpRst
ip-src: "192.168.0.42"
ip-dst: "192.168.0.1"
port-dst: 9876
_next: done
Generate a valid non-existing domain name. It takes two words from the dictionary, seperates them with a dash and appends a '.com'.
generate:
_plugin: GenerateNewDomain
_next: dnsconnect
This Plugins creates variables from scractch based on the pcraft Taxonomy.
To replace the two variables "ip-dst" and "domain" that any previous plugins may have built, the following can be written:
buildvars:
_plugin: MakeVariables
ip-dst: "1.1.1.1"
domain: "www.example.com"
_next: dnsconnect
Variable | Description |
---|---|
filename | A File name |
Import a PCAP in the current flow.
importphishing:
_plugin: PcapImport
filename: phishing.pcap
replace: {"ip": {"192.168.0.42": "10.0.0.43",
"172.16.32.45": "10.0.0.53",
"192.168.0.12": "192.168.0.254",
}}
_next: done
Variable | Description |
---|---|
domain | A domain name |
Create a DNS Connection towards a domain that was either set in a previous plugin, or being set in the local script scope.
dnsconnect:
_plugin: DNSConnection
_next: done
dnsconnect:
_plugin: DNSConnection
domain: "www.example.com"
_next: done
Variable | Description |
---|---|
ip-src | Source IP |
ip-dst | Destination IP |
Ping and get an ECHO REPLY between two hosts.
ping:
_plugin: Ping
_next: done