Anda bisa download di sini
Uji keberhasilan script:
Screenshoot
root@revolution:/# su -root@revolution:/# bluetoothd -uroot@revolution:/# nano /usr/local/etc/etter.conf######################################################################### ## ettercap -- etter.conf -- configuration file ## ## Copyright (C) ALoR & NaGA ## ## This program is free software; you can redistribut it and/or moify ## it under the terms of the GNU General Public Licese as publishedby ## the Free Software Foundation; either version 2 o the License, or ## (at your option) any later version. ## ## $Id: etter.conf,v 1.79 2005/07/07 10:08:55 alr Exp $ ## ############################################################################################################### redir_command_on/off###################################### you must provide a valid script for your operating system in order to have# the SSL dissection available# note that the cleanup script is executed without enough privileges (because# they are dropped on startup). so you have to either: provide a setuid program# or set the ec_uid to 0, in order to be sure the cleanup script will be# executed properly# NOTE: this script is executed with an execve(), so you can't use pipes or# output redirection as if you were in a shell. We suggest you to make a script if# you need those commands.#---------------# Linux#---------------# if you use iptables:# if you use iptables: #redir_command_on = "iptables -t nat -A PREROUTING -i %iface -p tcp --dport %port -j REDIRECT --to-port %rport" #redir_command_off = "iptables -t nat -D PREROUTING -i %iface -p tcp --dport %port -j REDIRECT --to-port %rport"###################################### redir_command_on/off###################################### you must provide a valid script for your operating system in order to have# the SSL dissection available# note that the cleanup script is executed without enough privileges (because# they are dropped on startup). so you have to either: provide a setuid program# or set the ec_uid to 0, in order to be sure the cleanup script will be# executed properly# NOTE: this script is executed with an execve(), so you can't use pipes or# output redirection as if you were in a shell. We suggest you to make a script if# you need those commands.
#---------------# Linux#---------------
# if you use ipchains: #redir_command_on = "ipchains -A input -i %iface -p tcp -s 0/0 -d 0/0 %port -j REDIRECT %rport" #redir_command_off = "ipchains -D input -i %iface -p tcp -s 0/0 -d 0/0 %port -j REDIRECT %rport"
# if you use iptables: redir_command_on = "iptables -t nat -A PREROUTING -i %iface -p tcp --dport %port -j REDIRECT --to-port %rport" redir_command_off = "iptables -t nat -D PREROUTING -i %iface -p tcp --dport %port -j REDIRECT --to-port %rport"root@revolution:/# ettercap -T -q -i wlan0root@revolution:/# nano /usr/local/etc/etter.conf############################################################################# ## ettercap -- etter.conf -- configuration file ## ## Copyright (C) ALoR & NaGA ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## $Id: etter.conf,v 1.79 2005/07/07 10:08:55 alor Exp $ ## #############################################################################
[privs]ec_uid = 65534 # nobody is the defaultec_gid = 65534 # nobody is the default############################################################################# ## ettercap -- etter.conf -- configuration file ## ## Copyright (C) ALoR & NaGA ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## $Id: etter.conf,v 1.79 2005/07/07 10:08:55 alor Exp $ ## #############################################################################
[privs]ec_uid = 0 # nobody is the defaultec_gid = 0 # nobody is the defaultroot@revolution:/# ettercap -T -q -i wlan0root@revolution:/# cd /tmproot@revolution:/tmp#root@revolution:/# cp <file yang hendak di copy> [nama file setelah dicopy]root@revolution:/tmp# cp /etc/passwd passwdroot@revolution:/# cat <file yang hendak di cetak>root@revolution:/# cat passwd root:x:0:0:root:/root:/bin/bashdaemon:x:1:1:daemon:/usr/sbin:/bin/shbin:x:2:2:bin:/bin:/bin/shsys:x:3:3:sys:/dev:/bin/shsync:x:4:65534:sync:/bin:/bin/syncgames:x:5:60:games:/usr/games:/bin/shman:x:6:12:man:/var/cache/man:/bin/shlp:x:7:7:lp:/var/spool/lpd:/bin/shmail:x:8:8:mail:/var/mail:/bin/shnews:x:9:9:news:/var/spool/news:/bin/shuucp:x:10:10:uucp:/var/spool/uucp:/bin/shproxy:x:13:13:proxy:/bin:/bin/shwww-data:x:33:33:www-data:/var/www:/bin/shbackup:x:34:34:backup:/var/backups:/bin/shlist:x:38:38:Mailing List Manager:/var/list:/bin/shirc:x:39:39:ircd:/var/run/ircd:/bin/shgnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/shlibuuid:x:100:101::/var/lib/libuuid:/bin/shsyslog:x:101:103::/home/syslog:/bin/falsesshd:x:102:65534::/var/run/sshd:/usr/sbin/nologinlandscape:x:103:108::/var/lib/landscape:/bin/falsemessagebus:x:104:112::/var/run/dbus:/bin/falsenobody:x:65534:65534:nobody:/nonexistent:/bin/shmysql:x:105:113::/var/lib/mysql:/bin/falseavahi:x:106:114::/var/run/avahi-daemon:/bin/falsesnort:x:107:115:Snort IDS:/var/log/snort:/bin/falsestatd:x:108:65534::/var/lib/nfs:/bin/falseusbmux:x:109:46::/home/usbmux:/bin/falsepulse:x:110:116::/var/run/pulse:/bin/falsertkit:x:111:117::/proc:/bin/falsefestival:x:112:29::/home/festival:/bin/falsepostgres:x:1000:1000::/home/postgres:/bin/shcouchdb:x:113:121:CouchDB Administrator,,,:/var/lib/couchdb:/bin/bashroot@revolution:/ awk -F ':' '{print $1}' passwd rootdaemonbinsyssyncgamesmanlpmailnewsuucpproxywww-databackuplistircgnatslibuuidsyslogsshdlandscapemessagebusnobodymysqlavahisnortstatdusbmuxpulsertkitfestivalpostgrescouchdbroot@revolution:/tmp# sort <file yang hendak diurutkan>root@revolution:/tmp# cat <file yang hendak dicetak> | sortroot@revolution:/tmp# awk -F ':' '{print $1}' passwd | sortavahibackupbincouchdbdaemonfestivalgamesgnatsirclandscapelibuuidlistlpmailmanmessagebusmysqlnewsnobodypostgresproxypulserootrtkitsnortsshdstatdsyncsyssyslogusbmuxuucpwww-dataroot@revolution:/tmp# ifconfig wlan0 | tee > ipaddressroot@revolution:/tmp# cat ipaddress wlan0 Link encap:Ethernet HWaddr e0:b9:a5:9d:37:e9 inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::e2b9:a5ff:fe9d:37e9/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:12504 errors:0 dropped:0 overruns:0 frame:0 TX packets:13018 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:7044888 (7.0 MB) TX bytes:3387860 (3.3 MB)root@revolution:/tmp# awk -F ':' '{print $1}' passwd | sort | tee > username.lst