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

Monitor the device for reboot and take <appropriate> action #91

Open
Fuzion24 opened this issue Dec 2, 2015 · 2 comments
Open

Monitor the device for reboot and take <appropriate> action #91

Fuzion24 opened this issue Dec 2, 2015 · 2 comments

Comments

@Fuzion24
Copy link
Contributor

Fuzion24 commented Dec 2, 2015

if we crash the device, which does happen occassionally, we dont want to allow the user to continuously run VTS.

Maybe we can log the time when we run a scan. When another scan is requested by the user, we could check and see if the device was restarted shortly (a few seconds) after the scan was requested, or look for other clues indicating a device reboot.

If this is the case, we can notify the user that the vulnerability probe likely caused a device reboot and that they should consider their device vulnerable and to be weary of running the scan again.

@dweinstein
Copy link
Member

maybe also consider disabling test temporarily that is believed to cause the crash. this might be handled if you keep a persistent log after each test and hope the crash doesn't lose filesystem writes

@Fuzion24
Copy link
Contributor Author

Fuzion24 commented Dec 2, 2015

jakevandyke:
what about if we just write a file. like user starts a scan, we write a file like "we_crashed". then perform all the tests and delete that file.
if the user starts our app and that file is there, then we know we broke something last time we performed a scan.
you could even do it on a per-test bases. write a flag before each test and then you'd know which one to not perform next time.

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