10 lines
217 B
Python
10 lines
217 B
Python
import subprocess
|
|
|
|
|
|
def check_installed():
|
|
try:
|
|
subprocess.run(['tcpdump', '--version'], check=True, capture_output=True)
|
|
return True
|
|
except subprocess.CalledProcessError:
|
|
return False
|