Fixes typo
This commit is contained in:
parent
ced94ff9b8
commit
b6a09a9d6e
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ jhswap(){
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
cmd=${tokens[1]}
|
cmd=${tokens[1]}
|
||||||
if [[ "$cmd" == "hydra" && "${tokens[-1]}" == "-m" ]]; then
|
if [[ "$cmd" == "hashcat" && "${tokens[-1]}" == "-m" ]]; then
|
||||||
mode=$(hashcat --example-hashes | awk -v RS="\n\n" -F "\t" '{gsub("\n","\t",$0); print $1 "\t" $2 "\t" $3}' | sed 's/MODE: //; s/TYPE: //' | fzf -d "\t" --header="Mode Type" --with-nth='1,2' --preview='echo {3}' --preview-window=up:1 | cut -d' ' -f1)
|
mode=$(hashcat --example-hashes | awk -v RS="\n\n" -F "\t" '{gsub("\n","\t",$0); print $1 "\t" $2 "\t" $3}' | sed 's/MODE: //; s/TYPE: //' | fzf -d "\t" --header="Mode Type" --with-nth='1,2' --preview='echo {3}' --preview-window=up:1 | cut -d' ' -f1)
|
||||||
if [[ "${LBUFFER[-1]}" != " " ]]; then
|
if [[ "${LBUFFER[-1]}" != " " ]]; then
|
||||||
LBUFFER="${LBUFFER} "
|
LBUFFER="${LBUFFER} "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue