Giter Site home page Giter Site logo

bhavsec / reconspider Goto Github PK

View Code? Open in Web Editor NEW
1.9K 68.0 300.0 64.27 MB

πŸ”Ž Most Advanced Open Source Intelligence (OSINT) Framework for scanning IP Address, Emails, Websites, Organizations.

License: GNU General Public License v3.0

Python 100.00%
osint python recon framework pentest security hacking information-gathering scanner automated

reconspider's Introduction

πŸ‘‹ Hi there, I'm Bhavkaran Singh Chahal - aka bhavsec

Website Twitter Follow YouTube Channel Subscribers YouTube Channel Views GitHub Org's stars

  • Information security enthusiast with strong interest in penetration testing and offensive security.
  • Strong background in security tools, emerging technologies, processes and best practices.
  • An author of ReconSpider an Open Source Intelligence (OSINT) security tool.
  • Reported Security Vulnerabilities in Netherlands Government, Dell, Sophos etc.

πŸ“• My Blog Posts


πŸ“Ί My Popular YouTube Videos


πŸŽ“ Certification Badges

πŸ“ˆ GitHub Statistics

bhavsec's GitHub stats

Top Langs


Connect with me:

bhavsec.com bhavsec | Twitter bhavsec | LinkedIn bhavsec | Instagram bhavsec | Facebook bhavsec | YouTube

reconspider's People

Contributors

aravindha1234u avatar bhavsec avatar ishanbatish avatar parshantdhall avatar r00t7131 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

reconspider's Issues

Issue with setup.py

When i run the following command, from inside the reconspider directory:
sudo python3 setup.py install

I get the following error:

"/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'console'
warnings.warn(msg)
error: Multiple top-level packages discovered in a flat-layout: ['core', 'plugins'].

To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.

If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:

  1. set up custom discovery (find directive with include or exclude)
  2. use a src-layout
  3. explicitly set py_modules or packages with a list of names

To find more information, look for "package discovery" on setuptools docs."

What seems to be the issue and how do I solve this?

Mail Breach and Username doesn't work

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.
Self-Explanatory title.

installing issue

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.
While installing showing the wheel package is not available

setup error

$sudo python3 setup.py install
/usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'console'
warnings.warn(msg)
error: Multiple top-level packages discovered in a flat-layout: ['core', 'plugins'].

To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.

If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:

  1. set up custom discovery (find directive with include or exclude)
  2. use a src-layout
  3. explicitly set py_modules or packages with a list of names

To find more information, look for "package discovery" on setuptools docs.

i have issue in the installation of reconspider, please help me

└─# python3 setup.py install
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:264: UserWarning: Unknown distribution option: 'console'
warnings.warn(msg)
error: Multiple top-level packages discovered in a flat-layout: ['core', 'plugins'].

To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.

If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:

  1. set up custom discovery (find directive with include or exclude)
  2. use a src-layout
  3. explicitly set py_modules or packages with a list of names

To find more information, look for "package discovery" on setuptools docs.

how to fix this, please help me

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

No module named fullcontact

ModuleNotFoundError: No module named 'fullcontact'
I've tried with python3 and python2.
I was not able to install pip3 on termux.

Support IP2Location.io IP geolocation API in plugins/ipaddress.py

I would like to introduce the IP2Location.io IP geolocation API. It has the following advantages compare to other API providers.

  • Fast - one of the fastest API in the market using multi-location servers and anycast technology
  • Accurate - based on IP2Location and IP2Proxy database which is available since 2002
  • Free - free tier with 30,000 queries monthly available to all users who sign-up online

Please consider IP2Location.io as one of the database source in ReconSpider. Feel free to ping me if you have any questions.

Thank you.

tool to consider

Is your feature request related to a problem? Please describe.
info gathering is a bit slow, plus sometimes i face bugs with whois.

Describe the solution you'd like
You could use spyse API for most searches like DNS, IP, Port, Whois etc...

Additional context
They regularly scan the web and add all the data to own DB so you don't need to wait for the results.

i hope it will help

Error while using URL

Describe the bug
Reconspider >> 2 URL >> https://github.com Traceback (most recent call last): File "reconspider.py", line 32, in <module> from core import repl_prompt File "D:\reconspider\core\__init__.py", line 1, in <module> from .repl_prompt import * File "D:\reconspider\core\repl_prompt.py", line 91, in <module> repl() File "D:\reconspider\core\repl_prompt.py", line 41, in repl url = socket.gethostbyname(url_inp) # URL to IP address conversion socket.gaierror: [Errno 11001] getaddrinfo failed

To Reproduce
Steps to reproduce the behavior:

  1. Searching URL

Expected behavior
URL data will be shown below

Desktop (please complete the following information):

  • OS: [Window]
  • Browser [chrome]
  • Version [Window 10, Chrome 75]

header

Describe the bug
When I launch the program, I receive these errors.

usr/share/reconspider/plugins/webosint/crawler.py:150: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if len(total) is not 0:
/usr/share/reconspider/plugins/webosint/crawler.py:168: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if len(r_total) is not 0:
/usr/share/reconspider/plugins/webosint/crawler.py:172: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if len(sm_total) is not 0:
/usr/share/reconspider/plugins/webosint/crawler.py:176: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if len(css_total) is not 0:
/usr/share/reconspider/plugins/webosint/crawler.py:180: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if len(js_total) is not 0:
/usr/share/reconspider/plugins/webosint/crawler.py:184: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if len(int_total) is not 0:
/usr/share/reconspider/plugins/webosint/crawler.py:188: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if len(ext_total) is not 0:
/usr/share/reconspider/plugins/webosint/crawler.py:192: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if len(img_total) is not 0:

To Reproduce
use the syntax to launch
"python3 reconspider.py"

Expected behavior
To launch without errors

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
up to date kali

Smartphone (please complete the following information):
NA

Additional context
Add any other context about the problem here.

MAC address info NOT WORKING

MAC ADDRESS LOOKUP (Eg:08:00:69:02:01:FC) >> D2:C3:00:00:00:00

Traceback (most recent call last):
File "reconspider.py", line 39, in
from core import repl_prompt
File "/root/reconspider/core/init.py", line 1, in
from .repl_prompt import *
File "/root/reconspider/core/repl_prompt.py", line 153, in
repl()
File "/root/reconspider/core/repl_prompt.py", line 99, in repl
MacAddressLookup(mac)
File "/root/reconspider/plugins/macaddress.py", line 6, in MacAddressLookup
result=response.json()
File "/usr/local/lib/python3.8/dist-packages/requests/models.py", line 897, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3/dist-packages/simplejson/init.py", line 525, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

OS: Linux (parrot)
Browser: firefox (default)
version: latest for everything

I dosen't know what is this but after installation of reconspider it is saying me this

/data/data/com.termux/files/usr/lib/python3.9/site-packages/Pillow-8.0.1-py3.9-linux-armv7l.egg/PIL/Image.py:115: RuntimeWarning: The _imaging extension was built for another version of Pillow or PIL:
Core version: None
Pillow version: 8.0.1
Traceback (most recent call last):
File "/data/data/com.termux/files/home/reconspider/reconspider.py", line 39, in
from core import repl_prompt
File "/data/data/com.termux/files/home/reconspider/core/init.py", line 1, in
from .repl_prompt import *
File "/data/data/com.termux/files/home/reconspider/core/repl_prompt.py", line 11, in
from plugins.metadata import gps_analyzer
File "/data/data/com.termux/files/home/reconspider/plugins/metadata.py", line 2, in
from PIL import Image
File "", line 259, in load_module
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/Pillow-8.0.1-py3.9-linux-armv7l.egg/PIL/Image.py", line 97, in
ImportError: The _imaging extension was built for another version of Pillow or PIL:
Core version: None
Pillow version: 8.0.1

