blob: 3aeba9c507514a57a8c733d3c11dbc64bd3c4469 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
use clap::Parser;
#[derive(clap::clap_derive::Parser, Debug)]
struct Args {
target: String,
flag_ids_path: String,
}
#[tokio::main]
async fn main() {
let args = Args::parse();
let target = args.target;
let flag_ids = tokio::fs::read_to_string(&args.flag_ids_path)
.await
.expect("Failed to read flag IDs file");
exploit(&target, &flag_ids).await;
}
async fn exploit(target: &str, flag_ids: &str) {
println!("Output flags here");
}
|