*: add "[Interactive]" to interactive prompts (#20065)

This commit is contained in:
Managor
2025-12-19 07:30:34 +02:00
committed by GitHub
parent 2a413c0667
commit 5c5ba7637c
30 changed files with 156 additions and 152 deletions
+7 -7
View File
@@ -7,30 +7,30 @@
`deluge-console`
- Connect to a Deluge daemon instance:
- [Interactive] Connect to a Deluge daemon instance:
`connect {{hostname}}:{{port}}`
- Add a torrent to the daemon:
- [Interactive] Add a torrent to the daemon:
`add {{url|magnet|path/to/file}}`
- Display information about all torrents:
- [Interactive] Display information about all torrents:
`info`
- Display information about a specific torrent:
- [Interactive] Display information about a specific torrent:
`info {{torrent_id}}`
- Pause a torrent:
- [Interactive] Pause a torrent:
`pause {{torrent_id}}`
- Resume a torrent:
- [Interactive] Resume a torrent:
`resume {{torrent_id}}`
- Remove a torrent from the daemon:
- [Interactive] Remove a torrent from the daemon:
`rm {{torrent_id}}`
+9 -9
View File
@@ -4,7 +4,7 @@
> Once connected, we get a PowerShell prompt on the target host.
> More information: <https://github.com/Hackplayers/evil-winrm>.
- Connect to a host:
- Connect to a host and start an interactive session:
`evil-winrm {{[-i|--ip]}} {{ip}} {{[-u|--user]}} {{user}} {{[-p|--password]}} {{password}}`
@@ -20,18 +20,18 @@
`evil-winrm {{[-i|--ip]}} {{ip}} {{[-u|--user]}} {{user}} {{[-p|--password]}} {{password}} {{[-S|--ssl]}} {{[-c|--pub-key]}} {{path/to/pubkey}} {{[-k|--priv-key]}} {{path/to/privkey}}`
- Upload a file to the host:
- [Interactive] Upload a file to the host:
`PS > upload {{path/to/local_file}} {{path/to/remote_file}}`
`upload {{path/to/local_file}} {{path/to/remote_file}}`
- List all loaded PowerShell functions:
- [Interactive] List all loaded PowerShell functions:
`PS > menu`
`menu`
- Load a PowerShell script from the `--scripts` directory:
- [Interactive] Load a PowerShell script from the `--scripts` directory:
`PS > {{script.ps1}}`
`{{script.ps1}}`
- Invoke a binary on the host from the `--executables` directory:
- [Interactive] Invoke a binary on the host from the `--executables` directory:
`PS > Invoke-Binary {{binary.exe}}`
`Invoke-Binary {{binary.exe}}`
+3 -3
View File
@@ -11,15 +11,15 @@
`irssi {{[-c|--connect]}} {{irc.example.com}} {{[-p|--port]}} {{port}}`
- Join a channel:
- [Interactive] Join a channel:
`/join {{#channelname}}`
- Change active window (starts at 1):
- [Interactive] Change active window (starts at 1):
`/win {{window_number}}`
- Exit the application cleanly and quitting any server(s):
- [Interactive] Exit the application cleanly and quitting any server(s):
`/quit`
+1 -1
View File
@@ -15,6 +15,6 @@
`java -jar {{path/to/server.jar}}`
- Shut the server down:
- [Interactive] Shut the server down:
`stop`
-25
View File
@@ -1,25 +0,0 @@
# odps inst
> Manage instances in ODPS (Open Data Processing Service).
> See also: `odps`.
> More information: <https://www.alibabacloud.com/help/doc-detail/27971.htm>.
- Show instances created by current user:
`show instances;`
- Describe the details of an instance:
`desc instance {{instance_id}};`
- Check the status of an instance:
`status {{instance_id}};`
- Wait on the termination of an instance, printing log and progress information until then:
`wait {{instance_id}};`
- Kill an instance:
`kill {{instance_id}};`
@@ -1,33 +1,33 @@
# odps auth
# odpscmd auth
> User authorities in ODPS (Open Data Processing Service).
> See also: `odps`.
> More information: <https://www.alibabacloud.com/help/doc-detail/27971.htm>.
- Add a user to the current project:
- [Interactive] Add a user to the current project:
`add user {{username}};`
- Grant a set of authorities to a user:
- [Interactive] Grant a set of authorities to a user:
`grant {{action_list}} on {{object_type}} {{object_name}} to user {{username}};`
- Show authorities of a user:
- [Interactive] Show authorities of a user:
`show grants for {{username}};`
- Create a user role:
- [Interactive] Create a user role:
`create role {{role_name}};`
- Grant a set of authorities to a role:
- [Interactive] Grant a set of authorities to a role:
`grant {{action_list}} on {{object_type}} {{object_name}} to role {{role_name}};`
- Describe authorities of a role:
- [Interactive] Describe authorities of a role:
`desc role {{role_name}};`
- Grant a role to a user:
- [Interactive] Grant a role to a user:
`grant {{role_name}} to {{username}};`
@@ -1,21 +1,21 @@
# odps func
# odpscmd func
> Manage functions in ODPS (Open Data Processing Service).
> See also: `odps`.
> More information: <https://www.alibabacloud.com/help/doc-detail/27971.htm>.
- Show functions in the current project:
- [Interactive] Show functions in the current project:
`list functions;`
- Create a Java function using a `.jar` resource:
- [Interactive] Create a Java function using a `.jar` resource:
`create function {{func_name}} as {{path.to.package.Func}} using '{{package.jar}}';`
- Create a Python function using a `.py` resource:
- [Interactive] Create a Python function using a `.py` resource:
`create function {{func_name}} as {{script.Func}} using '{{script.py}}';`
- Delete a function:
- [Interactive] Delete a function:
`drop function {{func_name}};`
+25
View File
@@ -0,0 +1,25 @@
# odpscmd inst
> Manage instances in ODPS (Open Data Processing Service).
> See also: `odps`.
> More information: <https://www.alibabacloud.com/help/doc-detail/27971.htm>.
- [Interactive] Show instances created by current user:
`show instances;`
- [Interactive] Describe the details of an instance:
`desc instance {{instance_id}};`
- [Interactive] Check the status of an instance:
`status {{instance_id}};`
- [Interactive] Wait on the termination of an instance, printing log and progress information until then:
`wait {{instance_id}};`
- [Interactive] Kill an instance:
`kill {{instance_id}};`
@@ -1,29 +1,29 @@
# odps resource
# odpscmd resource
> Manage resources in ODPS (Open Data Processing Service).
> See also: `odps`.
> More information: <https://www.alibabacloud.com/help/doc-detail/27971.htm>.
- Show resources in the current project:
- [Interactive] Show resources in the current project:
`list resources;`
- Add file resource:
- [Interactive] Add file resource:
`add file {{filename}} as {{alias}};`
- Add archive resource:
- [Interactive] Add archive resource:
`add archive {{archive.tar.gz}} as {{alias}};`
- Add .jar resource:
- [Interactive] Add .jar resource:
`add jar {{package.jar}};`
- Add .py resource:
- [Interactive] Add .py resource:
`add py {{script.py}};`
- Delete resource:
- [Interactive] Delete resource:
`drop resource {{resource_name}};`
@@ -1,25 +1,25 @@
# odps table
# odpscmd table
> Create and modify tables in ODPS (Open Data Processing Service).
> See also: `odps`.
> More information: <https://www.alibabacloud.com/help/doc-detail/27971.htm>.
- Create a table with partition and lifecycle:
- [Interactive] Create a table with partition and lifecycle:
`create table {{table_name}} ({{col}} {{type}}) partitioned by ({{col}} {{type}}) lifecycle {{days}};`
- Create a table based on the definition of another table:
- [Interactive] Create a table based on the definition of another table:
`create table {{table_name}} like {{another_table}};`
- Add partition to a table:
- [Interactive] Add partition to a table:
`alter table {{table_name}} add partition ({{partition_spec}});`
- Delete partition from a table:
- [Interactive] Delete partition from a table:
`alter table {{table_name}} drop partition ({{partition_spec}});`
- Delete table:
- [Interactive] Delete table:
`drop table {{table_name}};`
@@ -1,21 +1,21 @@
# odps tunnel
# odpscmd tunnel
> Data tunnel in ODPS (Open Data Processing Service).
> See also: `odps`.
> More information: <https://www.alibabacloud.com/help/doc-detail/27971.htm>.
- Download table to local file:
- [Interactive] Download table to local file:
`tunnel download {{table_name}} {{path/to/file}};`
- Upload local file to a table partition:
- [Interactive] Upload local file to a table partition:
`tunnel upload {{path/to/file}} {{table_name}}/{{partition_spec}};`
- Upload table specifying field and record delimiters:
- [Interactive] Upload table specifying field and record delimiters:
`tunnel upload {{path/to/file}} {{table_name}} -fd {{field_delim}} -rd {{record_delim}};`
- Upload table using multiple threads:
- [Interactive] Upload table using multiple threads:
`tunnel upload {{path/to/file}} {{table_name}} -threads {{num}};`
@@ -1,4 +1,4 @@
# odps
# odpscmd
> Aliyun ODPS (Open Data Processing Service) command-line tool.
> Some subcommands such as `inst` have their own usage documentation.
@@ -8,22 +8,22 @@
`odpscmd --config={{odps_config.ini}}`
- Switch current project:
- [Interactive] Switch current project:
`use {{project_name}};`
- Show tables in the current project:
- [Interactive] Show tables in the current project:
`show tables;`
- Describe a table:
- [Interactive] Describe a table:
`desc {{table_name}};`
- Show table partitions:
- [Interactive] Show table partitions:
`show partitions {{table_name}};`
- Describe a partition:
- [Interactive] Describe a partition:
`desc {{table_name}} partition ({{partition_spec}});`
+1 -1
View File
@@ -19,7 +19,7 @@
`openocd {{[-s|--search]}} {{path/to/search}} {{[-f|--file]}} {{config_file.cfg}}`
- After OpenOCD startup, connect GDB to OpenOCD default port 3333:
- [Interactive] After OpenOCD startup, connect GDB to OpenOCD default port 3333:
`target extended-remote localhost`
+7 -7
View File
@@ -1,6 +1,6 @@
# rainbowstream
> Terminal-based Twitter client supporting realtime tweetstream, trends, sending, search, favorites and user management.
> Interactive Twitter client supporting realtime tweetstream, trends, sending, search, favorites and user management.
> Online help with `<h>`, `<ArrowUp>` and `<ArrowDown>` for history, `<Tab>` to auto-complete and 2-`<Tab>` for suggestion.
> More information: <https://github.com/orakaro/rainbowstream>.
@@ -8,26 +8,26 @@
`rainbowstream`
- Show your timeline (optional number of tweets to display, default is 5):
- [Interactive] Show your timeline (optional number of tweets to display, default is 5):
`home [{{num_of_last_tweets}}]`
- Show profile of a given user:
- [Interactive] Show profile of a given user:
`whois @{{user}}`
- Tweet the message as-is:
- [Interactive] Tweet the message as-is:
`t {{message}}`
- Retweet the tweet with given ID (ID is beside the time):
- [Interactive] Retweet the tweet with given ID (ID is beside the time):
`rt {{tweet_id}}`
- Favorite the tweet with given ID:
- [Interactive] Favorite the tweet with given ID:
`fav {{tweet_id}}`
- Perform a search for a given word (with or without hashtag):
- [Interactive] Perform a search for a given word (with or without hashtag):
`s {{word}}`
+7 -7
View File
@@ -3,30 +3,30 @@
> Automated reconnaissance and information gathering tool.
> More information: <https://github.com/lanmaster53/recon-ng/wiki>.
- Start the tool:
- Start the tool in interactive mode:
`recon-ng`
- Create a workspace:
- [Interactive] Create a workspace:
`workspaces create {{workspace_name}}`
- Search the marketplace for modules used to accomplish different reconnaissance tasks:
- [Interactive] Search the marketplace for modules used to accomplish different reconnaissance tasks:
`marketplace search`
- Install all available modules (some may need API keys to function completely):
- [Interactive] Install all available modules (some may need API keys to function completely):
`marketplace install all`
- Load the profiler module. It is used to scan the web for profiles matching the target, scrape them, and store them:
- [Interactive] Load the profiler module. It is used to scan the web for profiles matching the target, scrape them, and store them:
`modules load profiler`
- Insert the target's username. After entering this command, enter the desired username of the search and leave the rest of the options blank:
- [Interactive] Insert the target's username. After entering this command, enter the desired username of the search and leave the rest of the options blank:
`db insert profiles`
- Run the current module:
- [Interactive] Run the current module:
`run`
+6 -2
View File
@@ -4,11 +4,15 @@
> Use `<ArrowKeys>` to navigate. `<ArrowRight>` and `<ArrowLeft>` to view and return from a submission, respectively.
> More information: <https://github.com/michael-lazar/rtv>.
- Open the front page:
- Start an interactive session:
`rtv`
- [Interactive] Open the front page:
`/front`
- Open a subreddit:
- [Interactive] Open a subreddit:
`/r/{{subreddit_name}}`
+5 -5
View File
@@ -17,22 +17,22 @@
`sftp {{host}}`
- Transfer remote file to the local system:
- [Interactive] Transfer remote file to the local system:
`get {{path/to/remote_file}}`
- Transfer local file to the remote system:
- [Interactive] Transfer local file to the remote system:
`put {{path/to/local_file}}`
- Transfer remote directory to the local system recursively (works with `put` too):
- [Interactive] Transfer remote directory to the local system recursively (works with `put` too):
`get -R {{path/to/remote_directory}}`
- Get list of files on local machine:
- [Interactive] Get list of files on local machine:
`lls`
- Get list of files on remote machine:
- [Interactive] et list of files on remote machine:
`ls`
+2 -2
View File
@@ -7,10 +7,10 @@
`st-util {{[-p|--listen_port]}} {{4500}}`
- Connect to GDB server within `gdb`:
- [Interactive] Connect to GDB server within `gdb`:
`target extended-remote {{localhost}}:{{4500}}`
- Write firmware to device:
- [Interactive] Write firmware to device:
`load {{firmware.elf}}`
+1 -1
View File
@@ -11,7 +11,7 @@
`telnet {{ip_address}} {{port}}`
- Exit a telnet session:
- [Interactive] Exit a telnet session:
`quit`
+7 -7
View File
@@ -7,30 +7,30 @@
`tlmgr shell`
- Run any `tlmgr` subcommand in the interactive shell:
- [Interactive] Run any `tlmgr` subcommand in the interactive shell:
`{{subcommand}} {{arguments}}`
- Quit the interactive shell:
- [Interactive] Quit the interactive shell:
`quit`
- List all TeX Live variables:
- [Interactive] List all TeX Live variables:
`get`
- Get the value of a TeX Live variable:
- [Interactive] Get the value of a TeX Live variable:
`get {{variable}}`
- Set the value of a TeX Live variable:
- [Interactive] Set the value of a TeX Live variable:
`set {{variable}} {{value}}`
- Restart the interactive shell:
- [Interactive] Restart the interactive shell:
`restart`
- Display the version of the current protocol:
- [Interactive] Display the version of the current protocol:
`protocol`
+8 -8
View File
@@ -15,18 +15,18 @@
`usql {{[-c|--command]}} "{{sql_command}}"`
- Run an SQL command in the `usql` prompt:
- [Interactive] Run an SQL command in the `usql` prompt:
`{{prompt}}=> {{command}}`
`{{command}}`
- Display the database schema:
- [Interactive] Display the database schema:
`{{prompt}}=> \d`
`\d`
- Export query results to a specific file:
- [Interactive] Export query results to a specific file:
`{{prompt}}=> \g {{path/to/file_with_results}}`
`\g {{path/to/file_with_results}}`
- Import data from a CSV file into a specific table:
- [Interactive] Import data from a CSV file into a specific table:
`{{prompt}}=> \copy {{path/to/data.csv}} {{table_name}}`
`\copy {{path/to/data.csv}} {{table_name}}`
+3 -3
View File
@@ -7,15 +7,15 @@
`yacas`
- While in a `yacas` session, execute a statement:
- [Interactive] While in a `yacas` session, execute a statement:
`{{Integrate(x)Cos(x)}};`
- While in a `yacas` session, display an example:
- [Interactive] While in a `yacas` session, display an example:
`Example();`
- Quit from a `yacas` session:
- [Interactive] Quit from a `yacas` session:
`quit`
+1 -1
View File
@@ -15,6 +15,6 @@
`{{path/to}}/cs2 -dedicated +map {{de_dust2}} -ip {{1.2.3.4}} -port {{27015}}`
- Shut the server down:
- [Interactive] Shut the server down:
`quit`
+3 -3
View File
@@ -15,14 +15,14 @@
`debugfs -f {{path/to/cmd_file}} {{/dev/sdXN}}`
- View the filesystem stats in debugfs console:
- [Interactive] View the filesystem stats in debugfs console:
`stats`
- Close the filesystem:
- [Interactive] Close the filesystem:
`close -a`
- List all available commands:
- [Interactive] List all available commands:
`lr`
+1 -1
View File
@@ -15,7 +15,7 @@
`{{path/to}}/factorio --create {{path/to/save.zip}} --map-gen-settings {{path/to/map-gen-settings.json}} --map-settings {{path/to/map-settings.json}}`
- Shut the server gracefully:
- [Interactive] Shut the server gracefully:
`/quit`
+6 -6
View File
@@ -7,26 +7,26 @@
`lftp {{[-u|--user]}} {{username}} {{ftp.example.com}}`
- Download multiple files (glob expression):
- [Interactive] Download multiple files (glob expression):
`mget {{path/to/*.png}}`
- Upload multiple files (glob expression):
- [Interactive] Upload multiple files (glob expression):
`mput {{path/to/*.zip}}`
- Delete multiple files on the remote server:
- [Interactive] Delete multiple files on the remote server:
`mrm {{path/to/*.txt}}`
- Rename a file on the remote server:
- [Interactive] Rename a file on the remote server:
`mv {{original_filename}} {{new_filename}}`
- Download or update an entire directory:
- [Interactive] Download or update an entire directory:
`mirror {{path/to/remote_directory}} {{path/to/local_output_directory}}`
- Upload or update an entire directory:
- [Interactive] Upload or update an entire directory:
`mirror {{[-R|--reverse]}} {{path/to/local_directory}} {{path/to/remote_output_directory}}`
+7 -7
View File
@@ -8,30 +8,30 @@
`sudo parted {{/dev/sdX}}`
- Show partition information in interactive mode:
- [Interactive] Show partition information in interactive mode:
`print`
- Select a disk in interactive mode:
- [Interactive] Select a disk in interactive mode:
`select {{/dev/sdX}}`
- Create a 16 GB partition with the specified filesystem in interactive mode (`GPT` partition table):
- [Interactive] Create a 16 GB partition with the specified filesystem in interactive mode (`GPT` partition table):
`mkpart {{partition_name}} {{btrfs|ext2|ext3|ext4|fat16|fat32|hfs|hfs+|linux-swap|ntfs|reiserfs|udf|xfs}} {{0%}} {{16G}}`
- Create a 16 GB partition with the specified filesystem in interactive mode (`MBR` partition table):
- [Interactive] Create a 16 GB partition with the specified filesystem in interactive mode (`MBR` partition table):
`mkpart {{primary|logical|extended}} {{btrfs|ext2|ext3|ext4|fat16|fat32|hfs|hfs+|linux-swap|ntfs|reiserfs|udf|xfs}} {{0%}} {{16G}}`
- Resize a partition in interactive mode:
- [Interactive] Resize a partition in interactive mode:
`resizepart {{/dev/sdXN}} {{end_position_of_partition}}`
- Remove a partition in interactive mode:
- [Interactive] Remove a partition in interactive mode:
`rm {{/dev/sdXN}}`
- Display help:
- [Interactive] Display help:
`?`
+5 -5
View File
@@ -3,7 +3,7 @@
> Trivial File Transfer Protocol client.
> More information: <https://manned.org/tftp>.
- Connect to a TFTP server specifying its IP address and port:
- Connect to a TFTP server with an interactive shell, specifying its IP address and port:
`tftp {{server_ip}} {{port}}`
@@ -15,18 +15,18 @@
`tftp {{server_ip}} -6 -R {{port}}:{{port}}`
- Set the transfer mode to binary or ASCII through the tftp client:
- [Interactive] Set the transfer mode to binary or ASCII through the tftp client:
`mode {{binary|ascii}}`
- Download file from a server through the tftp client:
- [Interactive] Download file from a server through the tftp client:
`get {{file}}`
- Upload file to a server through the tftp client:
- [Interactive] Upload file to a server through the tftp client:
`put {{file}}`
- Exit the tftp client:
- [Interactive] Exit the tftp client:
`quit`
+3 -3
View File
@@ -19,15 +19,15 @@
`ftp -s:{{path\to\file}} {{host}}`
- Download multiple files (glob expression):
- [Interactive] Download multiple files (glob expression):
`mget {{*.png}}`
- Upload multiple files (glob expression):
- [Interactive] Upload multiple files (glob expression):
`mput {{*.zip}}`
- Delete multiple files on the remote server:
- [Interactive] Delete multiple files on the remote server:
`mdelete {{*.txt}}`
+1 -1
View File
@@ -32,6 +32,6 @@
`mimikatz "kerberos::list /export"`
- Exit mimikatz:
- [Interactive] Exit mimikatz:
`exit`