drakvuf-sandbox
drakvuf-sandbox copied to clipboard
Toggle network state from the web-interface
It will be great to see a tumbler at the web interface to turn on and off the internet connection for the scan.
I suppose, you can turn on/off it in drakrun/main.py file using ifconfig vif manipulation, like sudo ifconfig vifX.0 down
at the "process" function. Plus self.current_task.payload.get to obtain the tumbler state.
Thanks for the idea. This does sound like a feature we could add.
We can create a js toggle in the ui folder , and call a function from main.py. In main we can use process or os functions to turn interfaces down.