ICICIP / lazykali

Automatically exported from code.google.com/p/lazykali
0 stars 0 forks source link

issue with hamster #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. default install of hamster and ferret

What is the expected output? What do you see instead?
"execle(ferret): No such file or directory" 

Please use labels and text to provide additional information.

This is not a defect in the script but rather a tiny issue with default install 
of hamster and ferret in Kali Linux.
Reason for the issue is 2 part.
1) Ferret is in the /usr/bin directory
hamster has a symbolic link in the /usr/bin/ but is actually in the 
/usr/share/hamster-sidejack directory.

2) Default on my system had to be installed from source to get working 
correctly.
I used to source from http://www.erratasec.com/erratasec.tar.z
I will be adding pre-compiled files to this repo soon.

Original issue reported on code.google.com by reaperz7...@gmail.com on 25 Apr 2013 at 2:36

GoogleCodeExporter commented 9 years ago
Issue has been fixed add section to script to create link 
/usr/share/hamster-sidejack/ferret

Original comment by reaperz7...@gmail.com on 26 Apr 2013 at 4:04

GoogleCodeExporter commented 9 years ago
marking as fixed if any other issues please comment.

Original comment by reaperz7...@gmail.com on 26 Apr 2013 at 5:51

GoogleCodeExporter commented 9 years ago
I created link to /usr/share/hamster-sidejack/ferret and same results. Also did 
a 'ln -s /usr/bin/ferret-sidejack /usr/share/hamster-sidejack/ferret' with same 
results.  Kali 1.0.4 i386

Original comment by odda...@gmail.com on 23 Apr 2014 at 2:33

GoogleCodeExporter commented 9 years ago
Ejecuto como ROOT :
root@Master:/usr/share/hamster-sidejack# ./hamster
Y sale esto:
starting adapter eth0
execle(ferret): Permission denied
Solo tengo corriendo el hanmster
Ejetuto el Ferret y sale esto:
ferret
bash: ferret: no se encontró la orden

Original comment by luis3...@gmail.com on 4 Jan 2015 at 6:08

GoogleCodeExporter commented 9 years ago
Bingo!!!
root@Master:/usr/share/hamster-sidejack# ./hamster
--- HAMPSTER 2.0 side-jacking tool ---
begining thread
Set browser to use proxy http://127.0.0.1:1234
DEBUG: set_ports_option(1234)
DEBUG: mg_open_listening_port(1234)
Proxy: listening on 127.0.0.1:1234
starting adapter eth0
[0] ferret
[1] -i
[2] eth0
[3] --hamster
-- FERRET 1.2.0 - 2008 (c) Errata Security
-- build = Jan  4 2015 12:55:25 (64-bits)
libpcap.so: libpcap.so: cannot open shared object file: No such file or 
directory
Searching elsewhere for libpcap
Found libpcap
-- libpcap version 1.3.0
 1  eth0    (No description available)
 2  wlan0   (No description available)
 3  nflog   (Linux netfilter log (NFLOG) interface)
 4  any     (Pseudo-device that captures on all interfaces)
 5  lo  (No description available)

-- Sniffing on interface "eth0"
SNIFFING: eth0
LINKTYPE: 1 Ethernet

La Soluccione es esta:
"ya la encontre"
Descargas los archivos #Ferret# #Amster# .zip
Y luego borras la carpeta ##amster## y quedas con la ##ferret## 
das:
root@Master: cd Desktop
-cd ferret
-cd build
-cd gcc4
-make
-cd ..
-cd gcc4dynamic
-make 
--Ahora nos vamos a BIN--
cd ..
cd ..
cd bin
ls
---VEREMOS FERRET---
---------------------------------------------------------------------------
ABRMIMOS OTRA CONSOLA
---------------------------------------------------------------------------
damos:
root@Master: cd /
##movemos ferret a /usr/share/hamster-sidejack/
root@Master:/#  mv /root/Desktop/ferret/bin/ferret /usr/share/hamster-sidejack/
#Ahora nos vamos a /usr/share/hamster-sidejack/#
cd /usr/share/hamster-sidejack/
#LE DAMOS PERMISOS A FERRET#
cdmod +x ferret
y LISTO!!

###AHORA CON SOLO IR A /usr/share/hamster-sidejack Y EJECUTAR ./hamster se 
ejecutará ferret tambien####
root@kali:/usr/share/hamster-sidejack# ./hamster
--- HAMPSTER 2.0 side-jacking tool ---
begining thread
Set browser to use proxy http://127.0.0.1:1234
DEBUG: set_ports_option(1234)
DEBUG: mg_open_listening_port(1234)
Proxy: listening on 127.0.0.1:1234
starting adapter eth0
[0] ferret
[1] -i
[2] eth0
[3] --hamster
-- FERRET 1.2.0 - 2008 (c) Errata Security
-- build = Jan  4 2015 12:55:25 (64-bits)
libpcap.so: libpcap.so: cannot open shared object file: No such file or 
directory
Searching elsewhere for libpcap
Found libpcap
-- libpcap version 1.3.0
 1  eth0    (No description available)
 2  wlan0   (No description available)
 3  nflog   (Linux netfilter log (NFLOG) interface)
 4  any     (Pseudo-device that captures on all interfaces)
 5  lo  (No description available)

-- Sniffing on interface "eth0"
SNIFFING: eth0
LINKTYPE: 1 Ethernet
 ---:D--- Master-----

Original comment by luis3...@gmail.com on 4 Jan 2015 at 6:33

GoogleCodeExporter commented 9 years ago
Aca hay otra forma:
root@Master:~# apt-get install ferret-sidejack
Linux kali 3.14-kali1-amd64 #1 SMP Debian 3.14.5-1kali1 (2014-06-07) x86_64 
GNU/Linux
 :D

Original comment by luis3...@gmail.com on 4 Jan 2015 at 6:40