문제

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?

도움이 되었습니까?

해결책

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.

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top