Skip to content

Commit

Permalink
Merge pull request #925 from p-l-/pre-release
Browse files Browse the repository at this point in the history
Pre-release fixes
  • Loading branch information
p-l- committed Apr 25, 2020
2 parents 3ce6e92 + 08d608a commit 0671a85
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
1 change: 1 addition & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ ivre/view.py
ivre/xmlnmap.py
ivre/zgrabout.py
ivre/analyzer/__init__.py
ivre/analyzer/dicom.py
ivre/analyzer/ike.py
ivre/db/__init__.py
ivre/db/elastic.py
Expand Down
8 changes: 4 additions & 4 deletions ivre/db/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1926,10 +1926,10 @@ def store_scan_json_zdns(self, fname, filehash=None,
{'name': name, 'type': 'PTR',
'domains': list(utils.get_domains(name))}
for name in (
ans['answer'].rstrip('.')
for ans in answers
if (ans.get('class') == 'IN' and
ans.get('type') == 'PTR')
ans['answer'].rstrip('.')
for ans in answers
if (ans.get('class') == 'IN' and
ans.get('type') == 'PTR')
)
]
if not hostnames:
Expand Down
3 changes: 2 additions & 1 deletion ivre/keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,8 @@ def getkeys(self, host):
key = script["script"][self.scriptid]['pubkey']
yield Key(host['addr'], script["port"], "ssl", key['type'],
key['bits'],
_rsa_construct(long(key['exponent']), long(key['modulus'])),
_rsa_construct(long(key['exponent']),
long(key['modulus'])),
utils.decode_hex(script["script"][self.scriptid]['md5']))


Expand Down
4 changes: 3 additions & 1 deletion web/static/doc/dev/web-api.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ <h1>Web API<a class="headerlink" href="#web-api" title="Permalink to this headli
strings</p></li>
<li><p><strong>datesasstrings</strong> (<em>bool</em>) – to get dates as strings rather than as
timestamps</p></li>
<li><p><strong>format</strong> (<em>str</em>) – “json” (the default) or “txt”</p></li>
<li><p><strong>format</strong> (<em>str</em>) – “json” (the default), “ndjson” or “txt”</p></li>
</ul>
</dd>
<dt class="field-odd">Status Codes</dt>
Expand Down Expand Up @@ -283,6 +283,7 @@ <h1>Web API<a class="headerlink" href="#web-api" title="Permalink to this headli
strings</p></li>
<li><p><strong>datesasstrings</strong> (<em>bool</em>) – to get dates as strings rather than as
timestamps</p></li>
<li><p><strong>format</strong> (<em>str</em>) – “json” (the default) or “ndjson”</p></li>
</ul>
</dd>
<dt class="field-odd">Status Codes</dt>
Expand Down Expand Up @@ -318,6 +319,7 @@ <h1>Web API<a class="headerlink" href="#web-api" title="Permalink to this headli
strings</p></li>
<li><p><strong>datesasstrings</strong> (<em>bool</em>) – to get dates as strings rather than as
timestamps</p></li>
<li><p><strong>format</strong> (<em>str</em>) – “json” (the default) or “ndjson”</p></li>
</ul>
</dd>
<dt class="field-odd">Status Codes</dt>
Expand Down
2 changes: 1 addition & 1 deletion web/static/doc/searchindex.js

Large diffs are not rendered by default.

0 comments on commit 0671a85

Please sign in to comment.