You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/example.md
+4-5
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,5 @@
1
1
# Examples
2
2
3
-
<!--SIDEBAR-->
4
-
<!--G-R3M673HK5V-->
5
-
6
3
List some examples of common scene commands, pay attention to replace the parameters such as IP, port, password, domain name, certificate path, etc. in the example by yourself
### There are countless examples; for more feature suggestions, it's best to look at the commands and parameters in the CLI documentation one by one, and blog, YouTube...
| ip | string | Specify IP directly, only valid when `type` is `A`/`AAAA`| 1.2.3.4 |
54
-
| forcefakedns | bool | Ignore GUI Bypass Domain, handle with Fake DNS, only valid when `type` is `A`/`AAAA`, default `false`| false |
55
-
| system | bool | Get IP from system DNS, default `false`| false |
56
-
| bypass | bool | whether to Bypass, default `false`, if `true` then use bypass DNS to resolve. It is an OR relationship with GUI Bypass Domain | false |
57
-
| brooklinkkey | string | When need to connect the Server,instead, connect to the brook link specified by the key in_brooklinks | custom name |
54
+
| system | bool | Resolve by System DNS, default `false`| false |
| brooklinkkey | string | When need to connect the Server,instead, connect to the Server specified by the key in_brooklinks | custom name |
58
57
59
58
### in_address
60
59
@@ -63,7 +62,7 @@ Brook GUI will pass different global variables to the script at different times,
63
62
| network | string | Network type, the value `tcp`/`udp`| tcp |
64
63
| ipaddress | string | IP type address. There is only of ipaddress and domainaddress. Note that there is no relationship between these two | 1.2.3.4:443 |
65
64
| domainaddress | string | Domain type address, because of FakeDNS we can get the domain name address here | google.com:443 |
| ipaddress | string | IP type address, rewrite destination | 1.2.3.4:443 |
75
74
| ipaddressfrombypassdns | string | Use Bypass DNS to obtain `A` or `AAAA` IP and rewrite the destination, only valid when `domainaddress` exists, the value `A`/`AAAA`| A |
76
-
| bypass | bool | Bypass, default `false`. If `true` and `domainaddress`, then `ipaddress` or `ipaddressfrombypassdns` must be specified. It is an OR relationship with GUI Bypass IP| false |
75
+
| bypass | bool | Bypass, default `false`. If `true` and `domainaddress`, then `ipaddress` or `ipaddressfrombypassdns` must be specified | false |
77
76
| mitm | bool | Whether to perform MITM, default `false`. Only valid when `network` is `tcp`. Need to install CA, see below | false |
78
77
| mitmprotocol | string | MITM protocol needs to be specified explicitly, the value is `http`/`https`| https |
79
78
| mitmcertdomain | string | The MITM certificate domain name, which is taken from `domainaddress` by default. If `ipaddress` and `mitm` is `true` and `mitmprotocol` is `https` then must be must be specified explicitly | example.com |
@@ -82,7 +81,7 @@ Brook GUI will pass different global variables to the script at different times,
82
81
| mitmclienttimeout | int | Timeout for MITM talk to server, second, default 0 | 0 |
83
82
| mitmserverreadtimeout | int | Timeout for MITM read from client, second, default 0 | 0 |
84
83
| mitmserverwritetimeout | int | Timeout for MITM write to client, second, default 0 | 0 |
85
-
| brooklinkkey | string | When need to connect the Server,instead, connect to the brook link specified by the key in_brooklinks | custom name |
84
+
| brooklinkkey | string | When need to connect the Server,instead, connect to the Server specified by the key in_brooklinks | custom name |
0 commit comments