Comments (6)
└─# python3 reconspider.py
______ \ ____ ____ ____ ____ / / || | /______
| // __ _/ / _ \ / \ _ \____ | |/ __ |/ __ _ __
| | \ /\ _( <> ) | \ / \ |> > / // \ /| | /
||_ /___ >___ >/|| / /______ / /|____ |___ >|
/ / / / /|| / /
Traceback (most recent call last):
File "/home/lonewolf/reconspider/reconspider.py", line 38, in
from core import repl_prompt
File "/home/lonewolf/reconspider/core/init.py", line 1, in
from .repl_prompt import *
File "/home/lonewolf/reconspider/core/repl_prompt.py", line 4, in
from plugins.censys import censys_ip
File "/home/lonewolf/reconspider/plugins/init.py", line 1, in
from .censys import *
File "/home/lonewolf/reconspider/plugins/censys.py", line 2, in
from requests import get
File "/usr/lib/python3/dist-packages/requests/init.py", line 43, in
import urllib3
File "/usr/local/lib/python3.10/dist-packages/urllib3/init.py", line 8, in
from .connectionpool import (
File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 29, in
from .connection import (
File "/usr/local/lib/python3.10/dist-packages/urllib3/connection.py", line 39, in
from .util.ssl_ import (
File "/usr/local/lib/python3.10/dist-packages/urllib3/util/init.py", line 3, in
from .connection import is_connection_dropped
File "/usr/local/lib/python3.10/dist-packages/urllib3/util/connection.py", line 3, in
from .wait import wait_for_read
File "/usr/local/lib/python3.10/dist-packages/urllib3/util/wait.py", line 1, in
from .selectors import (
File "/usr/local/lib/python3.10/dist-packages/urllib3/util/selectors.py", line 14, in
from collections import namedtuple, Mapping
ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/init.py)
from reconspider.
Not the exact solution but following one of the comment in this answer and another issue which is similar to this, here.
Downgrading the setuptools
below 60 doesn't help much and adding the py_modules=[]
as a keyword argument to the setup()
function in setup.py, solves this error but now there is a new problem, (traceback, attribute error). Here is the pastebin.
We get the same error in the archlinux installation as well, doing a similar change in the archlinux by adding the py_modules=[]
as a keyword argument to the setup()
function in setup.py, solves the error but you get an error saying error: urllib3 2.0.0a2 is installed but urllib3<1.27,>=1.21.1 is required by {'requests'}
, here is the pastebin for it, and installing the required version pip install urllib3==1.21.1
and removing the urllib3
from the install_requires
in setup.py solves the issues and installation will be successful.
But doing the same on kali linux even though it is not necessary, it does not solve the issue.
from reconspider.
Same error on the latest Kali Linux. The workarounds described above do not work...
from reconspider.
The setuptools
package shows some deprecation warning, and you should use pip and build instead of install.
I fixed the issue with first installing the required dependencies with:
pip3 install shodan requests prompt_toolkit wget beautifulsoup4 click urllib3 IP2proxy wget paramiko h8mail nmap pythonping whois gmplot pillow lxml tweepy
Next, I removed the setuptools parts from the setup.py file:
import os
import pip
fout = open("core/config.py", "w")
# Shodan.io API (https://developer.shodan.io/api)
fout.write("shodan_api = " + '"' + "e9SxSRCE1xDNS4CzyWzOQTUoE55KB9HX" + '"' + "\n")
fout.close()
fout = open("plugins/api.py", "w")
# NumVerify API (https://numverify.com/documentation)
fout.write("def phoneapis():"+ "\n")
fout.write(" api= "+ '"' + "ecf584dd7bccdf2c152fdf3f5595ba20" + '"' + "\n")
# IP Stack API (https://ipstack.com/documentation)
fout.write(" return str(api)"+ "\n")
fout.write("def ipstack():"+ "\n")
fout.write(" api="+ '"' +"406792616a740641c6a0588a0ee1c509"+ '"' + "\n")
fout.write(" return str(api)"+ "\n")
# Google Maps API (hhttps://developers.google.com/maps/documentation/places/web-service/get-api-key)
fout.write("def gmap():"+ "\n")
fout.write(" api="+ '"' +"AIzaSyBY9Rfnjo3UWHddicUrwHCHY37OoqxI478"+ '"' + "\n")
fout.write(" return str(api)"+ "\n")
fout.close()
try:
import wget
except Exception as e:
print(e)
pip.main(['install','wget'])
import wget
# ip2 Location Database (https://lite.ip2location.com/database/px8-ip-proxytype-country-region-city-isp-domain-usagetype-asn-lastseen?lang=en_US)
url="https://www.ip2location.com/download?token=hg5uYe2Jvri4R7P1j8b71Pk8dnvIU2M6A9jz2tvcVtGx8ZK2UPQgzr6Hk3cV68oH&file=PX8LITEBIN"
print('\nDownloading IP2PROXY-IP-PROXYTYPE-COUNTRY-REGION-CITY-ISP-DOMAIN-USAGETYPE-ASN-LASTSEEN.BIN...')
filepath=os.getcwd()+"/plugins/"
wget.download(url,out=filepath)
print('\nDownload Finished')
import zipfile
print('\nExtracting Files')
with zipfile.ZipFile(filepath+"IP2PROXY-LITE-PX8.BIN.ZIP","r") as zip_ref:
zip_ref.extract("IP2PROXY-LITE-PX8.BIN",filepath)
print("\nInstallation Successfull")
print("\n\nNote: APIs included in ReconSpider are FREE and having limited & restricted usage per month, Please update the current APIs with New APIs in setup.py file, and re-install once done.")
print("\nWarning: Not updating the APIs can result in not showing the expected output or it may show errors.")
Now you can run the setup.py again to download the remaining parts: sudo python3 setup.py
, and the setup should be completed.
from reconspider.
─# pip3 install reconspider.py
ERROR: Could not find a version that satisfies the requirement reconspider.py (from versions: none)
ERROR: No matching distribution found for reconspider.py
from reconspider.
sudo python3 setup.py
pip3 seem to have a depracated nmap version and will not install it, installing it using sudo apt install nmap or pip install nmap does not resolve the issue since when running the setup again it does not see it and will give the following message :
\ Searching for nmap
Reading https://pypi.org/simple/nmap/
No local packages or working download links found for nmap
error: Could not find suitable distribution for Requirement.parse('nmap')
from reconspider.
Related Issues (20)
- no module named 'pip' HOT 2
- Not work HOT 1
- Potential Security Issue
- Domain ports fails HOT 2
- installing issue HOT 2
- No location of phone number, Couldn't find target profile!
- On wget.py Line 269 has a coding error, please fix
- Email breach not work. (hunter.io reach upper limited) HOT 2
- raceback (most recent call last): File "/root/reconspider/setup.py", line 3, in <module> import pip ModuleNotFoundError: No module named 'pip' HOT 2
- installation HOT 3
- I have a problem with the instalation, this appears: HOT 2
- header
- i have issue in the installation of reconspider, please help me
- └─# python3 reconspider.py
- Issue with setup.py
- Support IP2Location.io IP geolocation API in plugins/ipaddress.py
- Installation fails on clean Ubuntu 20.04 LTS
- Issue with setup.py HOT 3
- setup error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reconspider.