cycript

Using the Macro SEC_IS_BEING_DEBUGGED_RETURN_NIL in iOS app

放肆的年华 提交于 2019-12-10 10:55:10
问题 I learnt about the below piece of code, which is claimed to prevent Method Swizzling to some extent. #ifndef DEBUG SEC_IS_BEING_DEBUGGED_RETURN_NIL(); #endif But while including in my project for testing, I get an error. Implicit declaration of function 'SEC_IS_BEING_DEBUGGED_RETURN_NIL' is invalid in C99 Can someone help me out on this error, if I need to include any library header for the same. 回答1: I didn't intend to answer my own question. From the comment above, I did a search for any

Using the Macro SEC_IS_BEING_DEBUGGED_RETURN_NIL in iOS app

点点圈 提交于 2019-12-06 08:19:10
I learnt about the below piece of code, which is claimed to prevent Method Swizzling to some extent. #ifndef DEBUG SEC_IS_BEING_DEBUGGED_RETURN_NIL(); #endif But while including in my project for testing, I get an error. Implicit declaration of function 'SEC_IS_BEING_DEBUGGED_RETURN_NIL' is invalid in C99 Can someone help me out on this error, if I need to include any library header for the same. I didn't intend to answer my own question. From the comment above, I did a search for any such implementation. And Found this In a GitHub Project . Which is a category of NSObject Perhaps, it would

Is Swift resistant against hooking?

这一生的挚爱 提交于 2019-12-06 03:12:39
问题 Cycript is a console based application that is a blend of Objective-C and JavaScript. Cycript is very useful for dynamic analysis of iOS applications. If you write any methods or the complete ipa with Swift is it still possible to hook the application on a jailbroken device? Or is Swift safe like "native C" Code on iOS ? 回答1: I'm not really familiar with Cycript but I have a little understanding of the Swift compiler. Swift code will be more resistant to hooking but it should not be

Detect if Cycript/Substrate or gdb is attached to an iOS app's process?

删除回忆录丶 提交于 2019-12-05 01:10:51
问题 I am building an iOS app that transmits sensitive data to my server, and I'm signing my API requests as an additional measure. I want to make reverse engineering as hard as possible, and having used Cycript to find signing keys of some real-world apps, I know it's not hard to find these keys by attaching to a process. I am absolutely aware that if someone is really skilled and tries hard enough , they eventually will exploit, but I'm trying to make it as hard as possible, while still being

Is Swift resistant against hooking?

橙三吉。 提交于 2019-12-04 09:11:00
Cycript is a console based application that is a blend of Objective-C and JavaScript. Cycript is very useful for dynamic analysis of iOS applications. If you write any methods or the complete ipa with Swift is it still possible to hook the application on a jailbroken device? Or is Swift safe like "native C" Code on iOS ? I'm not really familiar with Cycript but I have a little understanding of the Swift compiler. Swift code will be more resistant to hooking but it should not be completely impossible. NSObject subclasses and Swift classes that are declared @objc should be as accessible as

Detect if Cycript/Substrate or gdb is attached to an iOS app's process?

此生再无相见时 提交于 2019-12-03 15:53:36
I am building an iOS app that transmits sensitive data to my server, and I'm signing my API requests as an additional measure. I want to make reverse engineering as hard as possible, and having used Cycript to find signing keys of some real-world apps, I know it's not hard to find these keys by attaching to a process. I am absolutely aware that if someone is really skilled and tries hard enough , they eventually will exploit, but I'm trying to make it as hard as possible, while still being convenient for myself and users. I can check for jailbroken status and take additional measures, or I can