You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
150 B
Bash

#!/bin/bash
# ./demo.sh <sha1 checksum>
# 00112233
pattern='hex:'
cd `dirname $0`
./rcrack . -h $1 | grep $pattern | awk -F $pattern '{print $2}'