Home
last modified time | relevance | path

Searched refs:askadmin (Results 1 – 1 of 1) sorted by relevance

/external/scapy/scapy/arch/windows/
D__init__.py611 def pcap_service_control(action, askadmin=True): argument
616 stdout = POWERSHELL_PROCESS.query([_encapsulate_admin(command) if askadmin else command])
619 def pcap_service_start(askadmin=True): argument
621 return pcap_service_control('Start-Service', askadmin=askadmin)
623 def pcap_service_stop(askadmin=True): argument
625 return pcap_service_control('Stop-Service', askadmin=askadmin)
666 succeed = pcap_service_start(askadmin=conf.interactive)