示例#1
0
def win_delete_DPL_policy(conf):
    e = LocalExec(conf)
    e.exec_command("powershell -Command", ctl_fn=win_rm_dpl_ctl_fn)
示例#2
0
def win_bad_logins(conf):
    login_num = 6
    while login_num > 0:
        login_num -= 1
        e = LocalExec(conf)
        e.exec_command("powershell -Command", ctl_fn=win_failed_login_ctl_fn)