Searching...
February 7, 2012

FIX Ettercap ip_forwarding was disabled, but we cannot re-enable it now

Ettercap mengalami banyak bug pada backtrack 5 R1. Kali ini bug memunculkan pesan error:

ip_forwarding was disabled, but we cannot re-enable it now.
remember to re-enable it manually



Bagaimana cara mengatasinya?
1. Buka terminal, lalu masukan perintah:

Command:
root@revolution:/# nano /usr/local/etc/etter.conf

Maka anda akan melihat tampilan seperti ini:

#########################################################################                                                                      ##  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 $                ##                                                                      #########################################################################

Carilah baris seperti ini:

######################################       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.

Pada bagian
#---------------#     Linux#---------------

Cari baris:

# if you use iptables:

Maka anda akan mendapati pengaturan seperti ini:

# 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"

2. Mengubah parameter redir_command_on dan redir_command_off

Hilangkan tanda pagar sebelum redir_command_on dan redir_command_off

Sehingga pengaturannya menjadi seperti ini:

######################################       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"

Tekan ctrl+x untuk keluar dari konsol nano. Tekan y untuk menyimpan. Tekan enter untuk menyimpan meng-overwrite file lama.

Kemudian jalankan kembali ettercap:

Command:
root@revolution:/# ettercap -T -q -i wlan0


Perfect as usual

created by : red-dragon

2 comment:

 
Back to top!