-
Notifications
You must be signed in to change notification settings - Fork 497
Open
Description
Prerequisites
Please answer the following questions for yourself before submitting an issue.
- [ ✅] I am running the latest version
- [ ✅] I did read the README!
- [ ✅] I checked the documentation and found no answer
- [ ✅] I checked to make sure that this issue has not already been filed
- I'm reporting the issue to the correct repository (for multi-repository projects)
- [ ✅] I have read and checked all configs (with all optional parts)
Bugs
I followed https://capev2.readthedocs.io/en/latest/usage/web.html#exposed-to-internet instructions to deploy cape-web, but found that there were errors during its operation.
Failure Logs
Sep 20 14:52:41 capev2-sandbox python3[1694779]: ERROR:lib.cuckoo.common.demux:[Errno 2] No such file or directory: 'sflock/data/password.txt'
Sep 20 14:52:41 capev2-sandbox python3[1694779]: Traceback (most recent call last):
Sep 20 14:52:41 capev2-sandbox python3[1694779]: File "/opt/CAPEv2/lib/cuckoo/common/demux.py", line 208, in demux_sflock
Sep 20 14:52:41 capev2-sandbox python3[1694779]: unpacked = unpack(filename, password=password, check_shellcode=check_shellcode)
Sep 20 14:52:41 capev2-sandbox python3[1694779]: File "/home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/sflock/main.py", line 72, in unpack
Sep 20 14:52:41 capev2-sandbox python3[1694779]: Unpacker.single(f, password, duplicates)
Sep 20 14:52:41 capev2-sandbox python3[1694779]: File "/home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/sflock/abstracts.py", line 130, in single
Sep 20 14:52:41 capev2-sandbox python3[1694779]: return Unpacker(None).process([f], duplicates, password)
Sep 20 14:52:41 capev2-sandbox python3[1694779]: File "/home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/sflock/abstracts.py", line 109, in process
Sep 20 14:52:41 capev2-sandbox python3[1694779]: f.children = plugin.unpack(password, duplicates)
Sep 20 14:52:41 capev2-sandbox python3[1694779]: File "/home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/sflock/unpack/zip.py", line 87, in unpack
Sep 20 14:52:41 capev2-sandbox python3[1694779]: f = self.bruteforce(password, archive, entry)
Sep 20 14:52:41 capev2-sandbox python3[1694779]: File "/home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/sflock/abstracts.py", line 157, in bruteforce
Sep 20 14:52:41 capev2-sandbox python3[1694779]: for password in iter_passwords():
Sep 20 14:52:41 capev2-sandbox python3[1694779]: File "/home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/sflock/config.py", line 16, in iter_passwords
Sep 20 14:52:41 capev2-sandbox python3[1694779]: for line in passwd_file.read_text().splitlines():
Sep 20 14:52:41 capev2-sandbox python3[1694779]: File "/usr/lib/python3.10/pathlib.py", line 1134, in read_text
Sep 20 14:52:41 capev2-sandbox python3[1694779]: with self.open(mode='r', encoding=encoding, errors=errors) as f:
Sep 20 14:52:41 capev2-sandbox python3[1694779]: File "/usr/lib/python3.10/pathlib.py", line 1119, in open
Sep 20 14:52:41 capev2-sandbox python3[1694779]: return self._accessor.open(self, mode, buffering, encoding, errors,
Sep 20 14:52:41 capev2-sandbox python3[1694779]: FileNotFoundError: [Errno 2] No such file or directory: 'sflock/data/password.txt'
Sep 20 14:52:43 capev2-sandbox python3[1694780]: INFO:lib.cuckoo.core.database:Do sandbox packages need an update? Sflock identifies as: False - b'/tmp/cuckoo-tmp/upload_hpm4v2v2/VirusShare_02325.unknown'
Metadata
Metadata
Assignees
Labels
No labels