twitter information dosen't work

Reconspider >> 11

1.Facebook
2.Twitter
3.Instagram

Username >> tsurugi_linux
choice >> 2
User Name --> Not Found'NoneType' object has no attribute 'text'

User Id --> Not Found'NoneType' object has no attribute 'text'

Decription not provided by the user'NoneType' object has no attribute 'text'

Location not provided by the user'NoneType' object has no attribute 'text'

No contact link is provided by the user'NoneType' object has no attribute 'a'

The joined date is not provided by the user'NoneType' object has no attribute 'text'

Birth Date not provided by the user'NoneType' object has no attribute 'span'

Total Tweets --> Zerolist index out of range

Following --> Zerolist index out of range

Followers --> Zerolist index out of range

Likes send by him --> Zerolist index out of range

Traceback (most recent call last):
File "/home/osint/reconspider/plugins/Username.py", line 192, in ScrapTweets
if span_box[4].text != "More ":
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "reconspider.py", line 39, in
from core import repl_prompt
File "/home/osint/reconspider/core/init.py", line 1, in
from .repl_prompt import *
File "/home/osint/reconspider/core/repl_prompt.py", line 153, in
repl()
File "/home/osint/reconspider/core/repl_prompt.py", line 121, in repl
user(choice,username)
File "/home/osint/reconspider/plugins/Username.py", line 10, in user
ScrapTweets(username)
File "/home/osint/reconspider/plugins/Username.py", line 197, in ScrapTweets
print("No. of parties he is Subscribed to --> Zero" + + str(e))
TypeError: bad operand type for unary +: 'str'

Email breach not work. (hunter.io reach upper limited)

When I type https://api.hunter.io/v2/domain-search?domain=google.com&api_key=9f189e87e011a1d2f3013ace7b14045dec60f62c

It returns

{
  "errors": [
    {
      "id": "too_many_requests",
      "code": 429,
      "details": "You've reached the limit for the number of searches per billing period included in your plan."
    }
  ]
}

Install setup.py: PyPi.rst no such file

While trying to install setup.py I am met with this error
pi@raspberrypi:~/reconspider $ sudo python setup.py install
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'console'
warnings.warn(msg)
running install
running bdist_egg
running egg_info
writing requirements to ReconSpider.egg-info/requires.txt
writing ReconSpider.egg-info/PKG-INFO
writing top-level names to ReconSpider.egg-info/top_level.txt
writing dependency_links to ReconSpider.egg-info/dependency_links.txt
reading manifest file 'ReconSpider.egg-info/SOURCES.txt'
writing manifest file 'ReconSpider.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-armv7l/egg
running install_lib
warning: install_lib: 'build/lib.linux-armv7l-2.7' does not exist -- no Python modules to install

creating build/bdist.linux-armv7l/egg
creating build/bdist.linux-armv7l/egg/EGG-INFO
copying ReconSpider.egg-info/PKG-INFO -> build/bdist.linux-armv7l/egg/EGG-INFO
copying ReconSpider.egg-info/SOURCES.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying ReconSpider.egg-info/dependency_links.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying ReconSpider.egg-info/requires.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying ReconSpider.egg-info/top_level.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/ReconSpider-1.0.5-py2.7.egg' and adding 'build/bdist.linux-armv7l/egg' to it
removing 'build/bdist.linux-armv7l/egg' (and everything under it)
Processing ReconSpider-1.0.5-py2.7.egg
Removing /usr/local/lib/python2.7/dist-packages/ReconSpider-1.0.5-py2.7.egg
Copying ReconSpider-1.0.5-py2.7.egg to /usr/local/lib/python2.7/dist-packages
ReconSpider 1.0.5 is already the active version in easy-install.pth

