at first i want to ask you to point any part of this text that you can't understand. English is not my language but i try my best to communicate with you.
I have router Sagem Fast, BT4 and EW-7318USg card. Succesfully cracked WEP and wanted to learn something new.
On milworm i found this Sagem Routers F@ST Remote CSRF Exploit
I copied text and saved as dhcpattack.py, changed eth0 to wlan0, installed scapy library, but still it doesn't work and i got the message that "Ether isn't defined"
Is the problem with library or should i change some options in router soft first?
Thanks for any help
bump with addition data.
This is what i got after typing
python dhcpattack.py -i wlan0 -t 192.168.1.1 -p "<IFRAME height=0 width=0 src='http://192.168.1.1/restoreinfo.cgi'></IFRAME>"
Traceback (most recent call last):
File "dhcpattack.py", line 203, in <module>
ether = Ether(src= srcmac,dst="ff:ff:ff:ff:ff:ff")
NameError: name 'Ether' is not defined