reference icon indicating copy to clipboard operation
reference copied to clipboard

mitmproxy.md, two line of `Export a flow to the system clipboard`

Open gMan1990 opened this issue 1 year ago • 2 comments
trafficstars

### Copy to Clipboard


Command Syntax:
```
:export.clip format flow
```
----------------
Example:

| Description                    | Command Example                    |
|--------------------------------|------------------------------------|
| 1. Copy as a curl command      | `:export.clip curl @focus`         |
| 2. Copy as a httpie            | `:export.clip httpie @focus`       |
| 2. Copy as a raw               | `:export.clip raw @focus`          |
| 2. Copy as a raw HTTP request  | `:export.clip raw_request @focus`  |
| 2. Copy as a raw HTTP response | `:export.clip raw_response @focus` |
{.style-list}

Export a flow to the system clipboard.




### Save to File

Command Syntax:
```
:export.file format flow path
```
----------------
Example:

| Description                  | Command Example                                    |
|------------------------------|----------------------------------------------------|
| 1. Export to /tmp/a.curl     | `:export.file curl @focus /tmp/a.curl`             |
| 2. Export to /tmp/a.httpie   | `:export.file httpie @focus /tmp/a.httpie`         |
| 2. Export to /tmp/a.raw      | `:export.file raw @focus  /tmp/a.raw`              |
| 2. Export to /tmp/a.request  | `:export.file raw_request @focus /tmp/a.request`   |
| 2. Export to /tmp/a.response | `:export.file raw_response @focus /tmp/a.response` |
{.style-list}

Export a flow to the system clipboard.

gMan1990 avatar Jan 03 '24 13:01 gMan1990

@jaywcjlove

gMan1990 avatar Jan 03 '24 13:01 gMan1990

@jaywcjlove

@Fechin :)

jaywcjlove avatar Jan 04 '24 03:01 jaywcjlove