Last active
          August 29, 2015 14:23 
        
      - 
      
 - 
        
Save d4v3y0rk/d0b22b69cfe434d54871 to your computer and use it in GitHub Desktop.  
Revisions
- 
        
d4v3y0rk revised this gist
Jun 18, 2015 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ #!/bin/bash HASH=`md5 $2 | awk '{print $4}'` if [ $1 == $HASH ]; then echo "hashes match" && exit 0; else echo "hashes are different" && exit 1; fi  - 
        
d4v3y0rk created this gist
Jun 18, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ #!/bin/bash HASH=`md5 $2 | awk '{print $4}'` if [ $1 == $HASH ]; then echo "hashes match"; else echo "hashes are different"; fi