decrypt-cookies

Crates.iodecrypt-cookies
lib.rsdecrypt-cookies
version0.7.0-alpha.0
sourcesrc
created_at2023-12-11 12:24:16.74824
updated_at2024-11-05 11:41:07.093141
descriptionA decrypt browser crate
homepagehttps://github.com/saying121/tidy-browser/tree/master/crates/decrypt-cookies
repositoryhttps://github.com/saying121/tidy-browser
max_upload_size
id1065107
size216,162
saying (saying121)

documentation

README

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

Commit count: 171

cargo fmt