Question

I'm trying to develop an app (profanity filter) that would allow me to scan incoming traffic/packets coming into an iPhone before it goes to an app such as Facebook, Twitter, Text Messaging, etc. Is this possible and if so, could someone please provide me with a starting point?

Était-ce utile?

La solution

It's not possible on non-jailbroken phone, unfortunately.

To do so, you need access to network stack (so that you're able to pass through or discard packets). This is commonly done in kernel space of OS (pf, osx firewall, littlesnich are examples). There's no way to get into kernel space on vanilla iOS device.

Autres conseils

It's highly unlikely that there is any code that would pass Apple's muster that would let you launch a man-in-the-middle attack on other apps, at least I hope there isn't. That approach pretty much blows the whole sandbox protection right out of the water.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top