KALI Python3 Default - Unable to Synchronize Version Check (Invalid URL)
I am using a VPN OF COURSE.. it actually looks to me a parsing issue when I do a marketplace search prior to moving to 3 from 2, I was getting nothing now I get the response from hacker target but the error from HackerTarget is:
Module installation Failed: rec.... Failed to Parse: https://raw.githubusercontent.com/lanmaster53/recon-ng-modules/master/modules/recon/domains-hosts/hackertarget.py
Usage: index <module|all>
[recon-ng][default] > marketplace install all [!] Supporting file download for discovery/info_disclosure/cache_snoop failed: (av_domains.lst). [!] Module installation aborted. [!] Failed to parse https //raw.githubusercontent.com/lanmaster53/recon-ng-modules/master/data/av_domains.lst. [recon-ng][default] >
I'm not sure what you're saying. Are you saying that you are trying to use Python 2? Also, what version of Recon-ng is Kali using? They are notoriously behind.
Unfortunately I know they are, I was saying I tried by 2 and 3
Sent from my iPhone
On Feb 13, 2020, at 8:00 PM, lanmaster53 [email protected] wrote:
I'm not sure what you're saying. Are you saying that you are trying to use Python 2? Also, what version of Recon-ng is Kali using? They are notoriously behind.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
i did some investigating. That only happens when the framework can't reach the Github repo, which is a hard coded URL. This is working for everyone else, so something in your environment is keeping you from hitting Github.
I figured as it only has happened to VERY few people I will take a relook
Sent from my iPhone
On Feb 13, 2020, at 11:38 PM, lanmaster53 [email protected] wrote:
i did some investigating. That only happens when the framework can't reach the Github repo, which is a hard coded URL. This is working for everyone else, so something in your environment is keeping you from hitting Github.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
I had the same. The root cause:
from urllib3.util import parse_url
parse_url('https://api.github.com/')
...
module 'six' has no attribute 'ensure_str'
....
LocationParseError: Failed to parse: https://api.github.com/
It happens because of your urllib3 and six dont corrensponds to each other.
It is because you probably have two distribution of urllib3 from apt-get and from pip3.
For me the soluition was updating urllib3 and six to the latest versions via pip3 and disabling these libs from apt-get