From 781f383d773ffc2487ea53ea9887ce64515c558f Mon Sep 17 00:00:00 2001 From: v1s1t0r1sh3r3 Date: Wed, 11 Sep 2024 16:16:26 +0200 Subject: [PATCH] Fix bug parsing version number for newer hcxdumptool versions --- CHANGELOG.md | 1 + airgeddon.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c0faecbc6..cf7396194 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ### 11.40 - Code refactor of the heredocs used for the Evil Twin, WEP and WPS attacks - Standardize xterm parameters and adjust some colors to override the system's default settings + - Fixed bug parsing version number for newer hcxdumptool versions ### 11.31 - Fixed graphics system detection when launched on a headless system using remote X windows diff --git a/airgeddon.sh b/airgeddon.sh index 9dc7e9e7f..bf60c188a 100755 --- a/airgeddon.sh +++ b/airgeddon.sh @@ -14671,7 +14671,7 @@ function get_hcxdumptool_version() { debug_print - hcxdumptool_version=$(hcxdumptool --version | awk '{print $2}') + hcxdumptool_version=$(hcxdumptool --version | awk 'NR == 1 {print $2}') } #Determine beef version