form-brute
v1.0.1
Published
Simple package that tries all possibilities from a wordList in a web form.
Downloads
2
Maintainers
Readme
Form-brute - Simple HTML form brute-forcing tool
Instalation
npm install form-brute
or
yarn add form-brute
Lightweight and simple to use
// Import the package
const { formBrute } = require('form-brute')
// Set up your config
// Set brute-forced field to null
const config = { url: "htttp://localhost:5000", data: { name: "John Doe", password: null }}
const wordList = ["123456","1111111", "01234qwe"]
// Call form-brute
formBrute(config, wordList, 5)
.then((res) => {
// Working with the response
})
.catch((err) => {
// Handling errors
})
To mark the field you want to brute-force, all you need to do is to asign it null.
Form-brute is a promise based package so it runs asynchronously.