Skip to content

Commit

Permalink
Cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
muts committed Jan 24, 2015
1 parent f43f33f commit 672cd9b
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 127 deletions.
27 changes: 14 additions & 13 deletions utils/manna/start-nat-full-lollipop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,16 +82,17 @@ iptables -t nat -A PREROUTING -i $phy -p tcp --destination-port 110 -j REDIRECT

sleep 5

#echo "Hit enter to kill me"
#read
#pkill dhcpd
#pkill sslstrip
#pkill sslsplit
#pkill hostapd
#pkill python
## Restore
#iptables-restore < /tmp/rules.txt
#rm /tmp/rules.txt
## Remove iface and routes
#ip addr flush dev $phy
#ip link set $phy down
echo "Hit enter to kill me"
read
pkill dhcpd
pkill sslstrip
pkill sslsplit
pkill hostapd
pkill python
# Restore
iptables-restore < /tmp/rules.txt
rm /tmp/rules.txt
# Remove iface and routes
ip addr flush dev $phy
ip link set $phy down

64 changes: 0 additions & 64 deletions utils/manna/start-noupstream-eap-mod.sh

This file was deleted.

50 changes: 0 additions & 50 deletions utils/manna/start-noupstream-mod.sh

This file was deleted.

17 changes: 17 additions & 0 deletions utils/manna/stop-mana-lollipop
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
#!/bin/bash
# This is a quick helper script to kill mana in the Kali chroot for lollipop

echo "This is not finished yet"

upstream=wlan0
phy=wlan1


pkill dhcpd
pkill sslstrip
pkill sslsplit
pkill hostapd
pkill python
# Restore
iptables-restore < /tmp/rules.txt
rm /tmp/rules.txt
# Remove iface and routes
ip addr flush dev $phy
ip link set $phy down

0 comments on commit 672cd9b

Please sign in to comment.