19 releases (6 breaking)
0.7.0-alpha.0 | Nov 5, 2024 |
---|---|
0.6.0 | Jul 13, 2024 |
0.4.2 | Mar 30, 2024 |
0.1.2 | Dec 31, 2023 |
#161 in Asynchronous
246 downloads per month
Used in 5 crates
(4 directly)
135KB
3K
SLoC
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
- Decrypt passwd etc.
TEST STATUS
[!NOTE]
These are the latest status updates, not the released status. Please check out the newest tag for the released status.
- Linux:
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 |
- Windows:
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) | π« |
- Macos:
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
Dependencies
~40β86MB
~1.5M SLoC