Skip to content

Commit 81c91c6

Browse files
committed
update completions
1 parent a2a2f7a commit 81c91c6

File tree

2 files changed

+24
-30
lines changed

2 files changed

+24
-30
lines changed

completions/bash_angryoxide_completions

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ _angryoxide()
1414
_available_interfaces
1515
return 0
1616
;;
17-
--targetlist|--whitelist)
17+
--targetlist|--whitelist|--output)
1818
_filedir
1919
return 0
2020
;;
2121
esac
2222

2323
if [[ $cword -eq 1 ]]; then
2424
if [[ $cur == --* ]]; then
25-
COMPREPLY=( $( compgen -W '--interface --channel --band --output --help --version --target --whitelist --targetlist --rate --combine --noactive --rogue --gpsd --autohunt --headless --autoexit --notransmit --nodeauth --notar --dwell' -- "$cur" ) )
25+
COMPREPLY=( $( compgen -W '--interface --channel --band --output --help --version --target-entry --whitelist-entry --targetlist --rate --combine --noactive --rogue --gpsd --autohunt --headless --autoexit --notransmit --notar --disablemouse --dwell --geofence --center --distance --geofence-timeout --disable-deauth --disable-pmkid --disable-anon --disable-csa --disable-disassoc --disable-roguem2' -- "$cur" ) )
2626
elif [[ $cur == -* ]]; then
2727
COMPREPLY=( $( compgen -W '-i -c -b -o -h -V -t -w -r' -- "$cur" ) )
2828
fi
2929
fi
3030
} &&
31-
complete -F _angryoxide angryoxide
31+
complete -F _angryoxide angryoxide

completions/zsh_angryoxide_completions

+21-27
Original file line numberDiff line numberDiff line change
@@ -13,43 +13,37 @@ _angryoxide() {
1313
_arguments -C \
1414
'1: :->command' \
1515
'(-i --interface)'{-i,--interface}'[Interface to use]:interface:_list_wireless_interfaces' \
16-
'(-c --channel)'{-c,--channel}'[Optional - Channel to scan]:channel:' \
16+
'(-c --channel)'{-c,--channel}'[Optional - Channel to scan (default: 1,6,11)]:channel:' \
1717
'(-b --band)'{-b,--band}'[Optional - Entire band to scan]:band:(2 5 6 60)' \
1818
'(-o --output)'{-o,--output}'[Optional - Output filename]:output file:_files' \
1919
'(-h --help)'{-h,--help}'[Print help]' \
2020
'(-V --version)'{-V,--version}'[Print version]' \
21-
'(-t)'{-t}'[Optional - Target (MAC or SSID) to attack]:target:' \
22-
'(-w)'{-w}'[Optional - Whitelist (MAC or SSID) to NOT attack]:whitelist:' \
21+
'(-t --target-entry)'{-t,--target-entry}'[Optional - Target (MAC or SSID) to attack]:target entry:' \
22+
'(-w --whitelist-entry)'{-w,--whitelist-entry}'[Optional - Whitelist (MAC or SSID) to NOT attack]:whitelist entry:' \
2323
'--targetlist[Optional - File to load target entries from]:targets file:_files' \
2424
'--whitelist[Optional - File to load whitelist entries from]:whitelist file:_files' \
25-
'(-r --rate)'{-r,--rate}'[Optional - Attack rate]:rate:(1 2 3)' \
26-
'--combine[Optional - Combine all hc22000 files into one]' \
25+
'(-r --rate)'{-r,--rate}'[Optional - Attack rate (1, 2, 3)]:rate:(1 2 3)' \
26+
'--combine[Optional - Combine all hc22000 files into one large file for bulk processing]' \
2727
'--noactive[Optional - Disable Active Monitor mode]' \
28-
'--rogue[Optional - Tx MAC for rogue-based attacks]:rogue MAC:' \
29-
'--gpsd[Optional - Alter default HOST:Port for GPSD connection]:GPSD HOST:Port:' \
28+
'--rogue[Optional - Tx MAC for rogue-based attacks]:MAC Address:' \
29+
'--gpsd[Optional - Alter default HOST:Port for GPSD connection]:GPSD Host:Port:' \
3030
'--autohunt[Optional - AO will auto-hunt all channels then lock in]' \
3131
'--headless[Optional - Set the tool to headless mode without a UI]' \
3232
'--autoexit[Optional - AO will auto-exit when all targets have a valid hashline]' \
3333
'--notransmit[Optional - Do not transmit - passive only]' \
34-
'--nodeauth[Optional - Do NOT send deauths]' \
3534
'--notar[Optional - Do not tar output files]' \
36-
'--dwell[Optional - Dwell Time (seconds)]:dwell time:'
35+
'--disablemouse[Optional - Disable mouse capture (scroll wheel)]' \
36+
'--dwell[Optional - Adjust channel hop dwell time (seconds)]:Dwell Time (seconds):' \
37+
'--geofence[Optional - Enable geofencing using a specified latlng and distance]' \
38+
'--center[Lat,Lng for geofencing]:CENTER:' \
39+
'--distance[Distance in meters from the center]:DISTANCE:' \
40+
'--geofence-timeout[Timeout to disable geofence if GPS is lost]:GEOFENCE_TIMEOUT:' \
41+
'--disable-deauth[Optional - Do NOT send deauthentication attacks]' \
42+
'--disable-pmkid[Optional - Do NOT attempt to associate for PMKID]' \
43+
'--disable-anon[Optional - Do NOT send anonymous reassociation attacks]' \
44+
'--disable-csa[Optional - Do NOT send Channel Switch Announcement attacks]' \
45+
'--disable-disassoc[Optional - Do NOT send disassociation attacks]' \
46+
'--disable-roguem2[Optional - Do NOT attempt rogue M2 collection]'
47+
}
3748

38-
case $state in
39-
command)
40-
options=(
41-
'--interface[Interface to use]'
42-
'--channel[Optional - Channel to scan]'
43-
'--band[Optional - Entire band to scan]'
44-
'--output[Optional - Output filename]'
45-
'--help[Print help]'
46-
'--version[Print version]'
47-
'--target[Optional - Target to attack]'
48-
'--whitelist[Optional - Whitelist to NOT attack]'
49-
'--targetlist[Optional - File to load target entries from]'
50-
'--whitelist[Optional - File to load whitelist entries from]'
51-
'--rate[Optional - Attack rate]'
52-
'--combine[Combine all hc22000 files into one]'
53-
'--noactive[Disable Active Monitor mode]'
54-
'--rogue[Tx MAC for rogue-based attacks]'
55-
'--gpsd[Alter default
49+
_angryoxide "$@"

0 commit comments

Comments
 (0)