Skip to content
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

TypeError when creating new goodware strings database #27

Closed
midav7 opened this issue Sep 17, 2020 · 1 comment
Closed

TypeError when creating new goodware strings database #27

midav7 opened this issue Sep 17, 2020 · 1 comment

Comments

@midav7
Copy link

midav7 commented Sep 17, 2020

I tried to create new goodware strings database from the directory containing Mach-O samples

[+] Creating local database ...
[+] Using './dbs/good-strings-mac_os.db' as filename for newly created strings database
[+] Using './dbs/good-opcodes-mac_os.db' as filename for newly created opcodes database
[+] Using './dbs/good-imphashes-mac_os.db' as filename for newly created opcodes database
[+] Using './dbs/good-exports-mac_os.db' as filename for newly created opcodes database
Traceback (most recent call last):
  File "yarGen.py", line 2288, in <module>
    save(good_json, strings_db)
  File "yarGen.py", line 1870, in save
    file.write(json.dumps(object))
  File "/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/gzip.py", line 276, in write
    data = memoryview(data)
TypeError: memoryview: a bytes-like object is required, not 'str'
Neo23x0 added a commit that referenced this issue Oct 12, 2020
@Neo23x0
Copy link
Owner

Neo23x0 commented Oct 12, 2020

Fixed in f582ace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants