-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0afdb73
commit 23e8d2f
Showing
5 changed files
with
140 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,43 @@ | ||
[package] | ||
name = "rookie" | ||
version = "0.1.5" | ||
edition = "2021" | ||
description = "Load cookie from your web browsers" | ||
license-file = "MIT-LICENSE.txt" | ||
homepage = "https://crates.io/crates/rookie" | ||
documentation = "https://docs.rs/rookie/" | ||
repository = "https://github.com/thewh1teagle/rookie" | ||
readme = "../README.md" | ||
keywords = ["windows", "cookies", "rust", "web"] | ||
|
||
[lib] | ||
name = "rookie" | ||
path = "src/lib.rs" | ||
|
||
[[bin]] | ||
name = "main" | ||
path = "bin/main.rs" | ||
|
||
[dependencies] | ||
aes = "0.8.3" | ||
aes-gcm = "0.10.3" | ||
cbc = "0.1.2" | ||
rusqlite = { version = "0.29.0", features = ["bundled"] } | ||
rust-ini = "0.19.0" | ||
serde = { version = "1.0.188", features = ["derive"] } | ||
serde_json = "1.0.107" | ||
|
||
url = "2.4.1" | ||
|
||
[target.'cfg(unix)'.dependencies] | ||
sha1 = "0.10.6" | ||
pbkdf2 = "0.12.2" | ||
|
||
[target.'cfg(target_os = "macos")'.dependencies] | ||
sha1 = "0.10.6" | ||
pbkdf2 = "0.12.2" | ||
|
||
[target.'cfg(windows)'.dependencies] | ||
windows = { version = "0.51.1", features = ["Win32_Security_Cryptography", "Win32_Foundation"] } | ||
base64 = "0.21.4" | ||
[package] | ||
name = "rookie" | ||
version = "0.1.5" | ||
edition = "2021" | ||
description = "Load cookie from your web browsers" | ||
license-file = "MIT-LICENSE.txt" | ||
homepage = "https://crates.io/crates/rookie" | ||
documentation = "https://docs.rs/rookie/" | ||
repository = "https://github.com/thewh1teagle/rookie" | ||
readme = "../README.md" | ||
keywords = ["windows", "cookies", "rust", "web"] | ||
|
||
[lib] | ||
name = "rookie" | ||
path = "src/lib.rs" | ||
|
||
[[bin]] | ||
name = "main" | ||
path = "bin/main.rs" | ||
|
||
[dependencies] | ||
aes = "0.8.3" | ||
aes-gcm = "0.10.3" | ||
cbc = "0.1.2" | ||
regex = "1.9.6" | ||
rusqlite = { version = "0.29.0", features = ["bundled"] } | ||
rust-ini = "0.19.0" | ||
serde = { version = "1.0.188", features = ["derive"] } | ||
serde_json = "1.0.107" | ||
|
||
url = "2.4.1" | ||
|
||
[target.'cfg(unix)'.dependencies] | ||
sha1 = "0.10.6" | ||
pbkdf2 = "0.12.2" | ||
|
||
[target.'cfg(target_os = "macos")'.dependencies] | ||
sha1 = "0.10.6" | ||
pbkdf2 = "0.12.2" | ||
|
||
[target.'cfg(windows)'.dependencies] | ||
windows = { version = "0.51.1", features = ["Win32_Security_Cryptography", "Win32_Foundation"] } | ||
base64 = "0.21.4" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
use std::path::PathBuf; | ||
|
||
use rookie; | ||
|
||
fn main() { | ||
let cookies = rookie::chromium_based(PathBuf::from("/home/user/snap/brave/285/.config/BraveSoftware/Brave-Browser/Local State"), PathBuf::from("/home/user/snap/brave/285/.config/BraveSoftware/Brave-Browser/Default/Cookies"), None).unwrap(); | ||
let cookies = rookie::chrome(None).unwrap(); | ||
println!("{:?}", cookies); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters