Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
staz0t authored Aug 30, 2019
1 parent 4bb2457 commit 478e93c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hashcatch
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ hc_help(){
}

hc_run(){
interface=`grep -i 'interface' $f_config | awk -F'=' '{print $2}'`

if [ "$EUID" -ne 0 ]
then
echo -e "[-] Requires root permission. Exiting!"
Expand Down Expand Up @@ -218,8 +220,6 @@ hc_run(){

banner

interface=`grep -i 'interface' $f_config | awk -F'=' '{print $2}'`

rm -r /tmp/hc_* &> /dev/null

echo -en "\033[3B"
Expand Down

0 comments on commit 478e93c

Please sign in to comment.