Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gMan1990 opened this issue Jan 3, 2024 · 2 comments
Open

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

gMan1990 opened this issue Jan 3, 2024 · 2 comments

Comments

@gMan1990
Copy link

gMan1990 commented Jan 3, 2024

### 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
Copy link
Author

gMan1990 commented Jan 3, 2024

@jaywcjlove

@jaywcjlove
Copy link

@jaywcjlove

@Fechin :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants