You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the project - I got a response from the two file scanning features I think might be user error, so I wanted to ask if I need to submit all my files to VT prior to scanning them?
Here's the output; known cracked file used as test
❯ ./vt-cli.py -anf $DOWNLOADS/sublime_text.binary.cracked
[logo omitted]
[-] expected a [SHA-256, SHA-1 or MD5] hash, something went wrong please try again.
Exiting due to a wrong file hash type.
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x70d137786270>, 68404.990304331)]']
connector: <aiohttp.connector.TCPConnector object at 0x70d1377ffd10>
other option:
./vt-cli.py -scanf $DOWNLOADS/sublime_text.binary.cracked
[logo omitted]
Traceback (most recent call last):
File "/home/avery/build/VT-CLI/./vt-cli.py", line 241, in <module>
main()
File "/home/avery/build/VT-CLI/./vt-cli.py", line 197, in main
file_scanner(path=args.file_scan, client=client)
File "/home/avery/build/VT-CLI/./vt-cli.py", line 163, in file_scanner
hash_obj = client.get_object("/files/{}", hash)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/avery/build/VT-CLI/.venv/lib/python3.11/site-packages/vt/client.py", line 642, in get_object
return make_sync(self.get_object_async(path, *path_args, params=params))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/avery/build/VT-CLI/.venv/lib/python3.11/site-packages/vt/utils.py", line 27, in make_sync
return event_loop.run_until_complete(future)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/avery/.rye/py/[email protected]/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/avery/build/VT-CLI/.venv/lib/python3.11/site-packages/vt/client.py", line 652, in get_object_async
return await self._response_to_object(response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/avery/build/VT-CLI/.venv/lib/python3.11/site-packages/vt/client.py", line 310, in _response_to_object
json_response = await self._response_to_json(response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/avery/build/VT-CLI/.venv/lib/python3.11/site-packages/vt/client.py", line 306, in _response_to_json
raise error
vt.error.APIError: ('NotFoundError', 'File "02c867f3bc45fcb044326f1eb1eb7094" not found')
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x772fb4b74a90>
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x772fb4cfee40>, 68414.727696059)]']
connector: <aiohttp.connector.TCPConnector object at 0x772fb4b0fed0>
Thanks
edit: forgot to include the version of python I'm using:
python -V
Python 3.11.9
The text was updated successfully, but these errors were encountered:
Hi,
Thanks for the project - I got a response from the two file scanning features I think might be user error, so I wanted to ask if I need to submit all my files to VT prior to scanning them?
Here's the output; known cracked file used as test
other option:
Thanks
edit: forgot to include the version of python I'm using:
The text was updated successfully, but these errors were encountered: