Added metadata to existing payloads (#1)
parent
487ab7dc5f
commit
b6ab3cc61f
|
@ -1,5 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# DNSSpoof payload
|
#
|
||||||
|
# Title: DNSSpoof
|
||||||
|
# Description: Forge replies to arbitrary DNS queries using DNSMasq
|
||||||
|
# Author: Hak5
|
||||||
|
# Version: 1.0
|
||||||
|
# Category: interception
|
||||||
|
# Target: Any
|
||||||
|
# Net Mode: NAT
|
||||||
|
|
||||||
|
|
||||||
function setup() {
|
function setup() {
|
||||||
|
@ -14,7 +21,7 @@ function setup() {
|
||||||
cp $(dirname ${BASH_SOURCE[0]})/spoofhost /tmp/dnsmasq.address &> /dev/null
|
cp $(dirname ${BASH_SOURCE[0]})/spoofhost /tmp/dnsmasq.address &> /dev/null
|
||||||
|
|
||||||
# Restart dnsmasq with the new configuration
|
# Restart dnsmasq with the new configuration
|
||||||
/etc/init.d/dnsmasq restart
|
/etc/init.d/dnsmasq restart
|
||||||
}
|
}
|
||||||
|
|
||||||
function run() {
|
function run() {
|
||||||
|
@ -22,7 +29,7 @@ function run() {
|
||||||
LED ATTACK
|
LED ATTACK
|
||||||
|
|
||||||
# Redirect all DNS traffic to ourselves
|
# Redirect all DNS traffic to ourselves
|
||||||
iptables -A PREROUTING -t nat -i eth0 -p udp --dport 53 -j REDIRECT --to-port 53
|
iptables -A PREROUTING -t nat -i eth0 -p udp --dport 53 -j REDIRECT --to-port 53
|
||||||
}
|
}
|
||||||
|
|
||||||
setup
|
setup
|
||||||
|
|
|
@ -1,5 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# OpenVPN payload
|
#
|
||||||
|
# Title: OpenVPN
|
||||||
|
# Description: Create a connection to a VPN-connection to an OpenVPN-server. Optionally: Send traffic from the clients through said tunnel.
|
||||||
|
# Author: Hak5
|
||||||
|
# Version: 1.0
|
||||||
|
# Category: remote-access
|
||||||
|
# Target: Any
|
||||||
|
# Net Mode: BRIDGE, VPN
|
||||||
|
|
||||||
# Set to 1 to allow clients to use the VPN
|
# Set to 1 to allow clients to use the VPN
|
||||||
FOR_CLIENTS=0
|
FOR_CLIENTS=0
|
||||||
|
|
|
@ -1,5 +1,16 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# TCPDump payload v1.0
|
#
|
||||||
|
# Title: TCPDump
|
||||||
|
# Description: Dumps networking-data to USB storage. Completes on button-press or storage full.
|
||||||
|
# Author: Hak5
|
||||||
|
# Version: 1.0
|
||||||
|
# Category: sniffing
|
||||||
|
# Target: Any
|
||||||
|
# Net Mode: TRANSPARENT
|
||||||
|
|
||||||
|
# LEDs
|
||||||
|
# SUCCESS: Dump complete
|
||||||
|
# FAIL: No USB storage found
|
||||||
|
|
||||||
function monitor_space() {
|
function monitor_space() {
|
||||||
while true
|
while true
|
||||||
|
|
|
@ -1,4 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Title: Default Payload
|
||||||
|
# Description: Sets the NETMODE to NAT, then sets the LED to ATTACK
|
||||||
|
# Author: Hak5
|
||||||
|
# Version: 1.0
|
||||||
|
# Category: default
|
||||||
|
# Target: Any
|
||||||
|
# Net Mode: NAT
|
||||||
|
|
||||||
NETMODE NAT
|
NETMODE NAT
|
||||||
LED ATTACK
|
LED ATTACK
|
||||||
|
|
|
@ -1,4 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Title: Default Payload
|
||||||
|
# Description: Sets the NETMODE to NAT, then sets the LED to ATTACK
|
||||||
|
# Author: Hak5
|
||||||
|
# Version: 1.0
|
||||||
|
# Category: default
|
||||||
|
# Target: Any
|
||||||
|
# Net Mode: NAT
|
||||||
|
|
||||||
NETMODE NAT
|
NETMODE NAT
|
||||||
LED ATTACK
|
LED ATTACK
|
||||||
|
|
|
@ -1,4 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Title: Default Payload
|
||||||
|
# Description: Sets the NETMODE to NAT, then sets the LED to ATTACK
|
||||||
|
# Author: Hak5
|
||||||
|
# Version: 1.0
|
||||||
|
# Category: default
|
||||||
|
# Target: Any
|
||||||
|
# Net Mode: NAT
|
||||||
|
|
||||||
NETMODE NAT
|
NETMODE NAT
|
||||||
LED ATTACK
|
LED ATTACK
|
||||||
|
|
Loading…
Reference in New Issue