Skip to content

Commit

Permalink
0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
w0lfschild committed Mar 30, 2018
1 parent a93739e commit 3d3300c
Show file tree
Hide file tree
Showing 85 changed files with 1,546 additions and 6,578 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ FOUNDATION_EXPORT const unsigned char SIMBLManagerVersionString[];
}

+ (SIMBLManager *)sharedInstance;
- (Boolean)AMFI_enabled;
- (Boolean)SIP_enabled;

- (Boolean)AMFI_toggle;

- (Boolean)SIMBL_install;
- (void)SIMBL_injectAll;
- (void)SIMBL_injectApp:(NSString *)appName :(Boolean)restart;
Expand All @@ -48,18 +51,23 @@ FOUNDATION_EXPORT const unsigned char SIMBLManagerVersionString[];

@interface sip_c : NSWindowController

@property (assign) IBOutlet NSButton *confirm;
@property (weak) IBOutlet NSButton *confirm;

- (IBAction)iconfirm:(id)sender;
- (IBAction)confirmQuit:(id)sender;
- (void)displayInWindow:(NSWindow*)window;

@end

@interface sim_c : NSWindowController

@property (assign) IBOutlet NSButton *cancel;
@property (assign) IBOutlet NSButton *accept;

@property (weak) IBOutlet NSButton *cancel;
@property (weak) IBOutlet NSButton *accept;
@property IBOutlet NSTextField *tv;

- (IBAction)install:(id)sender;
- (IBAction)cancel:(id)sender;

- (void)displayInWindow:(NSWindow*)window;

@end

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>16E154a</string>
<string>17E197a</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
Expand All @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.5.2</string>
<string>1.7.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
Expand All @@ -29,17 +29,17 @@
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>8C1002</string>
<string>9A1004</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>16C58</string>
<string>17A360</string>
<key>DTSDKName</key>
<string>macosx10.12</string>
<string>macosx10.13</string>
<key>DTXcode</key>
<string>0821</string>
<string>0901</string>
<key>DTXcodeBuild</key>
<string>8C1002</string>
<string>9A1004</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2016 Wolfgang Baird. All rights reserved.</string>
</dict>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>16E154a</string>
<string>17E197a</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
Expand All @@ -29,17 +29,17 @@
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>8C1002</string>
<string>9A1004</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>16C58</string>
<string>17A360</string>
<key>DTSDKName</key>
<string>macosx10.12</string>
<string>macosx10.13</string>
<key>DTXcode</key>
<string>0821</string>
<string>0901</string>
<key>DTXcodeBuild</key>
<string>8C1002</string>
<string>9A1004</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2016 Wolfgang Baird. All rights reserved.</string>
<key>OSAScriptingDefinition</key>
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<dict>
<key>Resources/SIMBL.rsrc</key>
<data>
3626rrWuSaDi9lB/ea+jdjODvjI=
aA1L9BSC5GFTfMl47+NBzOMqZrM=
</data>
<key>Resources/SIMBL.sdef</key>
<data>
Expand All @@ -19,11 +19,11 @@
<dict>
<key>hash</key>
<data>
3626rrWuSaDi9lB/ea+jdjODvjI=
aA1L9BSC5GFTfMl47+NBzOMqZrM=
</data>
<key>hash2</key>
<data>
pANa9I6zD2VTbWaUOec9U5op283zdvWKUzPRFsHuNx0=
xrOeEpjfHFHInc47Uo0Cx/mBjM8bUORZbvlsmXgbByw=
</data>
</dict>
<key>Resources/SIMBL.sdef</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>16E154a</string>
<string>17E197a</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
Expand All @@ -17,33 +17,33 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.7.0</string>
<string>1.7.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>21</string>
<string>23</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>8C1002</string>
<string>9A1004</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>16C58</string>
<string>17A360</string>
<key>DTSDKName</key>
<string>macosx10.12</string>
<string>macosx10.13</string>
<key>DTXcode</key>
<string>0821</string>
<string>0901</string>
<key>DTXcodeBuild</key>
<string>8C1002</string>
<string>9A1004</string>
<key>LSBackgroundOnly</key>
<true/>
<key>LSMinimumSystemVersion</key>
<string>10.9</string>
<string>10.10</string>
<key>LSUIElement</key>
<true/>
<key>NSHumanReadableCopyright</key>
Expand Down
Binary file not shown.
35 changes: 35 additions & 0 deletions Frameworks/SIMBLManager.framework/Versions/A/Resources/amfiswitch
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/bin/sh

# flip apple mobile file integrity

log_dir="$HOME"/Library/"Application Support"/mySIMBL/logs
origargs=$(nvram boot-args)
origargs=${origargs/boot-args}
newargs=""
exec &>"$log_dir"/amfi.log

trim() {
local var="$1"
# remove leading whitespace characters
var="${var#"${var%%[![:space:]]*}"}"
# remove trailing whitespace characters
var="${var%"${var##*[![:space:]]}"}"

# var=$(echo "$var" | tr -s " ")
# var=$(echo "$var" | sed -e 's,\\[trn],,g')

echo "$var"
}


if [[ $origargs = *"amfi_get_out_of_my_way=1"* ]]; then
newargs=${origargs/amfi_get_out_of_my_way=1/}
else
newargs="$origargs amfi_get_out_of_my_way=1"
fi

newargs=$(trim "$newargs")

nvram boot-args="$newargs"

echo "Done"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<appname> needs to update some components on your system. If these components are not installed, <appname> may fail to function properly or not work at all.

Updating requires an administrator password.

14 changes: 14 additions & 0 deletions Frameworks/SIMBLManager.framework/Versions/A/Resources/eng_sip.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<appname> needs to update some components on your system. If these components are not installed, <appname> may fail to function properly or not work at all.

<appname> has determined that System Integrity Protection is enabled on your system.

In order to complete the installation follow these instructions:

1 : Restart your computer
2 : Boot to recovery partition by holding (Command [⌘] + R)
3 : Open terminal from the menubar
4 : Paste this command: csrutil disable
5 : Press return or enter
6 : Reboot

You can re-enable System Integrity Protection after <appname> updates it's system components.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

# Update SIMBL.osax and remove possible old or alternate version
# Update mySIMBL Agent and remove possible old or alternate version

function nukeFiles() {
if [[ -e "$1" ]]; then
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

# Update SIMBL and remove possible old or alternate version
# Update SIMBL and Agent plus remove possible old or alternate version

function nukeFiles() {
if [[ -e "$1" ]]; then
Expand Down
49 changes: 0 additions & 49 deletions Frameworks/SIMBLManager.framework/Versions/A/Resources/libvalpatch

This file was deleted.

Binary file modified Frameworks/SIMBLManager.framework/Versions/A/Resources/sim_c.nib
Binary file not shown.
Binary file modified Frameworks/SIMBLManager.framework/Versions/A/Resources/sip_c.nib
Binary file not shown.
Binary file not shown.
Binary file modified Frameworks/SIMBLManager.framework/Versions/A/SIMBLManager
Binary file not shown.
Loading

0 comments on commit 3d3300c

Please sign in to comment.