Installed /usr/local/lib/python2.7/dist-packages/ReconSpider-1.0.5-py2.7.egg
Processing dependencies for ReconSpider==1.0.5
Searching for h8mail
Reading https://pypi.org/simple/h8mail/
Downloading https://files.pythonhosted.org/packages/e7/91/27a978ec885c703364bf485320c16a0a0a0970462ed43af764e466f29c44/h8mail-2.5.4.tar.gz#sha256=9f7b5d8d040f07a41bf0495bf0129672af235bdc27ab941c16ea5552913d5273
Best match: h8mail 2.5.4
Processing h8mail-2.5.4.tar.gz
Writing /tmp/easy_install-TA4en1/h8mail-2.5.4/setup.cfg
Running h8mail-2.5.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-TA4en1/h8mail-2.5.4/egg-dist-tmp-vJcMoh
error: [Errno 2] No such file or directory: 'PyPi.rst'

Help please

Domain ports fails

Describe the bug
Port unavaible: 443
Reconspider >> 2
HOST (URL / IP) >> nor3d.no
PORT >> 443
Invalid port - Available(80,443)
HOST (URL / IP) >>

To Reproduce
Reconspider >> 2
HOST (URL / IP) >> nor3d.no
PORT >> 443
Invalid port - Available(80,443)
HOST (URL / IP) >>

Desktop (please complete the following information):

  • OS: Kali Linux
  • 5.10.0-kali7-amd64 #1 SMP Debian 5.10.28-1kali1 (2021-04-12) x86_64 GNU/Linux
    Python 3.9.2

[Request] pip package

Is your feature request related to a problem? Please describe.
Not really a problem but, it would make reconspider more accessible.
Also, it makes reconspider easier to install and keep upto date.Can you please provide a pip

Describe the solution you'd like
Can you please provide a pip package.

Describe alternatives you've considered

Additional context

Grammar, Spelling, and Formatting need improvement

Looking through this repository I've noticed that there are quite a few issues with the grammar, spelling, and formatting of various features. Anyone fluent in English who is up to the task should spend sometime reading over the files to improve them. I intend to work more on this repository in that direction in the future. Please see my latest pull request for an example.

Not work

any option chosen generates errors, for example option 9

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
conn = connection.create_connection(
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 61, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib/python3.9/socket.py", line 953, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 670, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 392, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/lib/python3.9/http/client.py", line 1255, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1301, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1250, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1010, in _send_output
self.send(msg)
File "/usr/lib/python3.9/http/client.py", line 950, in send
self.connect()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 187, in connect
conn = self._new_conn()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 171, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f6eddbaa4c0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 724, in urlopen
retries = retries.increment(
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 439, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='api.ipstack.com', port=80): Max retries exceeded with url: /104.238.58.62?access_key=276cfee2c31729505691e515e8321a02 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f6eddbaa4c0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/f3n1x/PROJECTS/reconspider/reconspider.py", line 39, in
from core import repl_prompt
File "/home/f3n1x/PROJECTS/reconspider/core/init.py", line 1, in
from .repl_prompt import *
File "/home/f3n1x/PROJECTS/reconspider/core/repl_prompt.py", line 153, in
repl()
File "/home/f3n1x/PROJECTS/reconspider/core/repl_prompt.py", line 104, in repl
IPHeatmap()
File "/home/f3n1x/PROJECTS/reconspider/plugins/ipaddress.py", line 26, in IPHeatmap
read_single_IP(IP)
File "/home/f3n1x/PROJECTS/reconspider/plugins/ipaddress.py", line 40, in read_single_IP
r = requests.get("http://api.IPstack.com/" + IP + "?access_key=" + api_key)
File "/usr/lib/python3/dist-packages/requests/api.py", line 76, in get
return request('get', url, params=params, **kwargs)
File "/usr/lib/python3/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='api.ipstack.com', port=80): Max retries exceeded with url: /104.238.58.62?access_key=276cfee2c31729505691e515e8321a02 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f6eddbaa4c0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

Requirments.parse nmap

Got this error msg running "setup.py." Anybody know how to fix this? Running on Mint. I have nmap installed separately and it works by itself. I have ran and setup the program before on Kali but cant seem to get it to work on Mint. I see the site it is linking to does not infact have any links like the error says. Help is appreciated. Thank you.

Processing dependencies for ReconSpider==1.0.7
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')

On wget.py Line 269 has a coding error, please fix

File "/usr/local/lib/python3.8/dist-packages/wget-3.2-py3.8.egg/wget.py", line 269, in filename_fix_existing
ValueError: not enough values to unpack (expected 2, got 1)

name, ext = filename.rsplit('.', 1)

Cannot search Whois

Describe the bug
Cannot search whois, picture attacted below
I can see few errors while installation, could you explain what is it please :)?
writing manifest file 'ReconSpider.egg-info\SOURCES.txt' installing library code to build\bdist.win32\egg running install_lib warning: install_lib: 'build\lib' does not exist -- no Python modules to install
Installed d:\program files\python\lib\site-packages\click_plugins-1.1.1-py3.7.egg error: The 'click' distribution was not found and is required by shodan

