Devilzc0de Forum Follow @devilzc0de
  • Home
  • Hacking
  • Networking
  • Programming
  • O.S
  • Server
  • Tweets
  • Search
  • Member List
  • Calendar
Current time: 05-23-2013, 04:08 PM Hello There, Guest! (Login — Register)
Devilzc0de Forum › Information Technology › Networking › General Networking v
1 2 3 4 5 ... 14 Next »

script buat detect netcut/ARP spoofing

Home General Computer Multimedia Business Lounge

Pages (2): 1 2 Next »
Post Reply 
Tweet
Threaded Mode | Linear Mode
script buat detect netcut/ARP spoofing
12-10-2009, 10:47 PM
Post: #1
kiddies Away
Administrator
*******
Administrators
Posts: 1,224
Joined: Dec 2009
Reputation: 40
script buat detect netcut/ARP spoofing
Code:
#!/bin/bash
echo "Cek root akses : "
A=`whoami`
if [ "$A" = "root" ]
then
     echo "OK"

else
    echo "Anda bukan root, silahkan jalankan aplikasi ini sebagai root"
    exit 2
fi

echo "Cek instalasi ip route : "
if ! which ip route > /dev/null        
then
            echo "iproute tidak terinstall, apa mau di install Y/n ?"
            read X
                if [ "$X" = "Y" ]
                then
                     echo "apt-get install iproute"
                else
                    echo "Goodbye"
                exit 2
                fi
        else
            echo "Paket iproute telah terinstall"
fi

echo "Cek koneksi jaringan dan kartu jaringan : "
card=`ip route list | grep "default" | cut -d" " -f5`
if [ "$card" = "" ]
then
    echo "Komputer tidak terkoneksi ke jaringan, identifikasi kartu jaringan
gagal!"
    exit 1;
fi

echo "Melakukan pengecekan gateway address : "
gw=`ip route list | grep "default" | cut -d" " -f3`
if [ "$gw" = "" ]
then
    echo "Tidak dapat menemukan alamt gateway, silahkan periksa settingan pada
jaringan"
    exit 1
fi
echo -n $gw
exit 0;

echo "Melakukan pengecekan mac address gateway : "
mac=`arping -I $card -f $gw | grep "Unicast" | cut -d" " -f5 | cut -d"[" -f2 |
cut -d"]" -f1`
arp_mac=`ip neigh list | grep "$gw" | cut -d" " -f5 | tr 'a-z' 'A-Z'`

if [ "$arp_mac" = "" ]
then
    echo "Alamat gateway tidak terdaftar di dalam tabel arp. Aplikasi akan
menambahkannya ke dalam tabel arp"
    arp -i "$card" -s "$gw" "$mac"
    echo "Data telah ditambahkan ke dalam tabel arp."
    exit 0
fi

if [ "$arp_mac" != "$mac" ]
then
    
    echo "NetCut/ARP Poisoning terdeteksi, aplikasi akan melakukan penulisan
ulang alamat pada tabel arp"
    IP_LIST=`arp -n | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+"| cut -d" " -f
1`
        echo "$IP_LIST" | while read ip ; do
                    /sbin/arp -d $ip
        done
    arp -i "$card" -s "$gw" "$mac"
    echo "Penulisan ulang telah dilakukan."
    exit 0
else
    echo "Tidak ada penggunaan NetCut atau ARP Poisonning di dalam jaringan."
    exit 1
fi

selamat di caba yah...kali ajah berguna
Find all posts by this user
Quote this message in a reply
 Reputed by :  Deva(+1)
01-06-2010, 08:29 PM
Post: #2
abee_18 Offline
./Devilz 1st Cadet
Posts: 7
Joined: Jan 2010
Reputation: 0
RE: script buat detect netcut/ARP spoofing
cara make'a gmn mas??maaf msh pemula..
Find all posts by this user
Quote this message in a reply
01-07-2010, 10:43 AM
Post: #3
4rif Offline
./Devilz 1st Cadet
Posts: 12
Joined: Dec 2009
Reputation: 0
RE: script buat detect netcut/ARP spoofing
Mas tolong beri tahu cara mengunakanya
maaf baru belajar
Find all posts by this user
Quote this message in a reply
01-07-2010, 03:32 PM
Post: #4
cancer Offline
./Devilz Advisor
Posts: 643
Joined: Dec 2009
Reputation: 10
RE: script buat detect netcut/ARP spoofing
pake batch ya om???
Find all posts by this user
Quote this message in a reply
01-07-2010, 08:01 PM (This post was last modified: 01-07-2010 08:04 PM by chaer.newbie.)
Post: #5
chaer.newbie Offline
--------------------------
*****
Dewa
Posts: 5,281
Joined: Dec 2009
Reputation: 184
RE: script buat detect netcut/ARP spoofing
ini Bash Script..


