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

Catch NoneType within parse_service_key check #10

Closed
hiddenillusion opened this issue Dec 21, 2015 · 2 comments
Closed

Catch NoneType within parse_service_key check #10

hiddenillusion opened this issue Dec 21, 2015 · 2 comments

Comments

@hiddenillusion
Copy link
Contributor

Traceback:

Volatility Foundation Volatility Framework 2.5
Traceback (most recent call last):
  File "/opt/tools/volatility/vol.py", line 192, in <module>
    main()
  File "/opt/tools/volatility/vol.py", line 183, in main
    command.execute()
  File "/opt/tools/volatility/volatility/commands.py", line 119, in execute
    data = self.calculate()
  File "/other_plugins/community/ThomasChopitea/autoruns.py", line 519, in calculate
    self.services = self.get_services()
  File "/other_plugins/community/ThomasChopitea/autoruns.py", line 309, in get_services
    service = self.parse_service_key(service)
  File "/other_plugins/community/ThomasChopitea/autoruns.py", line 287, in parse_service_key
    entry = entry.replace('\x00', '')
AttributeError: 'NoneType' object has no attribute 'replace

In this instance, entry was empty.

@tomchop
Copy link
Owner

tomchop commented Dec 21, 2015

Try now? :)

@tomchop
Copy link
Owner

tomchop commented Dec 21, 2015

Fixed in 095b268

@tomchop tomchop closed this as completed Dec 21, 2015
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