To Reproduce
Steps to reproduce the behavior:

  1. Follow the installation in documentation

Expected behavior
Whois data will be shown below

Screenshots
image

Desktop (please complete the following information):

  • OS: [windows]
  • Browser [chrome]
  • Version [10]

└─# python3 reconspider.py

          └─# 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)

Originally posted by @lonewolf-jock in #64 (comment)

Potential Security Issue

πŸ‘‹ Hello, we've received a report for a potential high severity security issue in your repository.

Next Steps

1️⃣ Visit https://huntr.dev/bounties/1-other-bhavsec/reconspider for more advisory information.

2️⃣ Sign-up to validate or speak to the researcher for more assistance.

3️⃣ Propose a patch or outsource it to our community.


Confused or need more help?

  • Join us on our Discord and a member of our team will be happy to help! πŸ€—

  • Speak to a member of our team: @JamieSlome


This issue was automatically generated by huntr.dev - a bug bounty board for securing open source code.

I have a problem with the instalation, this appears:

β”Œβ”€β”€(kaliγ‰Ώkali)-[~/reconspider]
└─$ sudo python3 setup.py install

/usr/local/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'console'
warnings.warn(msg)
running install
running bdist_egg
running egg_info
writing ReconSpider.egg-info/PKG-INFO
writing dependency_links to ReconSpider.egg-info/dependency_links.txt
writing requirements to ReconSpider.egg-info/requires.txt
writing top-level names to ReconSpider.egg-info/top_level.txt
reading manifest file 'ReconSpider.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'ReconSpider.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
warning: install_lib: 'build/lib' does not exist -- no Python modules to install

creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying ReconSpider.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ReconSpider.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ReconSpider.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ReconSpider.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ReconSpider.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/ReconSpider-1.0.7-py3.10.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing ReconSpider-1.0.7-py3.10.egg
Removing /usr/local/lib/python3.10/site-packages/ReconSpider-1.0.7-py3.10.egg
Copying ReconSpider-1.0.7-py3.10.egg to /usr/local/lib/python3.10/site-packages
ReconSpider 1.0.7 is already the active version in easy-install.pth

Installed /usr/local/lib/python3.10/site-packages/ReconSpider-1.0.7-py3.10.egg
Processing dependencies for ReconSpider==1.0.7
Searching for tweepy
Reading https://pypi.org/simple/tweepy/
Download error on https://pypi.org/simple/tweepy/: unknown url type: https -- Some packages may not be found!
Couldn't find index page for 'tweepy' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.org/simple/
Download error on https://pypi.org/simple/: unknown url type: https -- Some packages may not be found!
No local packages or working download links found for tweepy
error: Could not find suitable distribution for Requirement.parse('tweepy')

Issue running setup.py

Describe the bug
When i run the install command "python3 setup.py install" i get the following output

