diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:40:10 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:40:10 +0200 |
commit | 20a107748317091d1ac003f1cbb045928d07e684 (patch) | |
tree | bb7c9d0d400d06cf3abc0ba06830d587655c9c85 /net-wireless/karmetasploit/files/karmeta.sh | |
parent | 377b452f12024d39dd04b33d4376bf311607f806 (diff) |
No audit programs here. deleting this sequence of ebuilds. will replace with compat and broadcom in a few moments
Diffstat (limited to 'net-wireless/karmetasploit/files/karmeta.sh')
-rwxr-xr-x | net-wireless/karmetasploit/files/karmeta.sh | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/net-wireless/karmetasploit/files/karmeta.sh b/net-wireless/karmetasploit/files/karmeta.sh deleted file mode 100755 index f163e481..00000000 --- a/net-wireless/karmetasploit/files/karmeta.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash -echo "karmetasploit script by kingtuna: super ultra mega alpha version" -echo "warning: this currently leaves your system in a funny state." -echo "you may have to remove monitor interfaces and kill dhcpd and airbase-ng manually" -killall -9 airbase-ng dhcpd -iptables --flush - -#airmon-ng stop mon0 -if [ x"$1" != x ] -then -airmon-ng start $1 -else -echo "Please specify a device to use as AP" -exit -fi - -#modprobe tun - -/usr/sbin/airbase-ng -P -C 30 -c 6 -e "Free Wifi" -v mon0 > /dev/null 2>&1 & -sleep 2 -ifconfig at0 up 10.0.0.1 netmask 255.255.255.0 -ifconfig eth0 up 10.0.0.1 netmask 255.255.255.0 -ifconfig mon0 up 10.0.0.1 netmask 255.255.255.0 -route add -net 10.0.0.0 netmask 255.255.255.0 gw 10.0.0.1 -sleep 2 -LEASEFILE="/var/lib/dhcp/dhcpd.leases" -if [ ! -f "$LEASEFILE" ]; then - touch $LEASEFILE -fi -/usr/sbin/dhcpd -cf /etc/karmeta-dhcpd.conf -sleep 2 -ifconfig at0 mtu 1400 -iptables -t nat -A PREROUTING -i at0 -j REDIRECT -/usr/bin/msfconsole3 -r /etc/karma.rc |