Buat Refrensi :

klik disni
Find all posts by this user
Quote this message in a reply
01-09-2010, 11:43 AM
Post: #6
cancer Offline
./Devilz Advisor
Posts: 643
Joined: Dec 2009
Reputation: 10
RE: script buat detect netcut/ARP spoofing
jadi pake linux ya om chaer.newbie???
scriptna hampir sama dengan batch
Find all posts by this user
Quote this message in a reply
01-09-2010, 08:33 PM
Post: #7
chaer.newbie Offline
--------------------------
*****
Dewa
Posts: 5,281
Joined: Dec 2009
Reputation: 184
RE: script buat detect netcut/ARP spoofing
iyak bang pake linux...hehehee
Find all posts by this user
Quote this message in a reply
04-03-2010, 08:43 PM
Post: #8
isarock666 Offline
./Devilz 1st Cadet
Posts: 13
Joined: Apr 2010
Reputation: 2
RE: script buat detect netcut/ARP spoofing
192.168.3.1root@hax0r-syst3m:/home/nob0dy/Documents# sh ./deteksi_netcut.sh
Cek root akses :
OK
Cek instalasi ip route :
Paket iproute telah terinstall
Cek koneksi jaringan dan kartu jaringan :
Melakukan pengecekan gateway address :
192.168.3.1root@hax0r-syst3m:/home/nob0dy/Documents#


trus gmn klo dah gni br0??....ketawa....bls ya..hehe
Find all posts by this user
Quote this message in a reply
07-20-2010, 03:51 PM
Post: #9
secret_admirer Offline
./Devilz 1st Cadet
Posts: 4
Joined: Jul 2010
Reputation: 0
RE: script buat detect netcut/ARP spoofing
maaf kak .. .newbie nih .
makenya gimana???
Find all posts by this user
Quote this message in a reply
08-08-2010, 09:04 PM
Post: #10
sandoznakal Offline
./Devilz 1st Cadet
Posts: 6
Joined: Mar 2010
Reputation: 0
RE: script buat detect netcut/ARP spoofing
yg posting kgak bisa jelasin ketawa
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »
Post Reply 


Topic Tools
Topic Link :
BBCode :
HTML Code :
View a Printable Version Send Thread to a Friend Subscribe to this thread
Submit Google Submit Face book Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Bagi bagi sub domain buat blog nggodress 4 183 01-07-2013 05:02 PM
Last Post: cotalika
  CC Gratisan Buat Daftar Intuit nggodress 15 521 12-27-2012 03:50 PM
Last Post: sandimulyadi
  Script uuuueeellleeekk buat ngecek parent/sibling proxy yang down Lintang27™ 6 174 12-12-2012 01:56 PM
Last Post: Rango
Wink [Tutor] hyenae rogue detect packet injection protocolunique 1 126 10-25-2012 10:11 PM
Last Post: anbu
  [Tutor] Bagaimana Mengurangi Dampak dari Netcut nobodyknowme 3 705 03-17-2012 04:04 PM
Last Post: nobodyknowme
  cara buat ISP gimana ya justlearn 10 2,303 04-29-2011 11:24 AM
Last Post: justlearn
Sad [Ask] {ASK}cara mengambil bandwith lan dengan netcut !! arifajahh 2 3,072 03-07-2011 04:11 PM
Last Post: Ridho_Cupu_Aja
  TCP-Z tool kecil tapi manfaatnya dahsyat buat mempercepat koneksi badwolves1986 20 5,952 01-30-2011 03:23 PM
Last Post: Eyang Subur
  Buat Router di XP Super Moderator 4 2,554 04-20-2010 11:23 PM
Last Post: –––––•(-•Heroi¤Kuroi•-)•–––––

Users Browsing
1 Guest(s)

  • Contact Us
  • devilzc0de
  • Return to Top
  • Mobile Version
  • RSS Syndication
  • Help
Current time: 05-23-2013, 04:08 PM Powered By MyBB, © 2002-2013 MyBB Group. Theme created by Justin S. | Mixed By Chaer.Newbie | Fixed By Aditya

USING THIS SITE INDICATES THAT YOU HAVE READ AND ACCEPT OUR TERMS. IF YOU DO NOT ACCEPT THESE TERMS, YOU ARE NOT AUTHORIZED TO USE THIS SITE