-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
123 changed files
with
14,035 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>IDESourceControlProjectFavoriteDictionaryKey</key> | ||
<false/> | ||
<key>IDESourceControlProjectIdentifier</key> | ||
<string>EA0DF5C0-8A03-4657-8C7A-4289F02AD142</string> | ||
<key>IDESourceControlProjectName</key> | ||
<string>SudoChop</string> | ||
<key>IDESourceControlProjectRelativeInstallPathDictionary</key> | ||
<dict> | ||
<key>5E438143-B91B-4DD2-8176-F89A16BD93B8</key> | ||
<string>../konsole</string> | ||
</dict> | ||
<key>IDESourceControlProjectVersion</key> | ||
<integer>110</integer> | ||
<key>IDESourceControlProjectWCCIdentifier</key> | ||
<string>5E438143-B91B-4DD2-8176-F89A16BD93B8</string> | ||
<key>IDESourceControlProjectWCConfigurations</key> | ||
<array> | ||
<dict> | ||
<key>IDESourceControlRepositoryExtensionIdentifierKey</key> | ||
<string>public.vcs.git</string> | ||
<key>IDESourceControlWCCIdentifierKey</key> | ||
<string>5E438143-B91B-4DD2-8176-F89A16BD93B8</string> | ||
<key>IDESourceControlWCCName</key> | ||
<string>konsole</string> | ||
</dict> | ||
</array> | ||
</dict> | ||
</plist> |
Binary file added
BIN
+116 KB
SudoChop.xcworkspace/xcuserdata/posixninja.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
22 changes: 22 additions & 0 deletions
22
SudoChop.xcworkspace/xcuserdata/posixninja.xcuserdatad/WorkspaceSettings.xcsettings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>BuildLocationStyle</key> | ||
<string>UseAppPreferences</string> | ||
<key>CustomBuildLocationType</key> | ||
<string>RelativeToDerivedData</string> | ||
<key>DerivedDataLocationStyle</key> | ||
<string>Default</string> | ||
<key>HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges</key> | ||
<true/> | ||
<key>IssueFilterStyle</key> | ||
<string>ShowActiveSchemeOnly</string> | ||
<key>LiveSourceIssuesEnabled</key> | ||
<true/> | ||
<key>SnapshotAutomaticallyBeforeSignificantChanges</key> | ||
<true/> | ||
<key>SnapshotLocationStyle</key> | ||
<string>Default</string> | ||
</dict> | ||
</plist> |
39 changes: 39 additions & 0 deletions
39
SudoChop.xcworkspace/xcuserdata/posixninja.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Bucket | ||
type = "0" | ||
version = "2.0"> | ||
<Breakpoints> | ||
<BreakpointProxy | ||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
<BreakpointContent | ||
shouldBeEnabled = "No" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
filePath = "crack/crack/crack.c" | ||
timestampString = "413570521.617489" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "209" | ||
endingLineNumber = "209" | ||
landmarkName = "crack_enter()" | ||
landmarkType = "7"> | ||
</BreakpointContent> | ||
</BreakpointProxy> | ||
<BreakpointProxy | ||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
<BreakpointContent | ||
shouldBeEnabled = "Yes" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
filePath = "patch/patch/find.c" | ||
timestampString = "417631918.410857" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "739" | ||
endingLineNumber = "739" | ||
landmarkName = "find_pmap_location()" | ||
landmarkType = "7"> | ||
</BreakpointContent> | ||
</BreakpointProxy> | ||
</Breakpoints> | ||
</Bucket> |
110 changes: 110 additions & 0 deletions
110
SudoChop.xcworkspace/xcuserdata/posixninja.xcuserdatad/xcschemes/all.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "0510" | ||
version = "1.3"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES"> | ||
<BuildActionEntries> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "8A6E73B7188EF10B000D650F" | ||
BuildableName = "crack" | ||
BlueprintName = "crack" | ||
ReferencedContainer = "container:crack/crack.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "8A6E739B188EF0E4000D650F" | ||
BuildableName = "dump" | ||
BlueprintName = "dump" | ||
ReferencedContainer = "container:dump/dump.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "8A6E735D188EF0B0000D650F" | ||
BuildableName = "patch" | ||
BlueprintName = "patch" | ||
ReferencedContainer = "container:patch/patch.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "8A75E8E4197EEE6A0007FCA7" | ||
BuildableName = "konsole" | ||
BlueprintName = "konsole" | ||
ReferencedContainer = "container:konsole/konsole.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
</BuildActionEntries> | ||
</BuildAction> | ||
<TestAction | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
buildConfiguration = "Debug"> | ||
<Testables> | ||
</Testables> | ||
</TestAction> | ||
<LaunchAction | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
buildConfiguration = "Debug" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
allowLocationSimulation = "YES"> | ||
<MacroExpansion> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "8A6E73B7188EF10B000D650F" | ||
BuildableName = "crack" | ||
BlueprintName = "crack" | ||
ReferencedContainer = "container:crack/crack.xcodeproj"> | ||
</BuildableReference> | ||
</MacroExpansion> | ||
<AdditionalOptions> | ||
</AdditionalOptions> | ||
</LaunchAction> | ||
<ProfileAction | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
buildConfiguration = "Release" | ||
debugDocumentVersioning = "YES"> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Debug"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
14 changes: 14 additions & 0 deletions
14
SudoChop.xcworkspace/xcuserdata/posixninja.xcuserdatad/xcschemes/xcschememanagement.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>SchemeUserState</key> | ||
<dict> | ||
<key>all.xcscheme</key> | ||
<dict> | ||
<key>orderHint</key> | ||
<integer>3</integer> | ||
</dict> | ||
</dict> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
#!/bin/bash | ||
|
||
|
||
echo "Sudo Chop!!!" | ||
|
||
# Clean up old staging files from subversi0n and rebuild | ||
rm -rf ddi.dmg | ||
rm -rf dump.dylib | ||
rm -rf patch.dylib | ||
rm -rf crack.dylib | ||
|
||
# Build dump.dylib | ||
cd dump | ||
rm -rf build | ||
xcodebuild | ||
cp build/Release-iphoneos/dump ../dump.dylib | ||
cd .. | ||
|
||
# Build patch.dylib | ||
cd patch | ||
rm -rf build | ||
xcodebuild | ||
cp build/Release-iphoneos/patch ../patch.dylib | ||
cd .. | ||
|
||
# Build crack.dylib | ||
cd crack | ||
rm -rf build | ||
xcodebuild | ||
cp build/Release-iphoneos/crack ../crack.dylib | ||
cd .. | ||
|
||
# Codesign everything | ||
codesign -f -s "iPhone Developer" dump.dylib | ||
codesign -f -s "iPhone Developer" patch.dylib | ||
codesign -f -s "iPhone Developer" crack.dylib | ||
|
||
# Mount our new image | ||
sudo hdiutil detach /Volumes/DDI | ||
sudo hdiutil mount udrw.dmg | ||
|
||
# Remove old files | ||
sudo rm -rf /Volumes/DDI/dump.dylib | ||
sudo rm -rf /Volumes/DDI/patch.dylib | ||
sudo rm -rf /Volumes/DDI/crack.dylib | ||
sudo rm -rf /Volumes/DDI/Library/LaunchDaemons/com.sudo-sec.dump.plist | ||
sudo rm -rf /Volumes/DDI/Library/LaunchDaemons/com.sudo-sec.patch.plist | ||
sudo rm -rf /Volumes/DDI/Library/LaunchDaemons/com.sudo-sec.crack.plist | ||
sudo rm -rf /Volumes/DDI/Library/LaunchDaemons/com.sudo-sec.panic.plist | ||
|
||
# Copy over new dylibs | ||
sudo cp ./dump.dylib /Volumes/DDI/dump.dylib | ||
sudo cp ./patch.dylib /Volumes/DDI/patch.dylib | ||
sudo cp ./crack.dylib /Volumes/DDI/crack.dylib | ||
|
||
# Copy over LaunchServices | ||
sudo cp ./dump/dump/com.sudo-sec.dump.plist /Volumes/DDI/Library/LaunchDaemons/com.sudo-sec.dump.plist | ||
sudo cp ./patch/patch/com.sudo-sec.patch.plist /Volumes/DDI/Library/LaunchDaemons/com.sudo-sec.patch.plist | ||
sudo cp ./crack/crack/com.sudo-sec.crack.plist /Volumes/DDI/Library/LaunchDaemons/com.sudo-sec.crack.plist | ||
|
||
# Unmount and convert to UDRO | ||
sudo hdiutil detach /Volumes/DDI | ||
sudo hdiutil convert -format UDRO -o ddi.dmg udrw.dmg | ||
|
||
echo "Done, copy ddi.dmg over to SudoPunch" |
Oops, something went wrong.