MoistCoder / CockyGrabber

C# library for the collection of browser information such as cookies, logins, bookmarks and more
MIT License
144 stars 31 forks source link

Chrome Profiles, no Default anymore #35

Closed commajon closed 2 years ago

commajon commented 2 years ago

Some Update ago Chrome changed every Directory.

Chrome created on Default a new Profile and stores the Data inside the Profile

Regex: ^Profile [1-999]$

Some Paths Changes (Password, Cookies, Bookmarks etc)

New Paths: Local State -> User Data\Local State Cookies -> Profile 1\Network\Cookies Bookmarks -> Profile 1 Login Data -> Profile 1 Top Sites -> Profile 1 History -> Profile 1

Maybe i Push an Update

MoistCoder commented 2 years ago

Nothing changed. "Profile 1" is just the secondary profile, while "Default" is the default profile. You probably have 2 profiles where the standard profile data, created when you set up chrome the first time, is located in the "Default" folder. The data of the second profile, however, which you yourself created, is located in the "Profile 1" folder.

Here you see my chrome profile (In german and censored for privacy reasons): profile

The data of the current one I'm using is located in "Default". Default

I created two test profiles for this example, which makes 3 profiles in total. (Without "Gast" meaning guest in german, which is the preinstalled guest profile): two-test-profiles TestProfileABC and TestProfileDEF

The data of TestProfileABC is located in "Profile 1", while the data of TestProfileDEF is located in "Profile 2": image

So again: Chrome didn't create a new profile; you did. No paths were changed. Nothing changed. CockyGrabber just isn't able to grab from multiple profiles of chromium/blink browsers at the moment (Maybe in a future update tho).

P.S. Your regex expression is wrong:

Regex: ^Profile [1-999]$

If you want to regex match numbers between 1 and 999, this would be the correct expression:

^Profile [1-9][0-9]?[0-9]?

But however, to match for numbers between 1 and 999 would be dumb because you can have unlimited chrome profiles. I know it's improbable that someone would have 1000+ profiles but it's still something you need to look out for. Bugs are always bad.

So this would be the actual correct expression:

^Profile [1-9]+[0-9]*

MoistCoder commented 2 years ago

Closed because of inactivity and invalidity