gelim / censys Goto Github PK
View Code? Open in Web Editor NEWPython code to query the Censys public scan database.
Python code to query the Censys public scan database.
File ".\censys_io.py", line 87 print final_line.strip("\t") ^ SyntaxError: invalid syntax
How I can fix it?
Running on windows 10 python 3.7 and all requirements installed
in README.md you write
They don't store http content on https scans.
they do. look at 443.https.get.title
or 443.https.get.body
... basically swap http
for https
when using port 443 scan data.
On line 330, I get an error while I run the script:
Traceback (most recent call last):
File "./censys_io.py, line 330, in
match = unicode(args.match)
NameError: name 'unicode' is not defined
Same error depends on arguments used for line 403, 117. Probably lines 118-123, 149, 190 are also impacted.
When I run 'censys_io.py', this error is showing
โโ# python censys_io.py
Traceback (most recent call last):
File "censys_io.py", line 6, in
from censys.ipv4 import *
ImportError: No module named censys.ipv4
how can i solve this problem?
this would happen if you looked up cert-org ""linkedin*" with the --tsv flag
Number of results: 4198
Traceback (most recent call last):
File "censys_io.py", line 401, in <module>
print_tsv(e)
File "censys_io.py", line 87, in print_tsv
print final_line.strip("\t")
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe3' in position 11: ordinal not in range(128)
Traceback (most recent call last):
File "censys_io.py", line 357, in
count = q.report(s, "updated_at")['metadata']['count']
KeyError: 'metadata'
Hi there - I get the following error - any ideas?
$ ./censys_io.py "censys.io"
Number of results: 12
Traceback (most recent call last):
File "censys_io.py", line 327, in <module>
print_short(e)
File "censys_io.py", line 61, in print_short
as_num = res.get('autonomous_system.asn', [''])[0]
TypeError: 'int' object has no attribute '__getitem__'
Verbose queries work ok:
$ ./censys_io.py "censys.io" --limit 1 --verbose
Number of results: 12
{u'443': {u'https': {u'dhe': {u'metadata': {}, u'support': False},
u'dhe_export': {u'metadata': {}, u'support': False},
u'heartbleed': {u'heartbeat_enabled': False,
u'heartbleed_vulnerable': False,
u'metadata': {}},
u'rsa_export': {u'metadata': {}, u'support': False},
<snip>
Versions
gelim/censys version: 99c1a3b4d3831e7bcedd4185f4d7476a4701c0cf
censys:
Name: censys
Version: 0.0.7 ````
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.