Skip to content

Commit

Permalink
fix wizard script
Browse files Browse the repository at this point in the history
  • Loading branch information
vanhauser-thc committed May 11, 2022
1 parent 63e2836 commit b9a985f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hydra-wizard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ; }
Expand Down

0 comments on commit b9a985f

Please sign in to comment.