Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
367fbba7c6 | ||
|
21c8c4cf1d | ||
|
2c3bbeca2d |
BIN
bin/Darwin/ipwnder
Executable file
BIN
bin/Darwin/ipwnder
Executable file
Binary file not shown.
BIN
resources/bruteforce
Normal file → Executable file
BIN
resources/bruteforce
Normal file → Executable file
Binary file not shown.
20
start.sh
20
start.sh
@@ -254,7 +254,6 @@ set_tool_paths() {
|
||||
ideviceinstaller+="$dir/ideviceinstaller"
|
||||
idevicerestore+="$dir/idevicerestore"
|
||||
ifuse="$(command -v ifuse)"
|
||||
ipwnder+="$dir/ipwnder"
|
||||
irecovery+="$dir/irecovery"
|
||||
irecovery2+="$dir/irecovery2"
|
||||
irecovery3+="../$dir/irecovery"
|
||||
@@ -304,6 +303,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 +320,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 +331,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 +463,12 @@ ipwndfu() {
|
||||
|
||||
}
|
||||
|
||||
ipwnder() {
|
||||
echo "Pwning device using ipwnder"
|
||||
./bin/Darwin/ipwnder
|
||||
|
||||
}
|
||||
|
||||
download_file() {
|
||||
# usage: download_file {link} {target location} {sha1}
|
||||
local filename="$(basename $2)"
|
||||
|
Reference in New Issue
Block a user