+ Updated hw-prefixes file with latest version from nmap repository.
+ Using Google fake subject for CertStore::get_selfsigned method ( /C=US/ST=California/L=Mountain View/O=Google Inc/CN=www.google.com ) .
+ Implemented custom upstream proxy options ( –custom-proxy, –custom-https-proxy ) both for HTTP and HTTPS.
+ Handling Proxy-Connection HTTP header, fixed Connection header regular expression.
+ Handling Too many open files. BPF errors inlog BaseAgent class.
+ Fixed bettercap.gemspec file with required_ruby_version attribute.
+ Fixed a bug which caused the HTTP response body to be truncated in some cases.
+ Improved proxy performances disabling BasicSocket reverse lookups.
+ Improved proxy performances using thread pooling.
+ Debug log of outgoing HTTP request in proxy module.
+ Fixed indentation.
+ Minor proxy code refactoring.
+ Moved proxy streams logging to dedicated class.
+ Better networking code with new Proxy::Streamer class.
bettercap is a complete, modular, portable and easily extensible MITM tool and framework with every kind of diagnostic and offensive feature you could need in order to perform a man in the middle attack.
All dependencies will be automatically installed through the GEM system, in some case you might need to install some system dependency in order to make everything work:
sudo apt-get install ruby-dev libpcap-dev
HOW TO INSTALL:
Stable Release ( GEM ):
gem install bettercap
git clone https://github.com/evilsocket/bettercap
gem build bettercap.gemspec
sudo gem install bettercap*.gem