bloodhoundad / bark Goto Github PK
View Code? Open in Web Editor NEWBloodHound Attack Research Kit
License: GNU General Public License v3.0
BloodHound Attack Research Kit
License: GNU General Public License v3.0
Hi,
I am running into the following error every time i try to fetch Get-TierZeroServicePrincipals
Get-TierZeroServicePrincipals -Token $MSGraphToken
select : Property "principal" cannot be found.
At C:\Users\Downloads\BARK.ps1:8276 char:28
$PartnerTier2Support | select -expand principal | ?{$_.'@odata.ty ...
~~~~~~~~~~~~~~~~~~~~~~~~
New-AzureADRoleAssignment is not part of the script
Importing script as indicated under your README file it fails with the following error:
At C:\Users\user\Desktop\Exclusions\BARK\BARK.ps1:4641 char:1
+ }
+ ~
Unexpected token '}' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : UnexpectedToken
Downloading the repo from https://github.com/f-bader/BARK.git it works.
Error on Import
At <snip>\BARK\BARK.ps1:4377 char:44
+ $Subs = Get-AllAzureRMSubscriptions -Token $mytoken
+ ~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Get-AllAzureRMSubscriptions], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Get-AllAzureRMSubscriptions
Fixed by commenting out line 4377
Hi, getting the following error when trying to import BARK:
Get-Command : The term 'Get-ServicePrincipalOwner' is not recognized as the name of a cmdlet, function, script file,
or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
try again.
At C:\foo\BARK\BARK.ps1:1556 char:66
+ ... nition' -Value (Get-Command -Name "Get-ServicePrincipalOwner") -Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Get-ServicePrincipalOwner:String) [Get-Command], CommandNotFoundExcepti
on
+ FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand
Get-Command : The term 'New-AppRegSecret' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At C:\foo\BARK\BARK.ps1:2098 char:57
+ ... ecretDefinition' -Value (Get-Command -Name "New-AppRegSecret") -Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (New-AppRegSecret:String) [Get-Command], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand
Please assist.
Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.