lanmaster53 / recon-ng

Open Source Intelligence gathering tool aimed at reducing the time spent harvesting information from open sources.
GNU General Public License v3.0
4.1k stars 646 forks source link

KALI Python3 Default - Unable to Synchronize Version Check (Invalid URL) #72

Closed theLaxerz closed 2 weeks ago

theLaxerz commented 4 years ago

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

theLaxerz commented 4 years ago

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] >

lanmaster53 commented 4 years ago

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.

theLaxerz commented 4 years ago

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 notifications@github.com 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.

lanmaster53 commented 4 years ago

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.

theLaxerz commented 4 years ago

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 notifications@github.com 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.

s0i37 commented 4 years ago

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

ChiefJinchuriki commented 3 months ago

I found out what this was! I was having the same issue using parrot. I was using anon surf with it. I ended up having to change my identity so if you're getting this it's because the tor node or vpn node is blocking you from connecting so change identity or select new vpn connection and it'll work. image