A JavaScript bruteforcing module
Install with NPM: npm i bruteforcejs
const bruteforce = require("bruteforcejs")
bruteforce('characters [list or string]', (result) => {
// Do something with result
if(result == "right") return true // Finish the bruteforce
}, 5) // Maxlenght (if this is not set the bruteforce will continue until cancled)
bruteforce("ABCabc", result => {
console.log(result) // Display current bruteforce string
if (result == "abBac") {
// If current bruteforce string is right
return true // Return true => finish bruteforce
}
})
bruteforce(["A", "B", "C", "a", "b", "c"], result => {
console.log(result) // Display current bruteforce string
if (result == "abBac") {
// If current bruteforce string is right
return true // Return true => finish bruteforce
}
})
bruteforce(
"ABCabc",
result => {
console.log(result) // Display current bruteforce string
if (result == "abBac") {
// If current bruteforce string is right
return true // Return true => finish bruteforce
}
},
5
)
bruteforce(
["A", "B", "C", "a", "b", "c"],
result => {
console.log(result) // Display current bruteforce string
if (result == "abBac") {
// If current bruteforce string is right
return true // Return true => finish bruteforce
}
},
5
)
Website · GitHub @MarvinJWendt