Skip to content

Cannot Call a Method #8

@forensic65x

Description

@forensic65x

I am getting the following error even though it completes.

Given its not finding any chains, is this error something I can ignore or is it causing the script not to find any chains?

You cannot call a method on a null-valued expression.
At \Invoke-ACLPwn.ps1:1754 char:60

  • ... ere-Object {$_.PrincipalName.ToString().ToLower() -like "$($g.NTAccou ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [], RuntimeException
    • FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At \Invoke-ACLPwn.ps1:1754 char:60

  • ... ere-Object {$_.PrincipalName.ToString().ToLower() -like "$($g.NTAccou ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [], RuntimeException
    • FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At \Invoke-ACLPwn.ps1:1754 char:60

  • ... ere-Object {$_.PrincipalName.ToString().ToLower() -like "$($g.NTAccou ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [], RuntimeException
    • FullyQualifiedErrorId : InvokeMethodOnNull

[] Parsing ACL. This might take a while...
[
] No chain found :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions