View Issue Details

IDProjectCategoryView StatusLast Update
0008012Kali LinuxKali Package Bugpublic2023-05-31 14:57
Reporteronillap Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionopen 
Product Version2022.3 
Summary0008012: sslstrip fails to resolve target website
Description

Hello,
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 Reproduce

I am simply following the instructions in the README.md file.

Activities

kali-bugreport

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

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.

g0tmi1k

g0tmi1k

2023-05-31 14:57

administrator   ~0018104

This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity.

Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/get-kali/)?

If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup?
For more information, please read: https://www.kali.org/docs/community/submitting-issues-kali-bug-tracker/

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
2023-05-31 14:57 g0tmi1k Note Added: 0018104
2023-05-31 14:57 g0tmi1k Status new => closed