/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:264: UserWarning: Unknown distribution option: 'console'
warnings.warn(msg)
error: Multiple top-level packages discovered in a flat-layout: ['core', 'plugins'].

To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.

If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:

  1. set up custom discovery (find directive with include or exclude)
  2. use a src-layout
  3. explicitly set py_modules or packages with a list of names.

To find more information, look for β€œpackage discovery” on setup tools docs.
reconspidererror

To Reproduce
Steps to reproduce the behavior:

  1. run "python3 setup.py install" without the quotes of course
    2.) see message described above

Expected behavior
the install script to run without issue

Screenshots
see attached image

Desktop (please complete the following information):

  • OS: Kali Linux
  • Browser Firefox
  • Version: 2022.3

Additional context
i apologize if this was already covered somewhere but i didn't see it, but if not then I'm hoping someone could lend some advice or suggestions my way for some help on this

Error when using Phone Number option

Describe the bug
Error when using Phone Number option

To Reproduce
Steps to reproduce the behavior:

  1. Run python3 reconspider.py
  2. Input '3' when prompted
  3. Input the phone number - PHONE NUMBER (919485247632) >> 919485247632
  4. See error :
Reconspider >> 3
PHONE NUMBER (919485247632) >> 919485247632
[+] Fetching Phonenumber Details...

Traceback (most recent call last):
  File "reconspider.py", line 39, in <module>
    from core import repl_prompt
  File "/root/reconspider/core/__init__.py", line 1, in <module>
    from .repl_prompt import *
  File "/root/reconspider/core/repl_prompt.py", line 153, in <module>
    repl()
  File "/root/reconspider/core/repl_prompt.py", line 64, in repl
    Phonenumber(ph)
  File "/root/reconspider/plugins/Phonenumber.py", line 17, in Phonenumber
    print("Number: "+get['number'])
KeyError: 'number'

Desktop (please complete the following information):

  • OS: Ubuntu 20.04 LTS
  • Terminal

Still error on phonenumber option

Still showing this error...

please fix this asap,

Traceback (most recent call last):
File "reconspider.py", line 39, in
from core import repl_prompt
File "/home/srk/Tools/Osint/reconspider/core/init.py", line 1, in
from .repl_prompt import *
File "/home/srk/Tools/Osint/reconspider/core/repl_prompt.py", line 153, in
repl()
File "/home/srk/Tools/Osint/reconspider/core/repl_prompt.py", line 64, in repl
Phonenumber(ph)
File "/home/srk/Tools/Osint/reconspider/plugins/Phonenumber.py", line 17, in Phonenumber
print("Number: "+get['number'])
KeyError: 'number'

searching phone numbers by the this tools why dont use social meadi accounts with login ids

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Installation fails on clean Ubuntu 20.04 LTS

Describe the bug
Install fails on clean and updated ubuntu 20.04 build
sudo apt update
sudo apt upgrade

To Reproduce
Steps to reproduce the behavior:
sudo python3 setup.py install

Expected behavior
Install completes successfully

Screenshots
image

Environment

  • Ubuntu 20.04
  • bash shell

Additional context
Workaround applied:
sudo apt install nmap -y
sudo pip3 install -U python-nmap

  • remove "nmap", from setup.py line 37

image

Then run
sudo python3 setup.py install

IMO
Overall may be best to list pre-requisite as having nmap installed through apt and changing nmap in setup.py to python-nmap

Import Error: No module named clearbit

After installation, starting reconspider returns:

Traceback (most recent call last):
File "reconspider.py", line 1, in
from main import argparse
File "/root/Documents/recon/reconspider/main/init.py", line 1, in
from .args import *
File "/root/Documents/recon/reconspider/main/args.py", line 1, in
from modules import ipEnum, domEnum, domWhois, comDetail, fetchData, socket
File "/root/Documents/recon/reconspider/modules/init.py", line 1, in
from .company import *
File "/root/Documents/recon/reconspider/modules/company.py", line 2, in
import requests, json, clearbit, os
ImportError: No module named clearbit

