Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Commit

Permalink
EDIT gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Naville committed Aug 13, 2016
1 parent 6edb840 commit b914d88
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 252 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
obj/
CompileDefines.xm
CompileDefines.mm
theos/
.theos/
.DS_Store
Expand All @@ -14,7 +15,6 @@ ThirdPartyTools/DeviceIDFake/
*.a
./Makefile
Reveal.app/
Reveal*
Reveal.framework
RevealTMP/
*.db
Expand Down
240 changes: 0 additions & 240 deletions CompileDefines.mm

This file was deleted.

4 changes: 2 additions & 2 deletions Hooks/API/Socket.xm
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,13 @@ int new_connect(int sockfd, const struct sockaddr *addr,
socklen_t addrlen){
int retVal=0;
if(WTShouldLog){
retVal=old_connect(sockfd,addr,addrlen);
WTInit(@"Socket",@"connect");
WTAdd([NSNumber numberWithUnsignedShort:sockfd],@"SocketFileDescriptor");
WTAdd([NSNumber numberWithUnsignedInt:addr->sa_len],@"SocketAddressTotalLength");
WTAdd([NSNumber numberWithUnsignedShort:addr->sa_family],@"SocketAddressAddressFamily");
WTAdd(get_ip_str(addr),@"Address");
WTAdd([NSNumber numberWithUnsignedShort:addrlen],@"SocketAddressLength");
retVal=old_connect(sockfd,addr,addrlen);
WTReturn([NSNumber numberWithInt:retVal]);
WTSave;
WTRelease;
Expand All @@ -168,10 +168,10 @@ int new_connect(int sockfd, const struct sockaddr *addr,
int new_listen(int sockfd, int backlog){
int retVal=0;
if(WTShouldLog){
retVal=old_listen(sockfd,backlog);
WTInit(@"Socket",@"listen");
WTAdd([NSNumber numberWithUnsignedInt:sockfd],@"SocketFileDescriptor");
WTAdd([NSNumber numberWithUnsignedInt:backlog],@"BackLog");
retVal=old_listen(sockfd,backlog);
WTReturn([NSNumber numberWithInt:retVal]);
WTSave;
WTRelease;
Expand Down
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
export CFLAGS=-Wp,"-DWTFJHTWEAKNAME=@\"GTW22AOR6PAP8UJ\","-DWTFJHHostName=@\"NavRMBP\"
export CFLAGS=-Wp,"-DWTFJHTWEAKNAME=@\"ABA133XWPFIU121\","-DWTFJHHostName=@\"NavRMBP\"
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = GTW22AOR6PAP8UJ
TWEAK_NAME = ABA133XWPFIU121
SUBSTRATE ?= yes
GTW22AOR6PAP8UJ_FILES = Tweak.xm CompileDefines.xm Hooks/API/AppleAccount.xm Hooks/API/CommonCryptor.xm Hooks/API/CommonDigest.xm Hooks/API/CommonHMAC.xm Hooks/API/CommonKeyDerivation.xm Hooks/API/CoreTelephony.xm Hooks/API/dlfcn.xm Hooks/API/Keychain.xm Hooks/API/libC.xm Hooks/API/libMobileGestalt.xm Hooks/API/LSApplication.xm Hooks/API/MachO.xm Hooks/API/Notification.xm Hooks/API/NSData.xm Hooks/API/NSFileHandle.xm Hooks/API/NSFileManager.xm Hooks/API/NSHTTPCookie.xm Hooks/API/NSInputStream.xm Hooks/API/NSKeyedArchiver.xm Hooks/API/NSKeyedUnarchiver.xm Hooks/API/NSOutputStream.xm Hooks/API/NSProcessInfo.xm Hooks/API/NSURLConnection.xm Hooks/API/NSURLCredential.xm Hooks/API/NSURLSession.xm Hooks/API/NSUserDefaults.xm Hooks/API/NSXMLParser.xm Hooks/API/ObjCRuntime.xm Hooks/API/Security.xm Hooks/API/Socket.xm Hooks/API/SSLKillSwitch.xm Hooks/API/sysctl.xm Hooks/API/UIPasteboard.xm Hooks/SDK/FclBlowfish.xm Hooks/SDK/JSPatch.xm Hooks/SDK/OpenSSLAES.xm Hooks/SDK/OpenSSLBlowFish.xm Hooks/SDK/OpenSSLMD5.xm Hooks/SDK/OpenSSLSHA1.xm Hooks/SDK/OpenSSLSHA512.xm Hooks/SDK/Reveal.xm Hooks/SDK/Wax.xm Hooks/Utils/CallStackInspector.m Hooks/Utils/CallTracer.m Hooks/Utils/DelegateProxies.m Hooks/Utils/NSURLConnectionDelegateProx.m Hooks/Utils/NSURLSessionDelegateProxy.m Hooks/Utils/PlistObjectConverter.m Hooks/Utils/RemoteLogSender.m Hooks/Utils/RuntimeUtils.m Hooks/Utils/SQLiteStorage.m Hooks/Utils/Utils.m Hooks/ThirdPartyTools/classdumpdyld.xm Hooks/ThirdPartyTools/dumpdecrypted.xm Hooks/ThirdPartyTools/InspectiveC.xm Hooks/Misc/Cycript.xm Hooks/Misc/fishhook.c Hooks/Misc/RemoveASLR.xm Hooks/Misc/SplitMachO.mm Hooks/Misc/WTSubstrate.mm
GTW22AOR6PAP8UJ_CCFLAGS = -Qunused-arguments -std=c++11
GTW22AOR6PAP8UJ_LDFLAGS = -Wl,-segalign,4000,-sectcreate,WTFJH,SIGDB,./SignatureDatabase.plist,-sectcreate,WTFJH,classdumpdyld,./classdumpdyld.dylib,-sectcreate,WTFJH,dumpdecrypted,./dumpdecrypted.dylib,-sectcreate,WTFJH,InspectiveC,./InspectiveC.dylib -lz -L. -v -force_load ./ExtraFWs/libcapstone.a -force_load ./ExtraFWs/libLiberation.a -force_load ./ExtraFWs/Reveal.framework/Reveal -force_load ./ExtraFWs/Cycript.framework/Cycript -F./ExtraFWs/ -Wno-unused-function
GTW22AOR6PAP8UJ_CFLAGS = -I/Volumes/PAGEZERO/WTFJH/Hooks/
GTW22AOR6PAP8UJ_LIBRARIES = sqlite3 substrate stdc++ c++
GTW22AOR6PAP8UJ_FRAMEWORKS = Foundation UIKit Security JavaScriptCore UIKit CoreGraphics CoreFoundation QuartzCore CFNetwork
ABA133XWPFIU121_FILES = Tweak.xm CompileDefines.xm Hooks/API/AppleAccount.xm Hooks/API/CommonCryptor.xm Hooks/API/CommonDigest.xm Hooks/API/CommonHMAC.xm Hooks/API/CommonKeyDerivation.xm Hooks/API/CoreTelephony.xm Hooks/API/dlfcn.xm Hooks/API/Keychain.xm Hooks/API/libC.xm Hooks/API/libMobileGestalt.xm Hooks/API/LSApplication.xm Hooks/API/MachO.xm Hooks/API/Notification.xm Hooks/API/NSData.xm Hooks/API/NSFileHandle.xm Hooks/API/NSFileManager.xm Hooks/API/NSHTTPCookie.xm Hooks/API/NSInputStream.xm Hooks/API/NSKeyedArchiver.xm Hooks/API/NSKeyedUnarchiver.xm Hooks/API/NSOutputStream.xm Hooks/API/NSProcessInfo.xm Hooks/API/NSURLConnection.xm Hooks/API/NSURLCredential.xm Hooks/API/NSURLSession.xm Hooks/API/NSUserDefaults.xm Hooks/API/NSXMLParser.xm Hooks/API/ObjCRuntime.xm Hooks/API/Security.xm Hooks/API/Socket.xm Hooks/API/SSLKillSwitch.xm Hooks/API/sysctl.xm Hooks/API/UIPasteboard.xm Hooks/SDK/FclBlowfish.xm Hooks/SDK/JSPatch.xm Hooks/SDK/OpenSSLAES.xm Hooks/SDK/OpenSSLBlowFish.xm Hooks/SDK/OpenSSLMD5.xm Hooks/SDK/OpenSSLSHA1.xm Hooks/SDK/OpenSSLSHA512.xm Hooks/SDK/Reveal.xm Hooks/SDK/Wax.xm Hooks/Utils/CallStackInspector.m Hooks/Utils/CallTracer.m Hooks/Utils/DelegateProxies.m Hooks/Utils/NSURLConnectionDelegateProx.m Hooks/Utils/NSURLSessionDelegateProxy.m Hooks/Utils/PlistObjectConverter.m Hooks/Utils/RemoteLogSender.m Hooks/Utils/RuntimeUtils.m Hooks/Utils/SQLiteStorage.m Hooks/Utils/Utils.m Hooks/ThirdPartyTools/classdumpdyld.xm Hooks/ThirdPartyTools/dumpdecrypted.xm Hooks/ThirdPartyTools/InspectiveC.xm Hooks/Misc/Cycript.xm Hooks/Misc/fishhook.c Hooks/Misc/RemoveASLR.xm Hooks/Misc/SplitMachO.mm Hooks/Misc/WTSubstrate.mm
ABA133XWPFIU121_CCFLAGS = -Qunused-arguments -std=c++11
ABA133XWPFIU121_LDFLAGS = -Wl,-segalign,4000,-sectcreate,WTFJH,SIGDB,./SignatureDatabase.plist,-sectcreate,WTFJH,classdumpdyld,./classdumpdyld.dylib,-sectcreate,WTFJH,dumpdecrypted,./dumpdecrypted.dylib,-sectcreate,WTFJH,InspectiveC,./InspectiveC.dylib -lz -L. -v -force_load ./ExtraFWs/libcapstone.a -force_load ./ExtraFWs/libLiberation.a -force_load ./ExtraFWs/Reveal.framework/Reveal -force_load ./ExtraFWs/Cycript.framework/Cycript -F./ExtraFWs/ -Wno-unused-function
ABA133XWPFIU121_CFLAGS = -I/Volumes/PAGEZERO/WTFJH/Hooks/
ABA133XWPFIU121_LIBRARIES = sqlite3 substrate stdc++ c++
ABA133XWPFIU121_FRAMEWORKS = Foundation UIKit Security JavaScriptCore UIKit CoreGraphics CoreFoundation QuartzCore CFNetwork

include $(THEOS_MAKE_PATH)/tweak.mk
after-install::
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
422
423

0 comments on commit b914d88

Please sign in to comment.