diff --git a/resources/bruteforce b/resources/bruteforce old mode 100644 new mode 100755 index a438115..55b49fa Binary files a/resources/bruteforce and b/resources/bruteforce differ diff --git a/start.sh b/start.sh index a2ca918..2ea74f4 100755 --- a/start.sh +++ b/start.sh @@ -304,6 +304,7 @@ pwn_device() { if (system_profiler SPUSBDataType 2> /dev/null | grep ' Apple Mobile Device (DFU Mode)' >> /dev/null | bin/Darwin/irecovery -q 2> /dev/null | grep 'PWND' >> /dev/null); then echo "Device already in pwnDFU mode." ipwndfu send_ibss + return fi #pwndfu code @@ -320,9 +321,9 @@ pwn_device() { echo "[*] Waiting for device in pwnDFU mode" fi - while ! (system_profiler SPUSBDataType 2> /dev/null | grep ' Apple Mobile Device (DFU Mode)' >> /dev/null | bin/Darwin/irecovery -q 2> /dev/null | grep 'PWND' >> /dev/null ); do - sleep 1 - done + while ! (system_profiler SPUSBDataType 2> /dev/null | grep ' Apple Mobile Device (DFU Mode)' >> /dev/null | bin/Darwin/irecovery -q 2> /dev/null | grep 'PWND' >> /dev/null ); do + sleep 1 + done echo "Device in pwnDFU mode detected!" ipwndfu send_ibss @@ -331,9 +332,9 @@ pwn_device() { echo "Using ipwndu for pwning..." ipwndfu pwn ;; - ipwnder32) - echo "Using ipwnder32 for pwning..." - ipwnder32 + ipwnder) + echo "Using ipwnder for pwning..." + ipwnder ;; *) echo "ipwnder value is empty. wtf" @@ -463,6 +464,10 @@ ipwndfu() { } +ipwnder() { + +} + download_file() { # usage: download_file {link} {target location} {sha1} local filename="$(basename $2)"