SSMA icon indicating copy to clipboard operation
SSMA copied to clipboard

IndexError: list index out of range

Open orblatt opened this issue 7 years ago • 2 comments

Hello, can you please aid with the following error?

Traceback (most recent call last): File "ssma.py", line 141, in _tls = pe.checkTSL() File "/home/user/Downloads/SSMA-master/src/check_file.py", line 243, in checkTSL pefile.DIRECTORY_ENTRY['IMAGE_DIRECTORY_ENTRY_TLS']].VirtualAddress IndexError: list index out of range Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook from apport.fileutils import likely_packaged, get_recent_crashes File "/usr/lib/python3/dist-packages/apport/init.py", line 5, in from apport.report import Report File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in import apport.fileutils File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in from apport.packaging_impl import impl as packaging File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 23, in import apt File "/usr/lib/python3/dist-packages/apt/init.py", line 23, in import apt_pkg ModuleNotFoundError: No module named 'apt_pkg'

Original exception was: Traceback (most recent call last): File "ssma.py", line 141, in _tls = pe.checkTSL() File "/home/user/Downloads/SSMA-master/src/check_file.py", line 243, in checkTSL pefile.DIRECTORY_ENTRY['IMAGE_DIRECTORY_ENTRY_TLS']].VirtualAddress IndexError: list index out of range

orblatt avatar Aug 28 '18 08:08 orblatt

Hello there can you verify that you have all the dependencies installed. If you do can you provide the file you were scanning that caused this exception to fire.

Evan-Sa avatar Aug 28 '18 15:08 Evan-Sa

@orblatt just wanted to follow up did you have any success getting it to work yet?

Evan-Sa avatar Sep 02 '18 17:09 Evan-Sa