a script that allows you To bruteForce the login page of Foreman
This README would normally document whatever steps are necessary to get foremanBrute up and running.
- foremanBrute allows you To bruteForce the login page of Foreman
- Version 0.0.1
you must have Vagrant installed on your machine, for Debian based OS use :
$ sudo apt-get install vagrant
install virtualBox as a provider for Vagrant
$ sudo apt-get install virtualbox
$ vagrant plugin install virtualbox
then you can Vagrant up
$ vagrant up
the vagrantfile is configured to use Puppet as a provisonner, which allows you to quickly install dependencies and try foremanbrute.
after the vagrant up you can ssh to foremanBrute using
$ vagrant ssh
then run foremanBrute using
$ sudo foremanBrute
to use foremanBrute , you need to install thoses packages :
- requests
- beautifulsoup
pip to install bs
$ pip install beautifulsoup
$ pip install requests
you can run foremanBrute using
$ foremanBrute.py --help
using a username with a password list
$ foremanBrute.py -l admin -p passwordlist -u https://192.168.40.30/users/login -m "Incorrect username or password"
- Hamza Bourrahim