SHA256
1
0
forked from pool/bettercap

2 Commits

Author SHA256 Message Date
e5cff730f3 Accepting request 1202228 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1202228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bettercap?expand=0&rev=2
2024-09-22 09:06:00 +00:00
302ebe0404 - Update to version 2.4.0:
* fix: added better debug logging for core.Exec (fixes #1125).
  * new: added support for 29bit obd2 identifiers.
  * new: implemented can.obd2 builtin parser.
  * fix: fixed address reload on api.rest.
  * new: can.fuzz now supports an optional size argument.
  * fix: can.fuzz now expects an hexadecimal frame id.
  * fix: stop can.dump reader when can.recon is stopped.
  * new: can.dump reader will now sleep for the correct amount
    of time.
  * new: implemented can.dup and can.dump.inject to read a candump
    log file.
  * refact: refactored can dbc logic.
  * new: added new wifi cipher suites and auth types.
  * new: added new wifi RSN parsing.
  * fix: fixed a nil pointer dereference when wifi.show is executed
    before wifi.recon on.
  * fix: fixed handshakes filename if wifi.aggregate is false.
  * fix: expanding file path in file read api.
  * fix: initialize wifi module state correctly.
  * new: embedded ui.
  * new: added CAN to session json object.
  * fix: do not allow wifi.recon if wifi.bruteforce is running.
  * fix: added p2p_disabled=1 for wifi.bruteforce on linux.
  * new: implemented wifi.bruteforce for linux.
  * fix: bring interface down for mac.changer module.
  * fix: do not attempt mac lookup if gateway is empty.
  * fix: do not report a routing error if the interface is
    disconnected.
  * fix: make sure that wifi channels are unique and sorted.

OBS-URL: https://build.opensuse.org/package/show/network:utilities/bettercap?expand=0&rev=5
2024-09-20 13:46:11 +00:00
7 changed files with 84 additions and 16 deletions

View File

@@ -1,7 +1,19 @@
<services>
<service name="tar_scm" mode="manual">
<param name="url">https://github.com/bettercap/bettercap.git</param>
<param name="scm">git</param>
<param name="revision">v2.4.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="manual">
<param name="basename">bettercap</param>
</service>
<service name="recompress" mode="manual">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="go_modules" mode="manual">
</service>
</services>

4
_servicedata Normal file
View File

@@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/bettercap/bettercap.git</param>
<param name="changesrevision">acda32e3048f622b52e4c54826832334513d589d</param></service></servicedata>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ea28d4d533776a328a54723a74101d1720016ffe7d434bf1d7ab222adb397ac6
size 1355310

3
bettercap-2.4.0.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:707ebcafa75202f0df4c8c0c2e79409b09311bcb72506ab0e0effc0dd187f758
size 5995948

View File

@@ -1,3 +1,50 @@
-------------------------------------------------------------------
Tue Sep 17 06:19:47 UTC 2024 - Martin Hauke <mardnh@gmx.de>
- Update to version 2.4.0:
* fix: added better debug logging for core.Exec (fixes #1125).
* new: added support for 29bit obd2 identifiers.
* new: implemented can.obd2 builtin parser.
* fix: fixed address reload on api.rest.
* new: can.fuzz now supports an optional size argument.
* fix: can.fuzz now expects an hexadecimal frame id.
* fix: stop can.dump reader when can.recon is stopped.
* new: can.dump reader will now sleep for the correct amount
of time.
* new: implemented can.dup and can.dump.inject to read a candump
log file.
* refact: refactored can dbc logic.
* new: added new wifi cipher suites and auth types.
* new: added new wifi RSN parsing.
* fix: fixed a nil pointer dereference when wifi.show is executed
before wifi.recon on.
* fix: fixed handshakes filename if wifi.aggregate is false.
* fix: expanding file path in file read api.
* fix: initialize wifi module state correctly.
* new: embedded ui.
* new: added CAN to session json object.
* fix: do not allow wifi.recon if wifi.bruteforce is running.
* fix: added p2p_disabled=1 for wifi.bruteforce on linux.
* new: implemented wifi.bruteforce for linux.
* fix: bring interface down for mac.changer module.
* fix: do not attempt mac lookup if gateway is empty.
* fix: do not report a routing error if the interface is
disconnected.
* fix: make sure that wifi channels are unique and sorted.
* fix: WPA3 is now correcly identified and reported.
* new: ble, can, hid and wifi modules will now set a custom
prompt.
* new: implemented can.filter.
* new: can.fuzz command.
* new: gps.set to manually set/override gps coordinates.
* fix: fixed verbose gousb logging.
* fix: using proper v2 package suffix.
* fix: fixed device index use for BLE module.
* new: history file location can now be set via
BETTERCAP_HISTORY env var.
* new: implemented can.inject.
* new can module for CAN-bus.
-------------------------------------------------------------------
Fri Apr 5 12:31:33 UTC 2024 - Martin Hauke <mardnh@gmx.de>

View File

@@ -1,6 +1,7 @@
#
# spec file for package bettercap
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2019-2024, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@@ -12,28 +13,30 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: bettercap
Version: 2.32.0
Version: 2.4.0
Release: 0
Summary: Swiss army knife for network attacks and monitoring
License: GPL-3.0-or-later
Group: Productivity/Networking/Diagnostic
URL: https://www.bettercap.org/
#Git-Clone: https://github.com/bettercap/bettercap.git
Source: https://github.com/bettercap/bettercap/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source: %{name}-%{version}.tar.xz
Source1: vendor.tar.gz
BuildRequires: golang(API) >= 1.9
BuildRequires: golang-packaging
BuildRequires: libpcap-devel
BuildRequires: pkgconfig
BuildRequires: systemd-rpm-macros
BuildRequires: golang(API) >= 1.9
BuildRequires: pkgconfig(libnetfilter_queue)
BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: systemd-rpm-macros
Requires: libnetfilter_queue1
Recommends: iw
Recommends: wireless-tools
BuildRequires: golang-packaging
%{go_provides}
%{?systemd_requires}
@@ -43,17 +46,19 @@ Ethernet networks reconnaissance and MITM attacks.
%prep
%autosetup -a 1
find . -type f -exec sed -i 's|/usr/local/|/usr/|g' {} \;
find . -type f -exec sed -i 's|%{_prefix}/local/|%{_prefix}/|g' {} \;
%build
%goprep github.com/bettercap/bettercap/
%gobuild -mod=vendor .
go build \
-mod=vendor \
-buildmode=pie \
-o bettercap .
%install
%goinstall
install -Dm 0755 bettercap %{buildroot}%{_bindir}/bettercap
install -d %{buildroot}%{_sbindir}
install -d %{buildroot}%{_datadir}/bettercap
install -D -m0644 bettercap.service %{buildroot}%{_unitdir}/%{name}.service
install -Dm 0644 bettercap.service %{buildroot}%{_unitdir}/%{name}.service
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
%pre

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:af7f54332274e768445b55d8caa88da8c217becaf23354d06c482aed538273bf
size 3264212
oid sha256:0bee10d4ad3986cadf0f72c33a89a78ff2e068582aeafd284c4d613bd3d20ae6
size 4398703