chrome-decrypt.ps1 icon indicating copy to clipboard operation
chrome-decrypt.ps1 copied to clipboard

No Output From Command

Open ITCMD opened this issue 1 year ago • 1 comments

Having an issue with the script.

Note that I did have to change line 10 and line 17 to directly point to the user's path as I am running the script as the system, instead of as a user.

I'm having it give no ouput after running. Initially it said the database was locked, but then I closed chrome which fixed that issue. Now, there is no output when running: IEX((new-object net.webclient).downloadstring("url.to.the.script.ps1")) in a shell.

I know there are passwords saved there. Any tips?

ITCMD avatar Jan 26 '24 16:01 ITCMD

Hi, are you using pwsh or powershell to launch it? For Chrome v80+ you'll need pwsh (or, more specifically, PowerShell 7+, as Chrome changed their encryption methodology).

The easiest way to check is a direct call (I just tested against Chrome v121.something and that worked):

pwsh .\chrome-decrypt.ps1
...

Also, this worked too (as close as I can get to your example):

C:\Temp>pwsh
PowerShell 7.4.1
PS C:\Temp> iex ((new-object net.webclient).downloadstring("https://raw.githubusercontent.com/thisismyrobot/chrome-decrypt.ps1/master/chrome-decrypt.ps1"))
...

I hope that helps but let me know if you still have issues.

thisismyrobot avatar Jan 27 '24 23:01 thisismyrobot