Forum Thread: Kill Current Process (Python)

So in python I have this one line

self.setup.oslinuxcall("airodump-ng {}".format(adapter))

This runs airodump on said adapter. My question is how do I make it so I could just exit airodump instead of the whole script like ctrl+c would do.

Thank you in advance.

Our Best Hacking & Security Guides

New Null Byte posts — delivered straight to your inbox.

2 Responses

Use this:
(Run airodump)
except KeyboardInterrupt:

Ah yes this worked. Thank you for the help!

Share Your Thoughts

  • Hot
  • Active