Jump to content

SSLstrip2 + dns2proxy (HSTS Bypassing)


Zylla

Recommended Posts

Posted

The one above actually got fixed, the only problem now is :

root@Pineapple:/sd/usr/share/dns2proxy# python dns2proxy.py  --help
Traceback (most recent call last):
  File "dns2proxy.py", line 29, in <module>
    import pcapy
ImportError: File not found
root@Pineapple:/sd/usr/share/dns2proxy#

I followed some steps that person before me had, but still couldn't figure this problem out, any suggestions?

After taking your code for /etc/profile, my python does this:

root@Pineapple:/sd/usr/share/dns2proxy# python dns2proxy.py --help
Illegal instruction
root@Pineapple:/sd/usr/share/dns2proxy# python dns2proxy.py
Illegal instruction
  • Replies 84
  • Created
  • Last Reply
Posted

I'll be checking into the problems with this package today. As there's been some changes to the sslstrip2+dns2proxy part of Mana Toolkit,making it alot easier for me to create a package to this, and not at least keeping it updated.

Posted
16 hours ago, l1ghtman said:

What would you suggest me to do to fix that issue, for now, maybe get USB stick instead of the sd card?

Are you having any issues with your sd-card? (Check dmesg after something happens to see what's been going on with your Pineapple)
You could try getting the packages i've uploaded here: https://github.com/adde88/hostapd-mana/tree/master/dependencies

They're all needed to use the tools that's coming with the Mana Toolkit, and most of them, if not all, has to do with sslstrip2 + dns2proxy (Which both are also located there)
If you install all of those, you should be able to use sslstrip2 and dns2proxy without issues. (Let me know if there's any problems with them)

  • 2 months later...
  • 10 months later...
Posted

I tried to install Mana... too many errors :(((((((((((((((

grep: /usr/lib/opkg/info/python-compiler.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/python-compiler.list': No such file or directory
Configuring python-ctypes.
grep: /usr/lib/opkg/info/python-ctypes.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/python-ctypes.list': No such file or directory
Configuring python-db.
grep: /usr/lib/opkg/info/python-db.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/python-db.list': No such file or directory
Configuring python-decimal.
grep: /usr/lib/opkg/info/python-decimal.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/python-decimal.list': No such file or directory
Configuring python-distutils.
grep: /usr/lib/opkg/info/python-distutils.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/python-distutils.list': No such file or directory
Configuring python-email.
grep: /usr/lib/opkg/info/python-email.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/python-email.list': No such file or directory
Configuring python-gdbm.
grep: /usr/lib/opkg/info/python-gdbm.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/python-gdbm.list': No such file or directory
Configuring python-logging.
grep: /usr/lib/opkg/info/python-logging.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/python-logging.list': No such file or directory
Configuring python-multiprocessing.
grep: /usr/lib/opkg/info/python-multiprocessing.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/python-multiprocessing.list': No such file or directory
Configuring python-ncurses.
grep: /usr/lib/opkg/info/python-ncurses.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/python-ncurses.list': No such file or directory
Configuring python-pydoc.
grep: /usr/lib/opkg/info/python-pydoc.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/python-pydoc.list': No such file or directory
Configuring python-unittest.
grep: /usr/lib/opkg/info/python-unittest.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/python-unittest.list': No such file or directory
Configuring python-xml.
grep: /usr/lib/opkg/info/python-xml.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/python-xml.list': No such file or directory
Configuring python.
grep: /usr/lib/opkg/info/python.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/python.list': No such file or directory
Configuring zope-interface.
grep: /usr/lib/opkg/info/zope-interface.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/zope-interface.list': No such file or directory
Configuring twisted.
grep: /usr/lib/opkg/info/twisted.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/twisted.list': No such file or directory
Configuring twisted-web.
grep: /usr/lib/opkg/info/twisted-web.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/twisted-web.list': No such file or directory
Configuring python-pcapy.
grep: /usr/lib/opkg/info/python-pcapy.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/python-pcapy.list': No such file or directory
Configuring pyopenssl.
grep: /usr/lib/opkg/info/pyopenssl.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/pyopenssl.list': No such file or directory
Configuring python-dns.
grep: /usr/lib/opkg/info/python-dns.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/python-dns.list': No such file or directory
Configuring twisted-words.
grep: /usr/lib/opkg/info/twisted-words.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/twisted-words.list': No such file or directory
Configuring twisted-news.
grep: /usr/lib/opkg/info/twisted-news.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/twisted-news.list': No such file or directory
Configuring twisted-runner.
grep: /usr/lib/opkg/info/twisted-runner.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/twisted-runner.list': No such file or directory
Configuring twisted-conch.
grep: /usr/lib/opkg/info/twisted-conch.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/twisted-conch.list': No such file or directory
Configuring scapy.
grep: /usr/lib/opkg/info/scapy.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/scapy.list': No such file or directory
Configuring twisted-mail.
grep: /usr/lib/opkg/info/twisted-mail.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/twisted-mail.list': No such file or directory
Configuring twisted-names.
grep: /usr/lib/opkg/info/twisted-names.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/twisted-names.list': No such file or directory
Configuring twisted-lore.
grep: /usr/lib/opkg/info/twisted-lore.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/twisted-lore.list': No such file or directory
Configuring sslstrip2.
grep: /usr/lib/opkg/info/sslstrip2.control: No such file or directory
cat: can't open '/usr/lib/opkg/info/sslstrip2.list': No such file or directory

Finished installing dependencies!

 

Posted

the script for the usb stick works, thank you.

I tried to install hostapd-mana too, it doesn't work anymore...

wget -qO- https://raw.githubusercontent.com/adde88/hostapd-mana/master/INSTALL.sh | bash
-s -- -v -v
--2019-08-16 10:09:23--  https://github.com/adde88/hostapd-mana-openwrt/tree/master/bin/ar71xx/packages/base
Resolving github.com... 192.30.253.113
Connecting to github.com|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: '/tmp/ManaToolkit/base.1'

base.1                         [ <=>                                    ]  57.22K   302KB/s    in 0.2s    

2019-08-16 10:09:24 (302 KB/s) - '/tmp/ManaToolkit/base.1' saved [58591]

Installing: MANA-Toolkit.
Go grab a cup of coffee, this will take a while...

Downloading https://downloads.hak5.org/packages/mk6/1907/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_pineapple
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_base
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_packages
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_routing
--2019-08-16 10:09:30--  https://github.com/adde88/hostapd-mana-openwrt/raw/master/bin/ar71xx/packages/base/asleap_2.2-1_ar71xx.ipk
Resolving github.com... 192.30.253.113
Connecting to github.com|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/adde88/hostapd-mana-openwrt/master/bin/ar71xx/packages/base/asleap_2.2-1_ar71xx.ipk [following]
--2019-08-16 10:09:31--  https://raw.githubusercontent.com/adde88/hostapd-mana-openwrt/master/bin/ar71xx/packages/base/asleap_2.2-1_ar71xx.ipk
Resolving raw.githubusercontent.com... 151.101.120.133
Connecting to raw.githubusercontent.com|151.101.120.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12093 (12K) [application/octet-stream]
Saving to: 'asleap_2.2-1_ar71xx.ipk'

asleap_2.2-1_ar71xx.ipk    100%[=======================================>]  11.81K  --.-KB/s    in 0.005s  

2019-08-16 10:09:31 (2.12 MB/s) - 'asleap_2.2-1_ar71xx.ipk' saved [12093/12093]

--2019-08-16 10:09:31--  https://github.com/adde88/hostapd-mana-openwrt/raw/master/bin/ar71xx/packages/base/hostapd-mana_2.6.5-5_ar71xx.ipk
Resolving github.com... 192.30.253.113
Connecting to github.com|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/adde88/hostapd-mana-openwrt/master/bin/ar71xx/packages/base/hostapd-mana_2.6.5-5_ar71xx.ipk [following]
--2019-08-16 10:09:32--  https://raw.githubusercontent.com/adde88/hostapd-mana-openwrt/master/bin/ar71xx/packages/base/hostapd-mana_2.6.5-5_ar71xx.ipk
Resolving raw.githubusercontent.com... 151.101.120.133
Connecting to raw.githubusercontent.com|151.101.120.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 507239 (495K) [application/octet-stream]
Saving to: 'hostapd-mana_2.6.5-5_ar71xx.ipk'

hostapd-mana_2.6.5-5_ar71x 100%[=======================================>] 495.35K  1.58MB/s    in 0.3s    

2019-08-16 10:09:32 (1.58 MB/s) - 'hostapd-mana_2.6.5-5_ar71xx.ipk' saved [507239/507239]

Unknown package 'asleap'.
Unknown package 'hostapd-mana'.
Unknown package 'sslsplit'.
Collected errors:
 * pkg_hash_fetch_best_installation_candidate: Packages for asleap found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package asleap.
 * pkg_hash_fetch_best_installation_candidate: Packages for hostapd-mana found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package hostapd-mana.
 * opkg_install_cmd: Cannot install package sslsplit.
ln: /etc/mana-toolkit: File exists
bash: /etc/init.d/stunnel: not found
Installation completed!
Type: 'install-mana-depends' to install python-related dependencies.
Launch MANA by typing: 'launch-mana' in the terminal.
uci: Entry not found
uci: Entry not found
 

 

  • 4 weeks later...
Posted
On 8/16/2019 at 5:31 AM, Zylla said:

Haven't had time to update alot of my packages for firmware versions > 2.6.

Whats the most recent firmware version supported for sslsplit2 + dns2proxy?

  • 1 year later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...