-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
259 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# cypher-shell | ||
|
||
> Abre una sesión interactiva y ejecuta consultas Cypher contra una instancia Neo4j. | ||
> Vea también: `neo4j-admin`, `mysql`. | ||
> Más información: <https://neo4j.com/docs/operations-manual/current/tools/cypher-shell/>. | ||
- Conéctate a una instancia local en el puerto por defecto (`neo4j://localhost:7687`): | ||
|
||
`cypher-shell` | ||
|
||
- Conéctate a una instancia remota: | ||
|
||
`cypher-shell --address neo4j://{{host}}:{{puerto}}` | ||
|
||
- Conéctate y proporciona credenciales de seguridad: | ||
|
||
`cypher-shell --username {{nombre_de_usuario}} --password {{contraseña}}` | ||
|
||
- Conéctate a una base de datos específica: | ||
|
||
`cypher-shell --database {{nombre_base_de_datos}}` | ||
|
||
- Ejecuta sentencias Cypher en un archivo y lo cierra: | ||
|
||
`cypher-shell --file {{ruta/al/archivo.cypher}}` | ||
|
||
- Activa el registro en un archivo: | ||
|
||
`cypher-shell --log {{ruta/al/archivo.log}}` | ||
|
||
- Muestra ayuda: | ||
|
||
`cypher-shell --help` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# wafw00f | ||
|
||
> Identifica y toma las huellas digitales de los productos Web Application Firewall (WAF) que protegen un sitio web. | ||
> Más información: <https://github.com/EnableSecurity/wafw00f>. | ||
- Comprueba si un sitio web utiliza algún WAF: | ||
|
||
`wafw00f {{https://www.ejemplo.com}}` | ||
|
||
- Comprueba a todos los WAF detectables sin detenerse en la primera coincidencia: | ||
|
||
`wafw00f --findall {{https://www.ejemplo.com}}` | ||
|
||
- Pasa peticiones a través de un [p]roxy (como BurpSuite): | ||
|
||
`wafw00f --proxy {{http://localhost:8080}} {{https://www.ejemplo.com}}` | ||
|
||
- [t]estea un producto WAF específico (ejecuta `wafw00f -l` para obtener una lista de todos los WAF compatibles): | ||
|
||
`wafw00f --test {{Cloudflare|Cloudfront|Fastly|ZScaler|...}} {{https://www.ejemplo.com}}` | ||
|
||
- Pasa cabeceras personalizadas desde un archivo: | ||
|
||
`wafw00f --headers {{ruta/a/cabeceras.txt}} {{https://www.ejemplo.com}}` | ||
|
||
- Lee entradas de destino desde un archivo y muestra una salida detallada (múltiples `v` para más verbosidad): | ||
|
||
`wafw00f --input {{ruta/a/urls.txt}} -v{{v}}` | ||
|
||
- [l]ista todos los WAF que pueden detectarse: | ||
|
||
`wafw00f --list` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# portageq | ||
|
||
> Consulta información sobre Portage, el gestor de paquetes de Gentoo Linux. | ||
> Las variables de entorno específicas de Portage que se pueden consultar están listadas en `/var/db/repos/gentoo/profiles/info_vars`. | ||
> Más información: <https://wiki.gentoo.org/wiki/Portageq>. | ||
- Muestra el valor de una variable de entorno específica de Portage: | ||
|
||
`portageq envvar {{variable}}` | ||
|
||
- Muestra una lista detallada de los repositorios configurados con Portage: | ||
|
||
`portageq repos_config /` | ||
|
||
- Muestra una lista de repositorios ordenados por prioridad (el más alto, primero): | ||
|
||
`portageq get_repos /` | ||
|
||
- Muestra un fragmento específico de metadatos sobre un átomo (por ejemplo, el nombre del paquete incluyendo la versión): | ||
|
||
`portageq metadata / {{ebuild|porttree|binary|...}} {{categoría}}/{{paquete}} {{BDEPEND|DEFINED_PHASES|DEPEND|...}}` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,24 @@ | ||
# poweroff | ||
|
||
> Apaga la máquina. | ||
> Apaga el sistema. | ||
> Más información: <https://www.manned.org/poweroff>. | ||
- Apaga la máquina: | ||
- Apaga el sistema: | ||
|
||
`sudo poweroff` | ||
`poweroff` | ||
|
||
- Detén el sistema (igual que `halt`): | ||
|
||
`poweroff --halt` | ||
|
||
- Reinicia el sistema (igual que `reboot`): | ||
|
||
`poweroff --reboot` | ||
|
||
- Apaga inmediatamente el sistema sin contactar al administrador: | ||
|
||
`poweroff --force --force` | ||
|
||
- Escribe una entrada en el archivo wtmp sin apagar el sistema: | ||
|
||
`poweroff --wtmp-only` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# aircrack-ng | ||
|
||
> 破解捕获数据包中的握手时段的 WEP 和 WPA/WPA2 密钥。 | ||
> 是 Aircrack-ng 网络软件套件的一部分。 | ||
> 更多信息: <https://www.aircrack-ng.org/doku.php?id=aircrack-ng>. | ||
- 使用字典文件破解捕获文件中的密钥: | ||
|
||
`aircrack-ng -w {{路径/到/字典文件.txt}} {{路径/到/捕获文件.cap}}` | ||
|
||
- 使用字典文件和接入点的 ESSID 破解捕获文件中的密钥: | ||
|
||
`aircrack-ng -w {{路径/到/字典文件.txt}} -e {{essid}} {{路径/到/捕获文件.cap}}` | ||
|
||
- 使用字典文件和接入点的 MAC 地址破解捕获文件中的密钥: | ||
|
||
`aircrack-ng -w {{路径/到/字典文件.txt}} --bssid {{mac}} {{路径/到/捕获文件.cap}}` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# kubectl config | ||
|
||
> Manage Kubernetes configuration (kubeconfig) files for accessing clusters via `kubectl` or the Kubernetes API. | ||
> By default, the Kubernetes will get its configuration from `${HOME}/.kube/config`. | ||
> See also: `kubectx`, `kubens`. | ||
> More information: <https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#config>. | ||
- Get all contexts in the default kubeconfig file: | ||
|
||
`kubectl config get-contexts` | ||
|
||
- Get all clusters/contexts/users in a custom kubeconfig file: | ||
|
||
`kubectl config {{get-clusters|get-contexts|get-users}} --kubeconfig {{path/to/kubeconfig.yaml}}` | ||
|
||
- Get the current context: | ||
|
||
`kubectl config current-context` | ||
|
||
- Switch to another context: | ||
|
||
`kubectl config {{use|use-context}} {{context_name}}` | ||
|
||
- Delete clusters/contexts/users: | ||
|
||
`kubectl config {{delete-cluster|delete-context|delete-user}} {{cluster|context|user}}` | ||
|
||
- Permanently add custom kubeconfig files: | ||
|
||
`export KUBECONFIG="{{$HOME.kube/config:path/to/custom/kubeconfig.yaml}}" kubectl config get-contexts` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# vulkaninfo | ||
|
||
> Print system Vulkan information. | ||
> More information: <https://vulkan.lunarg.com/doc/view/latest/linux/vulkaninfo.html>. | ||
- Print full Vulkan information: | ||
|
||
`vulkaninfo` | ||
|
||
- Print a summary: | ||
|
||
`vulkaninfo --summary` | ||
|
||
- Make a HTML document of the full Vulkan information: | ||
|
||
`vulkaninfo --html` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# eselect locale | ||
|
||
> An `eselect` module for managing the `LANG` environment variable, which sets the system language. | ||
> More information: <https://wiki.gentoo.org/wiki/Eselect#Locale>. | ||
- List available locales: | ||
|
||
`eselect locale list` | ||
|
||
- Set the `LANG` environment variable in `/etc/profile.env` by name or index from the `list` command: | ||
|
||
`eselect locale set {{name|index}}` | ||
|
||
- Display the value of `LANG` in `/etc/profile.env`: | ||
|
||
`eselect locale show` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# eselect repository | ||
|
||
> An `eselect` module for configuring ebuild repositories for Portage. | ||
> After enabling a repository, you have to run `emerge --sync repo_name` to download ebuilds. | ||
> More information: <https://wiki.gentoo.org/wiki/Eselect/Repository>. | ||
- List all ebuild repositories registered on <https://repos.gentoo.org>: | ||
|
||
`eselect repository list` | ||
|
||
- List enabled repositories: | ||
|
||
`eselect repository list -i` | ||
|
||
- Enable a repository from the list by its name or index from the `list` command: | ||
|
||
`eselect repository enable {{name|index}}` | ||
|
||
- Enable an unregistered repository: | ||
|
||
`eselect repository add {{name}} {{rsync|git|mercurial|svn|...}} {{sync_uri}}` | ||
|
||
- Disable repositories without removing their contents: | ||
|
||
`eselect repository disable {{repo1 repo2 ...}}` | ||
|
||
- Disable repositories and remove their contents: | ||
|
||
`eselect repository remove {{repo1 repo2 ...}}` | ||
|
||
- Create a local repository and enable it: | ||
|
||
`eselect repository create {{name}} {{path/to/repo}}` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# eselect | ||
|
||
> Gentoo's multi-purpose configuration and management tool. | ||
> It consists of various modules that take care of individual administrative tasks. | ||
> More information: <https://wiki.gentoo.org/wiki/Eselect>. | ||
- Display a list of installed modules: | ||
|
||
`eselect` | ||
|
||
- View documentation for a specific module: | ||
|
||
`tldr eselect {{module}}` | ||
|
||
- Display a help message for a specific module: | ||
|
||
`eselect {{module}} help` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# systemctl reboot | ||
|
||
> Reboot the system. | ||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#reboot>. | ||
- Reboot the system: | ||
|
||
`systemctl reboot` | ||
|
||
- Reboot into the BIOS/UEFI menu: | ||
|
||
`systemctl reboot --firmware-setup` |