some changes, new bruteforce binary
This commit is contained in:
BIN
resources/bruteforce
Normal file → Executable file
BIN
resources/bruteforce
Normal file → Executable file
Binary file not shown.
17
start.sh
17
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
|
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."
|
echo "Device already in pwnDFU mode."
|
||||||
ipwndfu send_ibss
|
ipwndfu send_ibss
|
||||||
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#pwndfu code
|
#pwndfu code
|
||||||
@@ -320,9 +321,9 @@ pwn_device() {
|
|||||||
echo "[*] Waiting for device in pwnDFU mode"
|
echo "[*] Waiting for device in pwnDFU mode"
|
||||||
fi
|
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
|
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
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "Device in pwnDFU mode detected!"
|
echo "Device in pwnDFU mode detected!"
|
||||||
ipwndfu send_ibss
|
ipwndfu send_ibss
|
||||||
@@ -331,9 +332,9 @@ pwn_device() {
|
|||||||
echo "Using ipwndu for pwning..."
|
echo "Using ipwndu for pwning..."
|
||||||
ipwndfu pwn
|
ipwndfu pwn
|
||||||
;;
|
;;
|
||||||
ipwnder32)
|
ipwnder)
|
||||||
echo "Using ipwnder32 for pwning..."
|
echo "Using ipwnder for pwning..."
|
||||||
ipwnder32
|
ipwnder
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "ipwnder value is empty. wtf"
|
echo "ipwnder value is empty. wtf"
|
||||||
@@ -463,6 +464,10 @@ ipwndfu() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ipwnder() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
download_file() {
|
download_file() {
|
||||||
# usage: download_file {link} {target location} {sha1}
|
# usage: download_file {link} {target location} {sha1}
|
||||||
local filename="$(basename $2)"
|
local filename="$(basename $2)"
|
||||||
|
Reference in New Issue
Block a user