pub struct ChromiumGetter {
pub info: LinuxChromiumBase,
/* private fields */
}
Expand description
Fields§
§info: LinuxChromiumBase
Implementations§
Source§impl ChromiumGetter
impl ChromiumGetter
Sourcepub async fn get_logins_filter<F>(&self, filter: F) -> Result<Vec<LoginData>>where
F: IntoCondition + Send,
pub async fn get_logins_filter<F>(&self, filter: F) -> Result<Vec<LoginData>>where
F: IntoCondition + Send,
contains passwords
§Example:
use decrypt_cookies::{chromium::ChromLoginColumn, Browser, ChromiumBuilder, ColumnTrait};
#[tokio::main]
async fn main() {
let edge_getter = ChromiumBuilder::new(Browser::Edge)
.build()
.await
.unwrap();
let res = edge_getter
.get_logins_filter(ChromLoginColumn::OriginUrl.contains("google.com"))
.await
.unwrap_or_default();
dbg!(res);
}
Sourcepub async fn get_logins_by_host<F>(&self, host: F) -> Result<Vec<LoginData>>
pub async fn get_logins_by_host<F>(&self, host: F) -> Result<Vec<LoginData>>
contains passwords
Sourcepub async fn get_logins_all(&self) -> Result<Vec<LoginData>>
pub async fn get_logins_all(&self) -> Result<Vec<LoginData>>
contains passwords
Source§impl ChromiumGetter
impl ChromiumGetter
filter cookies
§Example:
use decrypt_cookies::{chromium::ChromCkColumn, Browser, ChromiumBuilder, ColumnTrait};
#[tokio::main]
async fn main() {
let edge_getter = ChromiumBuilder::new(Browser::Edge)
.build()
.await
.unwrap();
let res = edge_getter
.get_cookies_filter(ChromCkColumn::HostKey.contains("google.com"))
.await
.unwrap_or_default();
dbg!(res);
}
decrypt Cookies
return all cookies
get LEETCODE_SESSION
and csrftoken
for leetcode
parallel decrypt cookies
Trait Implementations§
Source§impl Clone for ChromiumGetter
impl Clone for ChromiumGetter
Source§fn clone(&self) -> ChromiumGetter
fn clone(&self) -> ChromiumGetter
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ChromiumGetter
impl Debug for ChromiumGetter
Source§impl Default for ChromiumGetter
impl Default for ChromiumGetter
Source§fn default() -> ChromiumGetter
fn default() -> ChromiumGetter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ChromiumGetter
impl !RefUnwindSafe for ChromiumGetter
impl Send for ChromiumGetter
impl Sync for ChromiumGetter
impl Unpin for ChromiumGetter
impl !UnwindSafe for ChromiumGetter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more