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 wlan0