mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
10 lines
311 B
Bash
10 lines
311 B
Bash
|
#/usr/bin/env bash
|
||
|
|
||
|
# source ./extra/shutils/autocompletion.sh
|
||
|
|
||
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||
|
WORDLIST=`python "$DIR/../../sqlmap.py" -hh | grep -Eo '\s\--?\w[^ =,]*' | grep -vF '..' | paste -sd "" -`
|
||
|
|
||
|
complete -W "$WORDLIST" sqlmap
|
||
|
complete -W "$WORDLIST" ./sqlmap.py
|