Skip to content
This repository has been archived by the owner on Feb 28, 2018. It is now read-only.

Releases: evilsocket/bettercap

bettercap v1.2.4

21 Jan 18:03
Compare
Choose a tag to compare

Changelog

New Features

  • New InjectHTML proxy module.
  • New NNTP auth parser. ( tnx to @bcoles )
  • New starting status message with enabled and disabled modules reporting.

Fixes

  • Fixed a bug which caused new and/or lost targets not to be printed in some specific circumstances.
  • Turned firewall redirection logs into debug messages.
  • Fixed a bug which prevented clients to be "rickrolled" if they're connecting to us directly.

Code Style

  • Moved acquired and lost targets printing logic to discovery thread.

bettercap v1.2.3

20 Jan 11:39
Compare
Choose a tag to compare

Changelog

New Features

  • Using WebRick HTTP client instead of raw socket, now the transparent proxy is much more stable and fast!
  • Implemented --http-ports and --https-ports options.

Fixes

  • Fixed a bug which prevented new and lost targets to be printed if spoofing was disabled.
  • Fixed issue #94: Show more information about targets that have been acquired or lost.
  • Correct singular or plural form of 'target'.
  • Fixed a bug in InjectCSS proxy module.
  • Checking proxy module command line arguments only in initialize method.

Code Style

  • Minor refactoring of BetterCap::Spoofers::Arp class.

bettercap v1.2.2

16 Jan 17:35
Compare
Choose a tag to compare

Changelog

New Features

  • Implemented --packet-throttle option.
  • You ca now load both custom or builtin proxy modules.
  • Added injectcss and injectjs builtin proxy modules.

Fixes

  • Fixed bug in http auth sniffer.
  • Using one global Pcap.open_live in PacketQueue class ( no more Too many open files error, yay! )

Code Style

  • Reorganized some of the classes into BetterCap::Network module.

bettercap v1.2.1

13 Jan 14:33
Compare
Choose a tag to compare

Changelog

New Features

  • Proxy modules can now register custom options defining a self.register_options class method.
  • Better unhandled exceptions crash report.
  • Implemented --kill feature.

Fixes

  • Using a global UDPSocket object in PacketQueue class in order to send UDP packets.
  • Better gateway and targets reporting.
  • Fixed issue #88 : NameError exception in 1.2.0: "wrong constant name BetterCap::Spoofers::Arp"

Code Style

  • Moved ARP table parsing logic to new ArpReader class.
  • Converted some of the INFO messages to DEBUG messages.

bettercap v1.2.0

11 Jan 17:02
Compare
Choose a tag to compare

Changelog

New Features

  • New fully automatized ICMP "DoubleDirect" spoofer module.
  • Using PacketFu to create ICMP packets instead of ping utility in broadcast mode.
  • Using the new PacketQueue class as a centralized IP packet sender ( huge performance improvement ).

Fixes

  • Fixed a bug in Logger class which made the program hang in some circumstances.
  • Do not show warning about sniffer being disabled if the spoofer was disabled as well.
  • Do not join threads while stopping proxy.

Code Style

  • General refactoring of namespaces/modules with better folder structure.
  • RDOCumented every public class and public methods.
  • Removed discovery agents per-ip debug message.
  • Better network informations debug logging.

bettercap v1.1.10

03 Jan 14:42
Compare
Choose a tag to compare

Changelog

New Features

  • Implemented --silent option to suppress Logger messages.
  • Implemented --no-target-nbns option to disable targets NBNS hostname resolution.
  • Implemented --custom-parser REGEX option to use a custom regular expression for the sniffer.
  • Option -T|--target now supports both ip and mac addresses.
  • Using StreamLogger for both Proxy and Sniffer traffic. Better sniffer logging.

Fixes

  • Fixed a bug which caused the logger to raise an exception when -h|--help option is passed.
  • Give some time to the discovery thread to spawn its workers, this prevents Too many open files errors to delay host discovery.
  • Fixed a bug which caused exceptions not to be printed.
  • Suppress log messages as soon as CTRL+C is pressed.

Code Style

  • Removed deprecated tests folder.
  • Wrapped every class with module BetterCap and refactored old code structure.
  • Various refactoring with if/unless boolean conditions.

bettercap v1.1.9

01 Jan 20:36
Compare
Choose a tag to compare

Changelog

New Features

  • Better targets printing and sorting.
  • Better version checking for beta versions.
  • Lighter single-threaded logging system with work queue.

Fixes

  • Fixed a bug in Options.has_spoofer? method.
  • Better and safer shutdown procedure handling.
  • Better sniffer threading handling.
  • Fixed gateway info printing.
  • Fixed a bug which caused a Target object to be created for already discovered and stored targets.

Code Style

  • Moved command line arguments parsing and checking into Options.parse! method.
  • Some refactoring on error reporting.
  • Moved discovery thread logic in dedicated Discovery class.
  • Moved update check logic into UpdateChecker dedicated class.
  • Cleaner port redirection handling.
  • Removed useless Context.network member.
  • Minor refactoring on options logic inside main script.
  • Not using git ls-files anymore in gemspec but Dir.glob
  • Minor changes to Discovery messages.

bettercap v1.1.8

14 Dec 17:02
Compare
Choose a tag to compare

Changelog

New Features

  • Implemented HTTP 1.1 chunked transfer encoding support.
  • Implemented NetBIOS NBNS address to hostname resolution.
  • Improved proxy performances using non-blocking I/O.

Fixes

  • Added missing dependency network_interface to gemspec.
  • Gracefully handling <Errno::EBADF: Bad file descriptor> when stopping proxies.

Code Style

  • Minor refactoring of ArpAgent class.
  • Minor refactoring of Context#create_proxies and Context#finalize methods.
  • Minor refactoring on ArpSpoofer#start method.
  • Moved options logic to dedicated class.
  • Removed useless code from Proxy::ThreadPool class.

bettercap v1.1.7 - hotfix

01 Dec 19:00
Compare
Choose a tag to compare

Hotfix for issue #78.

bettercap v1.1.6

29 Nov 13:48
Compare
Choose a tag to compare

Changelog

New Features

  • 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.

Fixes

  • Handling Proxy-Connection HTTP header, fixed Connection header regular expression.
  • Handling Too many open files. BPF errors in 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.

Code Style

  • 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.