Skip to content

Commit

Permalink
Fix error showing connected clients in Evil Twin captive portal attac…
Browse files Browse the repository at this point in the history
…k caused in commit acb8929
  • Loading branch information
v1s1t0r1sh3r3 committed Jun 16, 2022
1 parent ae46168 commit 7660875
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- Improvement hashcat use forcing it to use -m 22000 instead of old -m 2500 over handshakes cracking for hashcat modern versions
- Added WSL/WSL2 detection to force exit due to incompatibility
- Extended compatibility to use lspci 3.8 not accepting 0x
- Fixed error showing connected clients in Evil Twin captive portal attack

### 11.01
- Fixed busy ports checks
Expand Down
6 changes: 3 additions & 3 deletions airgeddon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4141,7 +4141,7 @@ function set_wep_script() {
wep_aircrack_pid_alive=$(ps uax | awk '{print $2}' | grep -E "^${wep_aircrack_pid}$" 2> /dev/null)
if [[ -z "${wep_aircrack_pid_alive}" ]] && [[ ${wep_aircrack_launched} -eq 1 ]]; then
break
elif [ -z "${wep_capture_pid_alive}" ]; then
elif [[ -z "${wep_capture_pid_alive}" ]]; then
break
fi
done
Expand Down Expand Up @@ -10597,7 +10597,7 @@ function set_et_control_script() {
EOF

cat >&7 <<-'EOF'
if [ -z "${DHCPCLIENTS[@]}" ]; then
if [[ -z "${DHCPCLIENTS[@]}" ]]; then
EOF

cat >&7 <<-EOF
Expand All @@ -10611,7 +10611,7 @@ function set_et_control_script() {
if [[ " ${client_ips[*]} " != *" ${client_ip} "* ]]; then
client_hostname=""
[[ ${client} =~ .*(\(.+\)).* ]] && client_hostname="${BASH_REMATCH[1]}"
if [ -z "${client_hostname}" ]; then
if [[ -z "${client_hostname}" ]]; then
echo -e "\t${client_ip} ${client_mac}"
else
echo -e "\t${client_ip} ${client_mac} ${client_hostname}"
Expand Down

0 comments on commit 7660875

Please sign in to comment.