hak5 / nano-tetra-modules

The Official WiFi Pineapple Module Repository for the NANO & TETRA
https://wifipineapple.com/modules
462 stars 143 forks source link

urlsnarf and other modules not installing correctly #75

Open bibi1959 opened 4 years ago

bibi1959 commented 4 years ago

I updated to last firmware OTA and reinstalled modules on SD a before. SD formatted from scratch Urlsnarf (1.6) does not install dependencies (...installing... stays forever). Done a full firmware factory reset (updating with special web interface 192.168.x.x) - DWall (1.3) installation ok but doing nothing when selecting "enable". ettercap (1.6) by selecting instal dependecies just go back to "Not installed". After trying all possible reset i am really lost.

bibi1959 commented 4 years ago

following a comment in forum i performed a downgrade to 2.5.4 with no success - urlsnarf does not install

nospamgithub commented 4 years ago

If you log into the pineapple via ssh (or serial) after you've installed urlsnarf or "some" other modules such as sslsplit, you can cd to the /pineapple/modules/\<module>/scripts directory. In there is a shell script named dependencies.sh that you can execute by "bash -x dependencies.sh install internal". When you do you'll find that the urlsnarf package is not available (as well as the dsniff and sslsplit) via opkg.

bibi1959 commented 4 years ago

i tried to run it with no success actually. Does this mean there is no solution?

nospamgithub commented 4 years ago

I should point out that I was trying this from 2.6.1. Until the package(s) become(s) available again, you could build the package (dsniff/sslsplit/etc..) yourself. You might be able to start from https://github.com/hak5/pineapple-packages-community/tree/master/network/dsniff or whichever.

Not sure if previous versions of pineapple have the packages available. I would assume so. But haven't tested.

foxtrot commented 4 years ago

URLSnarf and DNSSpoof are solved with #81

bibi1959 commented 4 years ago

I am sorry to say i can't make it working with last firmware update - Dependencies are installed but no traffic is shown. the module is actually not working

bibi1959 commented 4 years ago

Now can be installed and run from both Web pages and ssh command. ssh give output: root@Pineapple:~# urlsnarf -i br-lan urlsnarf: listening on br-lan [tcp port 80 or port 8080 or port 3128] but no matter the traffic nothing is displayed in both ssh and web interface. trying manual install - opkg install urlsnarf - Package urlsnarf (2.4b1-2) installed in root is up to date. Dunno what to do. It seems working but no logs root@Pineapple:/pineapple/modules/urlsnarf/log# ls -l -rw-r--r-- 1 111 118 24 Apr 6 2019 README.txt -rw-r--r-- 1 root root 0 Jan 25 19:53 output_1579982008.log -rw-r--r-- 1 root root 0 Jan 26 13:42 output_1580046154.log -rw-r--r-- 1 root root 0 Jan 26 13:43 output_1580046211.log -rw-r--r-- 1 root root 0 Jan 26 13:43 output_1580046236.log Manual dependencies installation seems ok root@Pineapple:/pineapple/modules/urlsnarf/scripts# bash -x dependencies.sh install internal