Advertisement
fenix_of_fire

stegsmash

Jul 15th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.58 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. #The brute force for steghide By:Init-0
  4.  
  5. if [ "$1" == "" ]
  6. then
  7.     echo -e "\033[1;32m#######################################################\033[0m"
  8.         echo -e "\033[1;32m## Usage: $0\033[0m" "\033[1;31mWORDLIST_PATH\033[0m" "\033[1;33mFILE_STEGHIDE\033[0m""\033[1;32m ##\033[0m"
  9.     echo -e "\033[1;32m#######################################################\033[0m"
  10.     exit 0
  11. fi
  12. zcat -f $1 | while read pass
  13. do
  14. result=$(steghide extract -sf $2 -p "$pass" 2>&1 | grep "wrote" | wc -l)
  15.     if [ $result == 1 ];then
  16.             echo "The file password is: $pass"
  17.             exit 0
  18.     fi
  19. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement