From 81c91c62ca3aab4a4a6bcd0b0fa818b398136361 Mon Sep 17 00:00:00 2001 From: Ragnt Date: Sun, 11 Aug 2024 14:47:48 -0400 Subject: [PATCH] update completions --- completions/bash_angryoxide_completions | 6 ++-- completions/zsh_angryoxide_completions | 48 +++++++++++-------------- 2 files changed, 24 insertions(+), 30 deletions(-) diff --git a/completions/bash_angryoxide_completions b/completions/bash_angryoxide_completions index 6a1e34c..d67704b 100644 --- a/completions/bash_angryoxide_completions +++ b/completions/bash_angryoxide_completions @@ -14,7 +14,7 @@ _angryoxide() _available_interfaces return 0 ;; - --targetlist|--whitelist) + --targetlist|--whitelist|--output) _filedir return 0 ;; @@ -22,10 +22,10 @@ _angryoxide() if [[ $cword -eq 1 ]]; then if [[ $cur == --* ]]; then - 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" ) ) + 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" ) ) elif [[ $cur == -* ]]; then COMPREPLY=( $( compgen -W '-i -c -b -o -h -V -t -w -r' -- "$cur" ) ) fi fi } && -complete -F _angryoxide angryoxide +complete -F _angryoxide angryoxide \ No newline at end of file diff --git a/completions/zsh_angryoxide_completions b/completions/zsh_angryoxide_completions index 7e02dd1..c6f8721 100644 --- a/completions/zsh_angryoxide_completions +++ b/completions/zsh_angryoxide_completions @@ -13,43 +13,37 @@ _angryoxide() { _arguments -C \ '1: :->command' \ '(-i --interface)'{-i,--interface}'[Interface to use]:interface:_list_wireless_interfaces' \ - '(-c --channel)'{-c,--channel}'[Optional - Channel to scan]:channel:' \ + '(-c --channel)'{-c,--channel}'[Optional - Channel to scan (default: 1,6,11)]:channel:' \ '(-b --band)'{-b,--band}'[Optional - Entire band to scan]:band:(2 5 6 60)' \ '(-o --output)'{-o,--output}'[Optional - Output filename]:output file:_files' \ '(-h --help)'{-h,--help}'[Print help]' \ '(-V --version)'{-V,--version}'[Print version]' \ - '(-t)'{-t}'[Optional - Target (MAC or SSID) to attack]:target:' \ - '(-w)'{-w}'[Optional - Whitelist (MAC or SSID) to NOT attack]:whitelist:' \ + '(-t --target-entry)'{-t,--target-entry}'[Optional - Target (MAC or SSID) to attack]:target entry:' \ + '(-w --whitelist-entry)'{-w,--whitelist-entry}'[Optional - Whitelist (MAC or SSID) to NOT attack]:whitelist entry:' \ '--targetlist[Optional - File to load target entries from]:targets file:_files' \ '--whitelist[Optional - File to load whitelist entries from]:whitelist file:_files' \ - '(-r --rate)'{-r,--rate}'[Optional - Attack rate]:rate:(1 2 3)' \ - '--combine[Optional - Combine all hc22000 files into one]' \ + '(-r --rate)'{-r,--rate}'[Optional - Attack rate (1, 2, 3)]:rate:(1 2 3)' \ + '--combine[Optional - Combine all hc22000 files into one large file for bulk processing]' \ '--noactive[Optional - Disable Active Monitor mode]' \ - '--rogue[Optional - Tx MAC for rogue-based attacks]:rogue MAC:' \ - '--gpsd[Optional - Alter default HOST:Port for GPSD connection]:GPSD HOST:Port:' \ + '--rogue[Optional - Tx MAC for rogue-based attacks]:MAC Address:' \ + '--gpsd[Optional - Alter default HOST:Port for GPSD connection]:GPSD Host:Port:' \ '--autohunt[Optional - AO will auto-hunt all channels then lock in]' \ '--headless[Optional - Set the tool to headless mode without a UI]' \ '--autoexit[Optional - AO will auto-exit when all targets have a valid hashline]' \ '--notransmit[Optional - Do not transmit - passive only]' \ - '--nodeauth[Optional - Do NOT send deauths]' \ '--notar[Optional - Do not tar output files]' \ - '--dwell[Optional - Dwell Time (seconds)]:dwell time:' + '--disablemouse[Optional - Disable mouse capture (scroll wheel)]' \ + '--dwell[Optional - Adjust channel hop dwell time (seconds)]:Dwell Time (seconds):' \ + '--geofence[Optional - Enable geofencing using a specified latlng and distance]' \ + '--center[Lat,Lng for geofencing]:CENTER:' \ + '--distance[Distance in meters from the center]:DISTANCE:' \ + '--geofence-timeout[Timeout to disable geofence if GPS is lost]:GEOFENCE_TIMEOUT:' \ + '--disable-deauth[Optional - Do NOT send deauthentication attacks]' \ + '--disable-pmkid[Optional - Do NOT attempt to associate for PMKID]' \ + '--disable-anon[Optional - Do NOT send anonymous reassociation attacks]' \ + '--disable-csa[Optional - Do NOT send Channel Switch Announcement attacks]' \ + '--disable-disassoc[Optional - Do NOT send disassociation attacks]' \ + '--disable-roguem2[Optional - Do NOT attempt rogue M2 collection]' +} - case $state in - command) - options=( - '--interface[Interface to use]' - '--channel[Optional - Channel to scan]' - '--band[Optional - Entire band to scan]' - '--output[Optional - Output filename]' - '--help[Print help]' - '--version[Print version]' - '--target[Optional - Target to attack]' - '--whitelist[Optional - Whitelist to NOT attack]' - '--targetlist[Optional - File to load target entries from]' - '--whitelist[Optional - File to load whitelist entries from]' - '--rate[Optional - Attack rate]' - '--combine[Combine all hc22000 files into one]' - '--noactive[Disable Active Monitor mode]' - '--rogue[Tx MAC for rogue-based attacks]' - '--gpsd[Alter default +_angryoxide "$@" \ No newline at end of file