pub struct HuntMetadata {
pub api_get_lib: String,
pub mode: HuntMode,
}Expand description
HUNT parameters. Values are dynamic: extract them right before creating the task.
Fields§
§api_get_lib: StringFull URL of the api.js file (look for hd-api or api.js in the Network tab), e.g.
https://example.com/hd-api/external/apps/<app-hash>/api.js.
mode: HuntModeImplementations§
Source§impl HuntMetadata
impl HuntMetadata
Sourcepub fn fingerprint(api_get_lib: impl Into<String>) -> Self
pub fn fingerprint(api_get_lib: impl Into<String>) -> Self
Fingerprint generation: only apiGetLib is sent.
Trait Implementations§
Source§impl Clone for HuntMetadata
impl Clone for HuntMetadata
Source§impl Debug for HuntMetadata
impl Debug for HuntMetadata
impl Eq for HuntMetadata
Source§impl PartialEq for HuntMetadata
impl PartialEq for HuntMetadata
Source§impl Serialize for HuntMetadata
impl Serialize for HuntMetadata
impl StructuralPartialEq for HuntMetadata
Auto Trait Implementations§
impl Freeze for HuntMetadata
impl RefUnwindSafe for HuntMetadata
impl Send for HuntMetadata
impl Sync for HuntMetadata
impl Unpin for HuntMetadata
impl UnsafeUnpin for HuntMetadata
impl UnwindSafe for HuntMetadata
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