Closed jcppkkk closed 6 years ago
That's really weird ;-)
In [430]: call = {"arguments": {}}
In [431]: call["arguments"].get("service_name", "").lower()
Out[431]: ''
MD5 | 089a26fc433ef1f94a5071dd38731e1d maybe somewhere let service_name = None?
>>> call = {"arguments": {"service_name": None}}
>>> call["arguments"].get("service_name", "").lower()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'NoneType' object has no attribute 'lower'
Thanks for the PR!
https://github.com/cuckoosandbox/community/blob/78d7741bb90053052efc7abdfa110321c3e36fd2/modules/signatures/windows/creates_service.py#L26