mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 12:36:09 -07:00
fix wizard script
This commit is contained in:
parent
63e2836e91
commit
b9a985fb56
1 changed files with 2 additions and 2 deletions
|
@ -33,10 +33,10 @@ test -e "$pass" && passs="-P $pass"
|
|||
test -e "$pass" || passs="-p $pass"
|
||||
test -n "$port" && ports="-s $port"
|
||||
test -n "$pw" && pws="-e $pw"
|
||||
test -n "$opt" && opts="-m '$opt'"
|
||||
test -n "$opt" && { opts="-m $opt" ; dopts="-m '$opt'" ; }
|
||||
|
||||
echo The following command will be executed now:
|
||||
echo " hydra $users $passs -u $pws $ports $opts $targets $service"
|
||||
echo " hydra $users $passs -u $pws $ports $dopts $targets $service"
|
||||
echo
|
||||
read -p "Do you want to run the command now? [Y/n] " yn
|
||||
test "$yn" = "n" -o "$yn" = "N" && { echo Exiting. ; exit 0 ; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue