I'm creating a python 3 tool that requires the access of many other preexisting networking tools, and some don't have python libraries.
I've tried subprocess.check_output
, which works, however, this data is not easy to work with, and I don't believe it supports piping commands like grep
or awk
if both commands require arguments.
I want to be able to, on separate threads, run each command and store the output, as well as stop the output of the command, as I'll be using tools like SSLStrip
, ArpSpoof
, nmap
, and others. that run until terminated.
What's the best way to do this?