Yes I know this isn't directly BT related and this isn't a Nessus or Python support forum, but I'm going to ask anyway
I'm looking into leveraging this Nessus XMLRPC Python implementation:
I've got it working for launching scans etc but I need a way to hook it so that ctrl-c will actually stop the scan(s).
I've tried wrapping a try/except around the code within the main "while True" block and then calling to x.stop() or setting scans=x.stop() but it doesn't seem to work. I'm pretty sure I'm missing something trivial or doing something stupid. Maybe I've been staring at it too long.
I'm hoping that someone with some more Python knowledge/experience might get me pointed in the right direction.
Thanks in advance!