Decrypt Cookies
Example
use decrypt_cookies::{Browser, ChromiumBuilder};
#[tokio::main]
async fn main() -> miette::Result<()> {
let chromium = ChromiumBuilder::new(Browser::Chromium)
.build()
.await?;
let all_cookies = chromium.get_cookies_all().await?;
dbg!(&all_cookies[0]);
let jar: reqwest::cookie::Jar = all_cookies
.into_iter()
.collect();
Ok(())
}
To add new
ChromiumBase
- ./src/browser/info.rs
ChromiumInfo
trait,
safe_name
, storage
method, modify and impl.
FirefoxBase
- ./src/browser/info.rs
FfInfo
trait, modify and impl.
TODO
TEST STATUS
[!NOTE]
These are the latest status updates, not the released status.
Please check out the newest tag for the released status.
Browser |
Cookies |
passwd |
Test Date |
Firefox |
🔑 |
🚫 |
2024-04-1 |
Librewolf |
🔑 |
🚫 |
2024-04-1 |
Chrome |
🔑 |
🔑 |
2024-04-1 |
Edge |
🔑 |
🔑 |
2024-04-1 |
Chromium |
🔑 |
🔑 |
2024-04-1 |
Brave |
🔑 |
🔑 |
2024-04-1 |
Yandex |
🔑 |
🚫 |
2024-04-1 |
Vivaldi |
🔑 |
🔑 |
2024-04-1 |
Opera |
🔑 |
🔑 |
2024-04-1 |
Browser |
Cookies |
passwd |
Test Date |
Firefox |
🔑 |
🚫 |
2024-04-1 |
Librewolf |
🔑 |
🚫 |
2024-04-1 |
Chrome |
🔑 |
🔑 |
2024-04-1 |
Edge |
🔑 |
🔑 |
2024-04-1 |
Chromium |
🔑 |
🔑 |
2024-04-1 |
Brave |
🔑 |
🔑 |
2024-04-1 |
Yandex |
🔑 |
🚫 |
2024-04-1 |
Vivaldi |
🔑 |
🔑 |
2024-04-1 |
Opera |
🔑 |
🔑 |
2024-04-1 |
OperaGX |
🔑 |
🔑 |
2024-04-1 |
CocCoc |
🔑 |
🔑 |
2024-04-1 |
Arc |
🚫(not support) |
🚫 |
|
Browser |
Cookies |
passwd |
Test Date |
Firefox |
🔑 |
🚫 |
2024-04-1 |
Librewolf |
🔑 |
🚫 |
2024-04-1 |
Chrome |
🔑 |
🔑 |
2024-04-1 |
Edge |
🔑 |
🔑 |
2024-04-1 |
Chromium |
🔑 |
🔑 |
2024-04-1 |
Brave |
🔑 |
🔑 |
2024-04-1 |
Yandex |
🔑 |
🚫 |
2024-04-1 |
Vivaldi |
🔑 |
🔑 |
2024-04-1 |
Opera |
🔑 |
🔑 |
2024-04-1 |
OperaGX |
🔑 |
🔑 |
2024-04-1 |
CocCoc |
🔑 |
🔑 |
2024-04-1 |
Arc |
🚫(not test) |
🚫 |
|
safari |
🔑 |
🚫 |
2024-04-1 |
Credits