Created
July 29, 2014 04:27
-
-
Save devbug/d470599cfdf2159e3358 to your computer and use it in GitHub Desktop.
StupidHanaNBank
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
Package: me.devbug.stupidhananbank | |
Name: StupidHanaNBank | |
Depends: mobilesubstrate | |
Version: 0.0.1 | |
Architecture: iphoneos-arm | |
Description: Patch HanaNBank(v4.01) crash bug | |
Maintainer: deVbug | |
Author: deVbug | |
Section: Tweaks |
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
include theos/makefiles/common.mk | |
TWEAK_NAME = StupidHanaNBank | |
StupidHanaNBank_FILES = Tweak.xm | |
StupidHanaNBank_FRAMEWORKS = Security | |
include $(THEOS_MAKE_PATH)/tweak.mk | |
after-install:: | |
install.exec "killall -9 HanaNBank" |
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
{ Filter = { Bundles = ( "com.hanabank.smart.HanaNBank" ); }; } |
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
// HanaNBank v4.01 bug patch | |
%hook Keychain | |
- (id)objectForKey:(id)key { | |
id rtn = %orig; | |
if ([key isEqual:(id)kSecValueData] && ![rtn isKindOfClass:[NSData class]]) { | |
rtn = [NSData data]; | |
} | |
return rtn; | |
} | |
%end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment