S3cur3Th1sSh1t / Creds

Some usefull Scripts and Executables for Pentest & Forensics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get-ChromeDump

s1im3r00 opened this issue · comments

Get-ChromeDump -OutFile 11.txt
You cannot call a method on a null-valued expression.
At C:\Users\Administrator\Downloads\Creds-master\Creds-master\PowershellScripts\Get-ChromeDump.ps1:410 char:12

  •     if($Item.Contains('Passwords') -or $Item.Contains('History')) ...
    
  •        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [], RuntimeException
    • FullyQualifiedErrorId : InvokeMethodOnNull

New-Object : Cannot find type [System.Data.SQLite.SQLiteConnection]: verify that the assembly containing this type is
loaded.
At C:\Users\Administrator\Downloads\Creds-master\Creds-master\PowershellScripts\Get-ChromeDump.ps1:447 char:19

  • ... onnection = New-Object System.Data.SQLite.SQLiteConnection($connStrin ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidType: (:) [New-Object], PSArgumentException
    • FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand

You cannot call a method on a null-valued expression.
At C:\Users\Administrator\Downloads\Creds-master\Creds-master\PowershellScripts\Get-ChromeDump.ps1:449 char:5

  • $Open = $connection.OpenAndReturn()
    
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [], RuntimeException
    • FullyQualifiedErrorId : InvokeMethodOnNull

New-Object : Cannot find type [System.Data.SQLite.SQLiteDataAdapter]: verify that the assembly containing this type is
loaded.
At C:\Users\Administrator\Downloads\Creds-master\Creds-master\PowershellScripts\Get-ChromeDump.ps1:457 char:20

  • ... taAdapter = New-Object System.Data.SQLite.SQLiteDataAdapter($query,$O ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidType: (:) [New-Object], PSArgumentException
    • FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand

You cannot call a method on a null-valued expression.
At C:\Users\Administrator\Downloads\Creds-master\Creds-master\PowershellScripts\Get-ChromeDump.ps1:459 char:5

  • [void]$dataAdapter.fill($DataSet)
    
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [], RuntimeException
    • FullyQualifiedErrorId : InvokeMethodOnNull

The error message tells you what's wrong here. Use Install-SqlLiteAssembly before execution.

Like WinPwn does https://github.com/S3cur3Th1sSh1t/WinPwn/blob/master/WinPwn.ps1:

image