forked from offensive-security/kali-nethunter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
muts
committed
Jan 24, 2015
1 parent
f43f33f
commit 672cd9b
Showing
4 changed files
with
31 additions
and
127 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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 |