RVI = Remote Virtual Interface
Using RVI, you can capture network packages in iOS using any normal package capturing tools like tcpdump etc.
| /* | |
| Serve is a very simple static file server in go | |
| Usage: | |
| -p="8100": port to serve on | |
| -d=".": the directory of static files to host | |
| Navigating to http://localhost:8100 will display the index.html or directory | |
| listing file. | |
| */ | |
| package main |
| from twisted.web import http | |
| from twisted.internet import protocol, reactor | |
| from twisted.internet.error import CannotListenError, ConnectError | |
| from twisted.internet.interfaces import IReactorTCP | |
| from zope.interface import implements | |
| from twisted.python import log | |
| class ProxyConnectError(ConnectError): |
| #import <Foundation/Foundation.h> | |
| @interface SPInvocationGrabber : NSObject { | |
| id _object; | |
| NSInvocation *_invocation; | |
| int frameCount; | |
| char **frameStrings; | |
| BOOL backgroundAfterForward; | |
| BOOL onMainAfterForward; | |
| BOOL waitUntilDone; |