The -sT option configures iptables to redirect traffic to a specified port.
Usage
./goSpoof -sT 4444Description
- No default value
- Requires root/sudo privileges
- Sets up iptables rules to redirect traffic
- Must be used with
-pto specify the target port - Can be combined with
-rfor port range redirection
Examples
# Basic iptables setup
./goSpoof -sT 4444 -p 4444
# Setup with port range
./goSpoof -sT 4444 -p 4444 -r "1:1000"
# Full setup with logging
./goSpoof -sT 4444 -p 4444 -l /var/log/gospoof.log