-
Notifications
You must be signed in to change notification settings - Fork 13
/
_oasis
84 lines (77 loc) · 2.8 KB
/
_oasis
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# -*- conf -*-
OASISFormat: 0.4
Name: usbmux
Version: 1.3.3
Synopsis: Control port remapping for iOS devices
Authors: Edgar Aroutiounian <[email protected]>
Maintainers: Edgar Aroutiounian <[email protected]>
Homepage: https://github.com/onlinemediagroup/ocaml-usbmux
License: BSD-3-clause
OCamlVersion: >= 4.04.0
AlphaFeatures: ocamlbuild_more_args
Plugins: META (0.4), DevFiles (0.4)
BuildTools: ocamlbuild, ocamldoc
PostBuildCommand:
sh install_man.sh
Description: Now you can ssh into your jailbroken iDevice using the CLI, gandalf.
Simple invocation:
sudo `which gandalf` --mappings etc/mapping --daemonize --verbose
.
where etc/mapping is a file which consists of an array of json
objects with these fields, note that name can be null and is just a
nickname for this tunnel, other fields are required.
.
[{"udid":"9cdfac9f74c5e18a6eff3611c0927df5cf4f2eca",
"name":"i11",
"forwarding": [{"local_port":2000, "device_port":22},
{"local_port":3000, "device_port":1122}]}]
.
See uptime, tunnels and other metadata with:
gandalf --status
Note that with over 13 devices usbmuxd will start to buck
because of threading issue with libplist.
Use the custom one provided at https://github.com/onlinemediagroup/libplist
.
The Linux kernel will also have trouble with many USB3.0 devices,
ie over 15ish
Fix that issue by turning off USB3.0 support in your BIOS.
.
Check out the man page or see the README at:
https://github.com/onlinemediagroup/ocaml-usbmux/blob/master/README.md
Library usbmux
Path: src/lib
Modules: Usbmux
install: true
CompiledObject: native
NativeOpt: -g -w +a-4-40..42-44-45-48
ByteOpt: -g -w +a-4-40..42-44-45-48
BuildDepends:
lwt.unix (>= 2.6.0), lwt.ppx, plist,
yojson (>= 1.3.3), cohttp (>= 0.21.0),
cohttp.lwt, ppx_deriving_yojson (>= 3.0),
ppx_deriving (>= 4.1),
lwt.preemptive, threads
Executable gandalf
Path: src/app
BuildTools:ocamlbuild
install: true
MainIs: main.ml
CompiledObject: native
NativeOpt: -g -w +a-4-40..42-44-45-48
ByteOpt: -g -w +a-4-40..42-44-45-48
BuildDepends: cmdliner (>= 0.9.8), usbmux
SourceRepository master
Type: git
Location: https://github.com/onlinemediagroup/ocaml-usbmux.git
Browser: https://github.com/onlinemediagroup/ocaml-usbmux
Document api
Title: Documentation and API reference for Usbmux
Type: ocamlbuild (0.4)
BuildTools+: ocamldoc
InstallDir: $htmldir/usbmux
PostCommand: cp docs/style.css api.docdir && cp api.docdir/* docs
XOCamlbuildPath: docs
XOCamlbuildModules: src/lib/Usbmux
Install: true
XOCamlbuildExtraArgs:
"-docflags '-colorize-code -charset utf-8 -hide Usbmux -hide Pervasives'"