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: 'str' object is not callable #98

Open
gib-sec opened this issue May 12, 2020 · 1 comment
Open

TypeError: 'str' object is not callable #98

gib-sec opened this issue May 12, 2020 · 1 comment
Assignees
Labels

Comments

@gib-sec
Copy link

gib-sec commented May 12, 2020

Receiving the following error:


PARSING VBA CODE:
INFO parsed Function ['SAOzzy'] ([ByRef ['FRcJIk'], ByRef ['TcSfEJA']]): 20 statement(s)
INFO parsed Function ['CrjrHM'] ([ByRef ['IBAqabn'], ByRef ['fYjdNI']]): 9 statement(s)
INFO parsed Function ['MKKHf'] ([ByRef ['WriPzI']]): 36 statement(s)
INFO parsed Function ['ZcGtHb'] (): 13 statement(s)
INFO parsed Function ['fppyj'] ([ByRef ['YLMiAh']]): 46 statement(s)
INFO parsed Function ['QskdrM'] ([ByRef ['bovEyqN']]): 7 statement(s)
INFO parsed Loose Lines Block: ([['On', 'Error', 'Resume', 'Next'] ...): 120 statement(s)
Traceback (most recent call last):
File "vmonkey.py", line 1108, in _process_file
vm.add_compiled_module(m)
File "/home/nametag/Downloads/ViperMonkey-master/vipermonkey/core/init.py", line 250, in add_compiled_module
self.globals[name.lower()] = _function
TypeError: 'str' object is not callable
ERROR 'str' object is not callable

Run on Python 2.7.17 - Ubuntu 18.04.4 LTS

FILE: script.vbs
INFO Starting emulation...
INFO Emulating a VBScript file.
INFO Reading document metadata...
WARNING Reading in metadata failed. Trying fallback. not an OLE2 structured storage file
ERROR Cannot read metadata with exiftool. [Errno 2] No such file or directory
WARNING The file is not an Office file. Not extracting sheets with LibreOffice.
ERROR Reading in file as Excel with xlrd failed. Unsupported format, or corrupt file: Expected BOF record; found '\nOn Erro'
INFO Saving dropped analysis artifacts in ./script.vbs_artifacts/
INFO Parsing VB...

@decalage2 decalage2 added the bug label May 12, 2020
@decalage2 decalage2 added this to the ViperMonkey 0.08 milestone May 12, 2020
@decalage2 decalage2 self-assigned this Dec 30, 2020
@BerryBest
Copy link

Hi, I have the same problem on street obj not callable. Anyone has idea how to solve this.

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

No branches or pull requests

3 participants