-
Notifications
You must be signed in to change notification settings - Fork 479
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
Question or feature request: PyPanda API for timeout for panda.record_cmd() #1150
Comments
Hello, That's a great suggestion. I've opened a simple PR to address it. Having said that I don't believe we've tested the serial mechanism you are using on Windows. Do the |
I haven't confirmed that the program runs, but that the function did trigger a recording. I'll investigate further. |
Sure thing. I did want to point you to this resource where someone else was able to type commands on windows. https://adalogics.com/blog/Building-a-custom-malware-sandbox-with-PANDA-Part-1 |
Looking at that example, the author uses the |
If you can get a serial connection hooked up to something you would be using the We do expose a lower level |
Since some programs being tested might not exit on their own, or might be stuck waiting for something, it would be useful to have an optional timeout parameter for
panda.record_cmd()
. Instead, it seems the program runs forever (it's a simple test app I wrote, doesn't do much) and the recording ends up filling up the partition.I'm not using the latest version, but checking current sources & examples shows this feature isn't implemented.
Git hash: 713ebc3
Git date: 16 Nov 2021
Python: 3.8.10
Host OS: Ubuntu 20.04.3
Guest OS: Windows 10 64-bit (using
os="windows", expect_prompt=rb"C*>"
in thePanda()
constructor in case I'm doing something wrong)The text was updated successfully, but these errors were encountered: