fixed linting issue
parent
449746a51e
commit
cd2469b59f
|
|
@ -16,34 +16,34 @@ if command -v wpscan > /dev/null; then
|
||||||
local DETECTION="mixed active passive"
|
local DETECTION="mixed active passive"
|
||||||
case $prev in
|
case $prev in
|
||||||
--format | -f)
|
--format | -f)
|
||||||
COMPREPLY=($( compgen -W "cli cli-no-color json" -- "$cur"))
|
COMPREPLY=("$( compgen -W "cli cli-no-color json" -- "$cur")")
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
|
||||||
--detection-mode | *detection)
|
--detection-mode | *detection)
|
||||||
COMPREPLY=($( compgen -W "$DETECTION" -- "$cur"))
|
COMPREPLY=("$( compgen -W "$DETECTION" -- "$cur")")
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
|
||||||
--enumerate | -e)
|
--enumerate | -e)
|
||||||
case $prev in
|
case $prev in
|
||||||
vp | ap | p)
|
vp | ap | p)
|
||||||
COMPREPLY=($( compgen -W "vt at t tt cb dbe u m" -- "$cur"))
|
COMPREPLY=("$( compgen -W "vt at t tt cb dbe u m" -- "$cur")")
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
vt | at | t)
|
vt | at | t)
|
||||||
COMPREPLY=($( compgen -W "vp ap p tt cb dbe u m" -- "$cur"))
|
COMPREPLY=("$( compgen -W "vp ap p tt cb dbe u m" -- "$cur")")
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
COMPREPLY=($( compgen -W "vp ap p vt at t tt cb dbe u m" -- "$cur"))
|
COMPREPLY=("$( compgen -W "vp ap p vt at t tt cb dbe u m" -- "$cur")")
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
--password-attack)
|
--password-attack)
|
||||||
COMPREPLY=($( compgen -W "wp-login xmlrpc xmlrpc-multicall" -- "$cur"))
|
COMPREPLY=("$( compgen -W "wp-login xmlrpc xmlrpc-multicall" -- "$cur")")
|
||||||
;;
|
;;
|
||||||
|
|
||||||
## HANDLE ALL OTHER
|
## HANDLE ALL OTHER
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue