8000 Download bulk acquisition fails. · Issue #8 · fireeye/HXTool · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Download bulk acquisition fails. #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bw-0 opened this issue Jun 4, 2020 · 2 comments · Fixed by #1
Closed

Download bulk acquisition fails. #8

bw-0 opened this issue Jun 4, 2020 · 2 comments · Fixed by #1
Assignees
Labels
bug Something isn't working
Milestone

Comments

@bw-0
Copy link
bw-0 commented Jun 4, 2020

HXTool version:4.5.1.2
HX version: 5.0.0.910952

Jun  4 15:24:00 hxtool.py: [2020-06-04 15:24:00,707] {app} {Thread-18712} ERROR - Exception on /api/v1/acquisition/bulk/download [GET]
Jun  4 15:24:00 hxtool.py: Traceback (most recent call last):
Jun  4 15:24:00 hxtool.py: File "/home/hxtool/hxtoolenv/lib64/python3.6/site-packages/flask/app.py", line 2446, in wsgi_app
Jun  4 15:24:00 hxtool.py: response = self.full_dispatch_request()
Jun  4 15:24:00 hxtool.py: File "/home/hxtool/hxtoolenv/lib64/python3.6/site-packages/flask/app.py", line 1951, in full_dispatch_request
Jun  4 15:24:00 hxtool.py: rv = self.handle_user_exception(e)
Jun  4 15:24:00 hxtool.py: File "/home/hxtool/hxtoolenv/lib64/python3.6/site-packages/flask/app.py", line 1820, in handle_user_exception
Jun  4 15:24:00 hxtool.py: reraise(exc_type, exc_value, tb)
Jun  4 15:24:00 hxtool.py: File "/home/hxtool/hxtoolenv/lib64/python3.6/site-packages/flask/_compat.py", line 39, in reraise
Jun  4 15:24:00 hxtool.py: raise value
Jun  4 15:24:00 hxtool.py: File "/home/hxtool/hxtoolenv/lib64/python3.6/site-packages/flask/app.py", line 1949, in full_dispatch_request
Jun  4 15:24:00 hxtool.py: rv = self.dispatch_request()
Jun  4 15:24:00 hxtool.py: File "/home/hxtool/hxtoolenv/lib64/python3.6/site-packages/flask/app.py", line 1935, in dispatch_request
Jun  4 15:24:00 hxtool.py: return self.view_functions[rule.endpoint](**req.view_args)
Jun  4 15:24:00 hxtool.py: File "/home/hxtool/hxtoolenv/hxtool_util.py", line 51, in is_session_valid
Jun  4 15:24:00 hxtool.py: ret = f(*args, **kwargs)
Jun  4 15:24:00 hxtool.py: File "/home/hxtool/hxtoolenv/hxtool_api.py", line 546, in hxtool_api_acquisition_bulk_download
Jun  4 15:24:00 hxtool.py: bulk_acquisition_hosts[host['host']['_id']] = {'downloaded' : False, 'hostname' :  host['host']['hostname']}
Jun  4 15:24:00 hxtool.py: KeyError: 'hostname'

Thanks in advance, B

@B0fH
Copy link
Contributor
B0fH commented Jun 4, 2020

Edit: Scratch that. I saw you posted the version information above.

So this is a known issue, the current version of HXTool 4.5.1.2 is not compatible with Endpoint Security (HX) 5.0 due to a bug in hx_lib.py - which was fixed in the tagged PR. The simplest fix is to replace your current hx_lib.py with the one from master: https://raw.githubusercontent.com/fireeye/HXTool/master/hx_lib.py

We're hoping to release 4.6 shortly, though we have no ETA yet.

I'm going to leave this open in case other folks run into this issue as well.

Thanks,
Elazar

@B0fH B0fH self-assigned this Jun 4, 2020
@B0fH B0fH added question Further information is requested bug Something isn't working and removed question Further information is requested labels Jun 4, 2020
@B0fH B0fH linked a pull request Jun 4, 2020 that will close this issue
@B0fH B0fH pinned this issue Jun 4, 2020
@B0fH B0fH added this to the 4.6 milestone Jun 4, 2020
@B0fH
Copy link
Contributor
B0fH commented Nov 5, 2020

Closing this now that 4.6 has been released.

@B0fH B0fH closed this as completed Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0