conversations
listlengths
2
2
[ { "from": "human", "value": "Generate a random value and store it as a new or updated secret via the `secrethub` command" }, { "from": "gpt", "value": "`secrethub generate {{path/to/secret}}`" } ]
[ { "from": "human", "value": "Store a value from the clipboard as a new or updated secret via the `secrethub` command" }, { "from": "gpt", "value": "`secrethub write --clip {{path/to/secret}}`" } ]
[ { "from": "human", "value": "Store a value supplied on `stdin` as a new or updated secret via the `secrethub` command" }, { "from": "gpt", "value": "`echo \"{{secret_value}}\" | secrethub write {{path/to/secret}}`" } ]
[ { "from": "human", "value": "Audit a repository or secret via the `secrethub` command" }, { "from": "gpt", "value": "`secrethub audit {{path/to/repo_or_secret}}`" } ]
[ { "from": "human", "value": "Tell me about `secretsdump.py`." }, { "from": "gpt", "value": "Dump NTLM hashes, plaintext passwords, and domain credentials from remote Windows systems.\nPart of the Impacket suite.\nMore information: <https://github.com/fortra/impacket>.\n" } ]
[ { "from": "human", "value": "Dump credentials from a Windows machine using a username and password via the `secretsdump.py` command" }, { "from": "gpt", "value": "`secretsdump.py {{domain}}/{{username}}:{{password}}@{{target}}`" } ]
[ { "from": "human", "value": "Dump hashes from a machine using pass-the-hash authentication via the `secretsdump.py` command" }, { "from": "gpt", "value": "`secretsdump.py -hashes {{LM_Hash}}:{{NT_Hash}} {{domain}}/{{username}}@{{target}}`" } ]
[ { "from": "human", "value": "Dump credentials from Active Directory’s NTDS.dit file via the `secretsdump.py` command" }, { "from": "gpt", "value": "`secretsdump.py -just-dc {{domain}}/{{username}}:{{password}}@{{target}}`" } ]
[ { "from": "human", "value": "Extract credentials from a local SAM database using registry hives via the `secretsdump.py` command" }, { "from": "gpt", "value": "`secretsdump.py -sam {{path/to/SAM}} -system {{path/to/SYSTEM}}`" } ]
[ { "from": "human", "value": "Dump hashes from a machine without providing a password (if a valid authentication session exists, e.g. via Kerberos or NTLM SSO) via the `secretsdump.py` command" }, { "from": "gpt", "value": "`secretsdump.py -no-pass {{domain}}/{{username}}@{{target}}`" } ]
[ { "from": "human", "value": "Tell me about `security-checker`." }, { "from": "gpt", "value": "Check if a PHP application uses dependencies with known security vulnerabilities.\nMore information: <https://github.com/sensiolabs/security-checker>.\n" } ]
[ { "from": "human", "value": "Look for security issues in the project dependencies (based on the `composer.lock` file in the current directory) via the `security-checker` command" }, { "from": "gpt", "value": "`security-checker security:check`" } ]
[ { "from": "human", "value": "Use a specific `composer.lock` file via the `security-checker` command" }, { "from": "gpt", "value": "`security-checker security:check {{path/to/composer.lock}}`" } ]
[ { "from": "human", "value": "Return results as a JSON object via the `security-checker` command" }, { "from": "gpt", "value": "`security-checker security:check --format=json`" } ]
[ { "from": "human", "value": "Tell me about `sed`." }, { "from": "gpt", "value": "Edit text in a scriptable manner.\nSee also: `awk`, `ed`.\nMore information: <https://manned.org/sed.1posix>.\n" } ]
[ { "from": "human", "value": "Replace all `apple` (basic regex) occurrences with `mango` (basic regex) in all input lines and print the result to `stdout` via the `sed` command" }, { "from": "gpt", "value": "`{{command}} | sed 's/apple/mango/g'`" } ]
[ { "from": "human", "value": "Execute a specific script [f]ile and print the result to `stdout` via the `sed` command" }, { "from": "gpt", "value": "`{{command}} | sed -f {{path/to/script.sed}}`" } ]
[ { "from": "human", "value": "Print just a first line to `stdout` via the `sed` command" }, { "from": "gpt", "value": "`{{command}} | sed -n '1p'`" } ]
[ { "from": "human", "value": "Tell me about `select`." }, { "from": "gpt", "value": "Bash builtin construct for creating menus.\nMore information: <https://www.gnu.org/software/bash/manual/bash.html#index-select>.\n" } ]
[ { "from": "human", "value": "Create a menu out of individual words via the `select` command" }, { "from": "gpt", "value": "`select {{word}} in {{apple orange pear banana}}; do echo ${{word}}; done`" } ]
[ { "from": "human", "value": "Create a menu from the output of another command via the `select` command" }, { "from": "gpt", "value": "`select {{line}} in $({{command}}); do echo ${{line}}; done`" } ]
[ { "from": "human", "value": "Specify the prompt string for `select` and create a menu for picking a file or folder from the current directory via the `select` command" }, { "from": "gpt", "value": "`PS3=\"{{Select a file: }}\"; select {{file}} in *; do echo ${{file}}; done`" } ]
[ { "from": "human", "value": "Create a menu from a Bash array via the `select` command" }, { "from": "gpt", "value": "`{{fruits}}=({{apple orange pear banana}}); select {{word}} in ${{{fruits[@]}}}; do echo ${{word}}; done`" } ]
[ { "from": "human", "value": "Tell me about `semver`." }, { "from": "gpt", "value": "Semantic version string parser.\nMore information: <https://github.com/npm/node-semver>.\n" } ]
[ { "from": "human", "value": "Check if a version string respects the semantic versioning format (prints an empty string if it does not match) via the `semver` command" }, { "from": "gpt", "value": "`semver {{1.2}}`" } ]
[ { "from": "human", "value": "Convert a version string to the semantic versioning format via the `semver` command" }, { "from": "gpt", "value": "`semver --coerce {{1.2}}`" } ]
[ { "from": "human", "value": "Test if `1.2.3` matches the `^1.0` range (prints an empty string if it does not match) via the `semver` command" }, { "from": "gpt", "value": "`semver {{1.2.3}} --range \"{{^1.0}}\"`" } ]
[ { "from": "human", "value": "Test with multiple ranges via the `semver` command" }, { "from": "gpt", "value": "`semver {{1.2.3}} --range \"{{>=1.0}}\" \"{{<2.0}}\"`" } ]
[ { "from": "human", "value": "Test multiple version strings and return only the ones that match via the `semver` command" }, { "from": "gpt", "value": "`semver {{1.2.3}} {{2.0.0}} --range \"{{^1.0}}\"`" } ]
[ { "from": "human", "value": "Tell me about `sendmail`." }, { "from": "gpt", "value": "Send email.\nMore information: <https://manned.org/sendmail>.\n" } ]
[ { "from": "human", "value": "Send a message with the content of `message.txt` to the mail directory of local user `username` via the `sendmail` command" }, { "from": "gpt", "value": "`sendmail {{username}} < {{message.txt}}`" } ]
[ { "from": "human", "value": "Send an email from you@yourdomain.com (assuming the mail server is configured for this) to test@gmail.com containing the message in `message.txt` via the `sendmail` command" }, { "from": "gpt", "value": "`sendmail -f {{you@yourdomain.com}} {{test@gmail.com}} < {{mess...
[ { "from": "human", "value": "Send an email from you@yourdomain.com (assuming the mail server is configured for this) to test@gmail.com containing the file `file.zip` via the `sendmail` command" }, { "from": "gpt", "value": "`sendmail -f {{you@yourdomain.com}} {{test@gmail.com}} < {{file.zip}}`" ...
[ { "from": "human", "value": "Tell me about `seq`." }, { "from": "gpt", "value": "Output a sequence of numbers to `stdout`.\nMore information: <https://www.gnu.org/software/coreutils/manual/html_node/seq-invocation.html>.\n" } ]
[ { "from": "human", "value": "Sequence from 1 to 10 via the `seq` command" }, { "from": "gpt", "value": "`seq 10`" } ]
[ { "from": "human", "value": "Every 3rd number from 5 to 20 via the `seq` command" }, { "from": "gpt", "value": "`seq 5 3 20`" } ]
[ { "from": "human", "value": "Separate the output with a space instead of a newline via the `seq` command" }, { "from": "gpt", "value": "`seq {{[-s|--separator]}} \" \" 5 3 20`" } ]
[ { "from": "human", "value": "Format output width to a minimum of 4 digits padding with zeros as necessary via the `seq` command" }, { "from": "gpt", "value": "`seq {{[-f|--format]}} \"%04g\" 5 3 20`" } ]
[ { "from": "human", "value": "Tell me about `sequelize`." }, { "from": "gpt", "value": "Promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server.\nMore information: <https://sequelize.org/>.\n" } ]
[ { "from": "human", "value": "Create a model with 3 fields and a migration file via the `sequelize` command" }, { "from": "gpt", "value": "`sequelize model:generate --name {{table_name}} --attributes {{field1:integer,field2:string,field3:boolean}}`" } ]
[ { "from": "human", "value": "Run the migration file via the `sequelize` command" }, { "from": "gpt", "value": "`sequelize db:migrate`" } ]
[ { "from": "human", "value": "Revert all migrations via the `sequelize` command" }, { "from": "gpt", "value": "`sequelize db:migrate:undo:all`" } ]
[ { "from": "human", "value": "Create a seed file with the specified name to populate the database via the `sequelize` command" }, { "from": "gpt", "value": "`sequelize seed:generate --name {{seed_filename}}`" } ]
[ { "from": "human", "value": "Populate database using all seed files via the `sequelize` command" }, { "from": "gpt", "value": "`sequelize db:seed:all`" } ]
[ { "from": "human", "value": "Tell me about `serialver`." }, { "from": "gpt", "value": "Returns the serialVersionUID of classes.\nIt does not set a security manager by default.\nMore information: <https://docs.oracle.com/en/java/javase/20/docs/specs/man/serialver.html>.\n" } ]
[ { "from": "human", "value": "Display the serialVersionUID of a class via the `serialver` command" }, { "from": "gpt", "value": "`serialver {{classnames}}`" } ]
[ { "from": "human", "value": "Display the serialVersionUID for a colon-separated list of classes and resources via the `serialver` command" }, { "from": "gpt", "value": "`serialver -classpath {{path/to/directory}} {{classname1:classname2:...}}`" } ]
[ { "from": "human", "value": "Use a specific option from reference page of Java application launcher to the Java Virtual Machine via the `serialver` command" }, { "from": "gpt", "value": "`serialver -Joption {{classnames}}`" } ]
[ { "from": "human", "value": "Tell me about `serve`." }, { "from": "gpt", "value": "Static file serving and directory listing.\nMore information: <https://github.com/vercel/serve>.\n" } ]
[ { "from": "human", "value": "Start an HTTP server listening on the default port to serve the current directory via the `serve` command" }, { "from": "gpt", "value": "`serve`" } ]
[ { "from": "human", "value": "Start an HTTP server on a specific [p]ort to serve a specific directory via the `serve` command" }, { "from": "gpt", "value": "`serve -p {{port}} {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Start an HTTP server with CORS enabled by including the `Access-Control-Allow-Origin: *` header in all responses via the `serve` command" }, { "from": "gpt", "value": "`serve --cors`" } ]
[ { "from": "human", "value": "Start an HTTP server on the default port rewriting all not-found requests to the `index.html` file via the `serve` command" }, { "from": "gpt", "value": "`serve --single`" } ]
[ { "from": "human", "value": "Start an HTTPS server on the default port using the specified certificate via the `serve` command" }, { "from": "gpt", "value": "`serve --ssl-cert {{path/to/cert.pem}} --ssl-key {{path/to/key.pem}}`" } ]
[ { "from": "human", "value": "Start an HTTP server on the default port using a specific configuration file via the `serve` command" }, { "from": "gpt", "value": "`serve --config {{path/to/serve.json}}`" } ]
[ { "from": "human", "value": "Display help via the `serve` command" }, { "from": "gpt", "value": "`serve --help`" } ]
[ { "from": "human", "value": "Tell me about `serverless`." }, { "from": "gpt", "value": "Toolkit for deploying and operating serverless architectures on AWS, Google Cloud, Azure and IBM OpenWhisk.\nCommands can be run either using the `serverless` command or its alias, `sls`.\nMore information: <...
[ { "from": "human", "value": "Create a serverless project via the `serverless` command" }, { "from": "gpt", "value": "`serverless create`" } ]
[ { "from": "human", "value": "Create a serverless project from a template via the `serverless` command" }, { "from": "gpt", "value": "`serverless create --template {{template_name}}`" } ]
[ { "from": "human", "value": "Deploy to a cloud provider via the `serverless` command" }, { "from": "gpt", "value": "`serverless deploy`" } ]
[ { "from": "human", "value": "Display information about a serverless project via the `serverless` command" }, { "from": "gpt", "value": "`serverless info`" } ]
[ { "from": "human", "value": "Invoke a deployed function via the `serverless` command" }, { "from": "gpt", "value": "`serverless invoke -f {{function_name}}`" } ]
[ { "from": "human", "value": "Follow the logs for a project via the `serverless` command" }, { "from": "gpt", "value": "`serverless logs -t`" } ]
[ { "from": "human", "value": "Tell me about `set`." }, { "from": "gpt", "value": "Toggle shell options or set the values of positional parameters.\nMore information: <https://manned.org/set.1posix>.\n" } ]
[ { "from": "human", "value": "Display the names and values of shell variables via the `set` command" }, { "from": "gpt", "value": "`set`" } ]
[ { "from": "human", "value": "Export newly initialized variables to child processes via the `set` command" }, { "from": "gpt", "value": "`set -a`" } ]
[ { "from": "human", "value": "Write formatted messages to `stderr` when jobs finish via the `set` command" }, { "from": "gpt", "value": "`set -b`" } ]
[ { "from": "human", "value": "Write and edit text in the command-line with `vi`-like keybindings (e.g. `yy`) via the `set` command" }, { "from": "gpt", "value": "`set -o {{vi}}`" } ]
[ { "from": "human", "value": "Return to default mode via the `set` command" }, { "from": "gpt", "value": "`set -o {{emacs}}`" } ]
[ { "from": "human", "value": "List all modes via the `set` command" }, { "from": "gpt", "value": "`set -o`" } ]
[ { "from": "human", "value": "Exit the shell when (some) command fails via the `set` command" }, { "from": "gpt", "value": "`set -e`" } ]
[ { "from": "human", "value": "Reset all shell parameters and assign new ones via the `set` command" }, { "from": "gpt", "value": "`set -- {{argument1 argument2 ...}}`" } ]
[ { "from": "human", "value": "Tell me about `Set-NodeInstallLocation`." }, { "from": "gpt", "value": "Set the default Node.js installation directory for `ps-nvm`.\nThis command is part of `ps-nvm` and can only be run under PowerShell.\nMore information: <https://github.com/aaronpowell/ps-nvm>.\n"...
[ { "from": "human", "value": "Change the Node.js install location to a specified directory (`ps-nvm` will create a new `.nvm` subdirectory to install them) via the `set-nodeinstalllocation` command" }, { "from": "gpt", "value": "`Set-NodeInstallLocation {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Tell me about `Set-NodeVersion`." }, { "from": "gpt", "value": "Set the default Node.js version for `ps-nvm`.\nPart of `ps-nvm` and can only be run under PowerShell.\nMore information: <https://github.com/aaronpowell/ps-nvm>.\n" } ]
[ { "from": "human", "value": "Use a specific version of Node.js in the current PowerShell session via the `set-nodeversion` command" }, { "from": "gpt", "value": "`Set-NodeVersion {{node_version}}`" } ]
[ { "from": "human", "value": "Use the latest installed Node.js version 20.x via the `set-nodeversion` command" }, { "from": "gpt", "value": "`Set-NodeVersion ^20`" } ]
[ { "from": "human", "value": "Set the default Node.js version for the current user (only applies to future PowerShell sessions) via the `set-nodeversion` command" }, { "from": "gpt", "value": "`Set-NodeVersion {{node_version}} -Persist User`" } ]
[ { "from": "human", "value": "Set the default Node.js version for all users (must be run as Administrator/root and only applies to future PowerShell sessions) via the `set-nodeversion` command" }, { "from": "gpt", "value": "`Set-NodeVersion {{node_version}} -Persist Machine`" } ]
[ { "from": "human", "value": "Tell me about `sfdk apply`." }, { "from": "gpt", "value": "Applies patches from RPM SPEC file.\nMore information: <https://docs.sailfishos.org/Tools/Sailfish_SDK/Building_packages/#tar_git-package-source-code-location-in-git>.\n" } ]
[ { "from": "human", "value": "Apply all patches via the `sfdk-apply` command" }, { "from": "gpt", "value": "`sfdk apply`" } ]
[ { "from": "human", "value": "Reverse apply all patches via the `sfdk-apply` command" }, { "from": "gpt", "value": "`sfdk apply -R`" } ]
[ { "from": "human", "value": "Tell me about `sfdk build-init`." }, { "from": "gpt", "value": "Initializes build directory.\nMore information: <https://docs.sailfishos.org/Develop/Apps/Tutorials/Building_packages_-_advanced_techniques/>.\n" } ]
[ { "from": "human", "value": "Initialize the current directory as the build directory via the `sfdk-build-init` command" }, { "from": "gpt", "value": "`sfdk build-init`" } ]
[ { "from": "human", "value": "Initialize the specified directory as the build directory via the `sfdk-build-init` command" }, { "from": "gpt", "value": "`sfdk build-init {{directory}}`" } ]
[ { "from": "human", "value": "Tell me about `sfdk build-requires`." }, { "from": "gpt", "value": "Updates build time dependencies.\nMore information: <https://docs.sailfishos.org/Develop/Apps/Tutorials/Building_packages_-_advanced_techniques/>.\n" } ]
[ { "from": "human", "value": "Run a subcommand refreshing the cache via the `sfdk-build-requires` command" }, { "from": "gpt", "value": "`sfdk build-requires --refresh {{subcommand}}`" } ]
[ { "from": "human", "value": "Run a subcommand without refreshing the cache via the `sfdk-build-requires` command" }, { "from": "gpt", "value": "`sfdk build-requires --no-refresh {{subcommand}}`" } ]
[ { "from": "human", "value": "Install or update the build-time dependencies via the `sfdk-build-requires` command" }, { "from": "gpt", "value": "`sfdk build-requires pull`" } ]
[ { "from": "human", "value": "Install or update the build-time dependencies, omitting all extra ones via the `sfdk-build-requires` command" }, { "from": "gpt", "value": "`sfdk build-requires reset`" } ]
[ { "from": "human", "value": "Show the difference between current and clean build environments via the `sfdk-build-requires` command" }, { "from": "gpt", "value": "`sfdk build-requires diff`" } ]
[ { "from": "human", "value": "Tell me about `sfdk build-shell`." }, { "from": "gpt", "value": "Executes custom steps in build engine.\nSee also: `sfdk config` for configuring the build target and `sfdk build-init` for initializing build tree.\nMore information: <https://docs.sailfishos.org/Develo...
[ { "from": "human", "value": "Launch interactive shell in the build engine via the `sfdk-build-shell` command" }, { "from": "gpt", "value": "`sfdk build-shell`" } ]
[ { "from": "human", "value": "Run a specified command in the build shell via the `sfdk-build-shell` command" }, { "from": "gpt", "value": "`sfdk build-shell {{command}}`" } ]
[ { "from": "human", "value": "Launch interactive shell in the build engine in maintenance mode, when inspecting or modifying the build environment via the `sfdk-build-shell` command" }, { "from": "gpt", "value": "`sfdk build-shell --maintain`" } ]
[ { "from": "human", "value": "Tell me about `sfdk check`." }, { "from": "gpt", "value": "Performs quality checks.\nMore information: <https://docs.sailfishos.org/Develop/Apps/Tutorials/Building_packages_-_advanced_techniques/#validating-package-contents>.\n" } ]
[ { "from": "human", "value": "Display test suites via the `sfdk-check` command" }, { "from": "gpt", "value": "`sfdk check --list-suites`" } ]
[ { "from": "human", "value": "Run all or essential test suites via the `sfdk-check` command" }, { "from": "gpt", "value": "`sfdk check`" } ]
[ { "from": "human", "value": "Add testing level to the check via the `sfdk-check` command" }, { "from": "gpt", "value": "`sfdk check -l +{{level}}`" } ]
[ { "from": "human", "value": "Remove testing level from the check via the `sfdk-check` command" }, { "from": "gpt", "value": "`sfdk check -l -{{level}}`" } ]