-
Notifications
You must be signed in to change notification settings - Fork 9
Issues when extracting #1
Comments
Have never had this happened to me, must be a windows moment. Either way tell me what URL you're extracting that causes this loop. Proxy support coming in a bit ig. |
Just saying what I use to actually search extracts is this pub async fn search_extract(src: Vec<u8>, count: u32) -> Vec<String> {
let token_regex = Regex::new(r#"[A-z|0-9]{24,26}\.[A-z|0-9|\W]{6}\.[A-z|0-9|\W]{27,38}"#).unwrap();
extract(Cursor::new(src), &PathBuf::from("./data"), false).unwrap();
let walker = WalkDir::new("./data").into_iter();
let mut tokens = Vec::new();
for entry in walker.filter_entry(|e| !is_hidden(e)) {
let path = match &entry.as_ref() {
Ok(x) => x.path(),
Err(_) => continue,
};
let md = metadata(&path).await;
if let Ok(md) = md {
if md.is_file() {
if let Ok(file) = fs::read_to_string(&path).await {
for token in token_regex.find_iter(&file) {
tokens.push(token.as_str().to_string());
}
};
}
}
}
if let Err(e) = fs::remove_dir_all("./data").await {
println!("\x1b[0;91mError: {e}\x1b[0m");
};
if let Err(e) = fs::create_dir("./data").await {
println!("\x1b[0;91mError: {e}\x1b[0m");
}
println!("\x1b[0;92mFinished searching extract {count}...\x1b[0m");
tokens
} There's no way it's actually looping the way you're assuming it is. |
Compiling hyper v0.14.23 Now i get this error always i try to run it |
|
No point trying to fix this error in particular, there is an issue that makes the tool redundant |
In my experience, when you have 90%-99% of the forks extracted, bolt starts extracting tokens from the same fork in a loop and never ends. Valid tokens are lost because you need to close the program to avoid that the file ends up weighing 3GB as it happened to me.
I also expect the proxy support, since discord ends up ratelimiting when you check a lot of tokens.
The text was updated successfully, but these errors were encountered: