View Issue Details

IDProjectCategoryView StatusLast Update
0008012Kali Linux[All Projects] Kali Package Bugpublic2022-11-06 11:59
Reporteronillap Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version2022.3 
Target VersionFixed in Version 
Summary0008012: sslstrip fails to resolve target website
DescriptionHello,
I am using the latest package available in Kali (1.0+git20211125.9ac747b-0kali1) and when I run it it gives errors similar to this one in the sslstrip.log file:
2022-10-16 19:09:01,267 Resolving host: www.gmail.com
2022-10-16 19:09:01,267 Host not cached.
2022-10-16 19:09:01,296 Resolved host successfully: www.gmail.com -> 142.250.180.133
2022-10-16 19:09:01,296 Host resolution error: [Failure instance: Traceback: <class 'TypeError'>: argument should be integer or bytes-like object, not 'str'
/usr/lib/python3/dist-packages/twisted/internet/_resolver.py:155:deliverResults
/usr/lib/python3/dist-packages/twisted/internet/_resolver.py:269:addressResolved
/usr/lib/python3/dist-packages/twisted/internet/defer.py:661:callback
/usr/lib/python3/dist-packages/twisted/internet/defer.py:763:_startRunCallbacks
--- <exception caught here> ---
/usr/lib/python3/dist-packages/twisted/internet/defer.py:857:_runCallbacks
/usr/share/sslstrip/sslstrip/ClientRequest.py:94:handleHostResolvedSuccess
/usr/share/sslstrip/sslstrip/ClientRequest.py:70:getPathFromUri
]

It seems to do this for any host.
If you need more information please just ask.
Take care,
Luca
Steps To ReproduceI am simply following the instructions in the README.md file.

Activities

kali-bugreport

2022-11-06 10:46

reporter   ~0017056

Seems this is a known unresolved issue in sslstrip:

https://github.com/moxie0/sslstrip/issues/39

sslstrip seems to be generally not compatible with Python3 anymore:

https://github.com/moxie0/sslstrip/issues/30

and has been already removed from Debian since quite some time:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951818

kali-bugreport

2022-11-06 11:59

reporter   ~0017057

Looks like Kali switched to a python3 compatible fork available at:

https://github.com/L1ghtn1ng/sslstrip

Better create a new issue about this error https://github.com/L1ghtn1ng/sslstrip/issues in the hope to get this fixed.

Issue History

Date Modified Username Field Change
2022-10-16 23:30 onillap New Issue
2022-11-06 10:46 kali-bugreport Note Added: 0017056
2022-11-06 11:59 kali-bugreport Note Added: 0017057