Open thehappydinoa opened 2 years ago
Umm you can check to see if "me" and "CensusIpv4" are available pip3 installations on Python 3. Just Google it to see if it's a Python dependency.
If it is then just run the pip3 install me. Or whateber command and run the module again.
That was the first I tried, but I didn't find nothing. Instead the manual of censys python https://censys-python.readthedocs.io/_/downloads/en/v1.0.1/pdf/ in page 5 says "Python class objects must be initialized for each resource index (IPv4 addresses, Websites, and Certificates). • CensysIPv4 • CensysWebsites • CensysCertificates
I've my api and secret key installed, and I'm playing around with this, but my python knowledge aren't the best..
Okay, I got you now. Most likely, this will take a code change. The file in /usr/lib/python3.10/site-packages/censys/search/init.py , the api call needs to be updated to retrieve the objects for "me & CensusIpv4," I don't have the time to look at it currently but if anyone can pick up from this post to update that, it may not be that much work. Worst case scenario, they would have to check the API called from that script and test on the browser to see the output from the API call template and then map the objects on python.
Hi @saltasatelites and @RafatKhandaker,
We need to switch the module to use the CensysHosts
index that implements the new Censys Search v2 API. This requires a complete rewrite and will take some time. Thank you for your patience.
Ok, thanks for your answer.
@saltasatelites I have upgraded the modules to fix this error, I have also submitted a PR to the recon-ng-marketplace
. You are however able to upgrade using the install.sh
found in this project. I will close this issue when it is merged in.
Ok, thanks. Any important info I tell you.
still has that error for me
[!] Module 'recon/domains-companies/censys_companies' disabled. Dependency required: 'me 'CensysIPv4' from 'censys.search' (/usr/lib/python3/dist-packages/censys/search/init.py)'.
[!] Module 'recon/netblocks-companies/censys_netblock_company' disabled. Dependency required: 'me 'CensysIPv4' from 'censys.search' (/usr/lib/python3/dist-packages/censys/search/init.py)'.
a few more like those ones and then this one
[!] Module 'recon/companies-domains/censys_subdomains' disabled. Dependency required: 'me 'CensysCertificates' from 'censys.search' (/usr/lib/python3/dist-packages/censys/search/init.py)'.
i followed instructions here and no change.
[!] Module 'recon/companies-domains/censys_subdomains' disabled. Dependency required: 'me 'CensysCertificates' from 'censys.search' (/home/user/.local/lib/python3.11/site-packages/censys/search/init.py)'.
was a fix ever found for this?
Hello,
I have no intention of make cross posting, I've continue a topic in recon-ng (#149) with this issue because I'm not sure if this problem is with recon-ng, python-censys or python 3.10. I'm running Recon-ng in Archlinux. All the dependencies installed with pacman, and recon-ng compiled from github. Python-censys version 2.1.2.
This is the output of the modules that use censys:
Thanks
Originally posted by @saltasatelites in https://github.com/censys/censys-recon-ng/issues/4#issuecomment-1021526108