dataset make test-pe-upx -n 100 --format PE --packer upx
dataset show test-pe-upx
dataset convert test-pe-upx
Error traceback
At this 3rd command , I got this error :
Traceback (most recent call last):
File "/home/user/.opt/tools/dataset", line 236, in <module>
getattr(ds, args.command)(**vars(args))
File "/home/user/.local/lib/python3.11/site-packages/pbox/core/dataset/__init__.py", line 23, in _wrapper
return f(s, *a, **kw)
^^^^^^^^^^^^^^
File "/home/user/.local/lib/python3.11/site-packages/pbox/core/dataset/__init__.py", line 367, in convert
self._compute_all_features()
File "/home/user/.local/lib/python3.11/site-packages/pbox/core/dataset/__init__.py", line 180, in _compute_all_features
d = self._compute_features(exe)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.local/lib/python3.11/site-packages/pbox/core/dataset/__init__.py", line 188, in _compute_features
d.update(exe.data) # be sure to include the features
^^^^^^^^
File "/usr/lib/python3.11/functools.py", line 1001, in __get__
val = self.func(instance)
^^^^^^^^^^^^^^^^^^^
File "/home/user/.local/lib/python3.11/site-packages/pbox/core/executable/__init__.py", line 166, in data
return Features(self)
^^^^^^^^^^^^^^
File "/home/user/.local/lib/python3.11/site-packages/pbox/core/executable/features.py", line 102, in __init__
from .extractors import Extractors
File "/home/user/.local/lib/python3.11/site-packages/pbox/core/executable/extractors/__init__.py", line 3, in <module>
from .macho import *
AttributeError: module 'pbox.core.executable.extractors.macho' has no attribute 'MOFEATS'. Did you mean: '_MOFEATS'?
Following those steps in the Doc. Qucikstart :
Steps to reproduce
dataset make test-pe-upx -n 100 --format PE --packer upx
dataset show test-pe-upx
dataset convert test-pe-upx
Error traceback
At this 3rd command , I got this error :
Proposed Fix :
Fixed the first line of
macho.py
by adding a_
: