Documentation ¶
Index ¶
- func MoveBack(socket string) error
- func MoveSock(socket string) (string, error)
- func NewBinDumpOnly(jsonFilePath string, dumpFilePath string, log *log.Entry) decoder
- func NewDtxDecoder(jsonFilePath string, binFilePath string, log *log.Entry) decoder
- type BinaryForwardingProxy
- type ConnectionInfo
- type DebugProxy
- type DumpingConn
- func (d DumpingConn) Close() error
- func (d DumpingConn) LocalAddr() net.Addr
- func (d DumpingConn) Read(b []byte) (n int, err error)
- func (d DumpingConn) RemoteAddr() net.Addr
- func (d DumpingConn) SetDeadline(t time.Time) error
- func (d DumpingConn) SetReadDeadline(t time.Time) error
- func (d DumpingConn) SetWriteDeadline(t time.Time) error
- func (d DumpingConn) Write(b []byte) (n int, err error)
- type MessageWithMetaInfo
- type PhoneServiceInformation
- type ProxyConnection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBinDumpOnly ¶
NewNoOpDecoder does nothing
Types ¶
type BinaryForwardingProxy ¶
type BinaryForwardingProxy struct {
// contains filtered or unexported fields
}
func (BinaryForwardingProxy) Close ¶
func (b BinaryForwardingProxy) Close()
func (*BinaryForwardingProxy) ReadMessage ¶
func (b *BinaryForwardingProxy) ReadMessage() ([]byte, error)
func (BinaryForwardingProxy) Send ¶
func (b BinaryForwardingProxy) Send(msg []byte) error
type ConnectionInfo ¶
type DebugProxy ¶
type DebugProxy struct { WorkingDir string // contains filtered or unexported fields }
DebugProxy can be used to dump and modify communication between mac and host
func (*DebugProxy) Close ¶
func (d *DebugProxy) Close()
Close moves /var/run/usbmuxd.real back to /var/run/usbmuxd and disconnects all active proxy connections
func (*DebugProxy) Launch ¶
func (d *DebugProxy) Launch(device ios.DeviceEntry, binaryMode bool) error
Launch moves the original /var/run/usbmuxd to /var/run/usbmuxd.real and starts the server at /var/run/usbmuxd
type DumpingConn ¶ added in v1.0.10
type DumpingConn struct {
// contains filtered or unexported fields
}
func NewDumpingConn ¶ added in v1.0.10
func NewDumpingConn(filePath string, conn net.Conn) *DumpingConn
func (DumpingConn) Close ¶ added in v1.0.10
func (d DumpingConn) Close() error
func (DumpingConn) LocalAddr ¶ added in v1.0.10
func (d DumpingConn) LocalAddr() net.Addr
func (DumpingConn) RemoteAddr ¶ added in v1.0.10
func (d DumpingConn) RemoteAddr() net.Addr
func (DumpingConn) SetDeadline ¶ added in v1.0.10
func (d DumpingConn) SetDeadline(t time.Time) error
func (DumpingConn) SetReadDeadline ¶ added in v1.0.10
func (d DumpingConn) SetReadDeadline(t time.Time) error
func (DumpingConn) SetWriteDeadline ¶ added in v1.0.10
func (d DumpingConn) SetWriteDeadline(t time.Time) error
type MessageWithMetaInfo ¶
type PhoneServiceInformation ¶
PhoneServiceInformation contains info about a service started on the phone via lockdown.
type ProxyConnection ¶
type ProxyConnection struct {
// contains filtered or unexported fields
}
ProxyConnection keeps track of the pairRecord and uses an ID to identify connections.
func (*ProxyConnection) LogClosed ¶
func (p *ProxyConnection) LogClosed()
Click to show internal directories.
Click to hide internal directories.