Any ideas?

I am on Kali Linux.

no module named 'pip'

When running the installation I get to the command "sudo python setup.py install"
Once I run this command I get this error:
Traceback (most recent call last):
File "setup.py", line 3, in
import pip
ImportError: No module named pip
Anyone know a fix?

Find facebook information with ID doesn't work

Log:


1.Facebook 
2.Twitter 
3.Instagram

Username >> IamSRK        
choice >> 1
Traceback (most recent call last):
  File "reconspider.py", line 39, in <module>
    from core import repl_prompt
  File "/$LOCATION/reconspider/core/__init__.py", line 1, in <module>
    from .repl_prompt import *
  File "/$LOCATION/reconspider/core/repl_prompt.py", line 153, in <module>
    repl()
  File "/$LOCATION/reconspider/core/repl_prompt.py", line 121, in repl
    user(choice,username)
  File "/$LOCATION/reconspider/plugins/Username.py", line 76, in user
    find_name()
  File "/$LOCATION/reconspider/plugins/Username.py", line 34, in find_name
    name = main_div.find(id="fb-timeline-cover-name").get_text()
AttributeError: 'NoneType' object has no attribute 'get_text'

Requirements.txt is not found

Describe the bug
once install runs it seems to run into the error of 'requirements.txt is not found'

To Reproduce
Steps to reproduce the behavior:

  1. git clone it
  2. run the install.py
  3. See error

Expected behavior
requirements.txt to be found

Screenshots
image

Desktop (please complete the following information):

  • OS: ParrotOS (up to date)
  • Browser: Firefox
  • Version: latest

error using Phone number option

When using phone number option,
Program Terminates when the user enters a number

Traceback (most recent call last):
File "reconspider.py", line 39, in
from core import repl_prompt
File "/home/srk/Tools/Osint/reconspider/core/init.py", line 1, in
from .repl_prompt import *
File "/home/srk/Tools/Osint/reconspider/core/repl_prompt.py", line 153, in
repl()
File "/home/srk/Tools/Osint/reconspider/core/repl_prompt.py", line 64, in repl
Phonenumber(ph)
File "/home/srk/Tools/Osint/reconspider/plugins/Phonenumber.py", line 17, in Phonenumber
print("Number: "+get['number'])
KeyError: 'number'

Domian choice could not choose PORT and repeat again and again

Describe the bug
Domian choice could not choose PORT and repeat again and again

To Reproduce
Steps to reproduce the behavior:

  1. start reconspider
  2. Choose 2
  3. Input Domain
  4. Input Port, My input is 80
  5. Invalid port - Available(80,443)

Screenshots
image

Desktop (please complete the following information):

  • OS: WSL
  • Browser Chrome
  • Version Latest

Additional context
I try to slove by this:
image

installation

Is your feature request related to a problem? Please describe.
message when i run the script:
Seems like you haven't installed Requirements or You are not using python3 version, Please install using: python3 setup.py install

Describe the solution you'd like
i have python3 installed

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Issue with setup.py

I delated setup() from code, and install with pip requriments, like in other issue #64 but i got that, when i run setup.py

sudo python3 setup.py install

Downloading IP2PROXY-IP-PROXYTYPE-COUNTRY-REGION-CITY-ISP-DOMAIN-USAGETYPE-ASN-LASTSEEN.BIN...
-1 / unknownTraceback (most recent call last):
File "/home/kali/Programs/PROJECT HACKINGTOOL/InformationGathering/reconspider/setup.py", line 40, in
wget.download(url,out=filepath)
File "/usr/local/lib/python3.11/dist-packages/wget.py", line 533, in download
filename = filename_fix_existing(filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/wget.py", line 269, in filename_fix_existing
name, ext = filename.rsplit('.', 1)
^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.