Unverified Commit 18ee5dff authored by Marc Cornellà's avatar Marc Cornellà Committed by GitHub
Browse files

Merge branch 'master' into clipboard

parents d81cd753 368198b7
...@@ -14,7 +14,7 @@ fi ...@@ -14,7 +14,7 @@ fi
alias k=kubectl alias k=kubectl
# Execute a kubectl command against all namespaces # Execute a kubectl command against all namespaces
alias kca='f(){ kubectl "$@" --all-namespaces; unset -f f; }; f' alias kca='_kca(){ kubectl "$@" --all-namespaces; unset -f _kca; }; _kca'
# Apply a YML file # Apply a YML file
alias kaf='kubectl apply -f' alias kaf='kubectl apply -f'
...@@ -37,6 +37,7 @@ alias kdelf='kubectl delete -f' ...@@ -37,6 +37,7 @@ alias kdelf='kubectl delete -f'
# Pod management. # Pod management.
alias kgp='kubectl get pods' alias kgp='kubectl get pods'
alias kgpa='kubectl get pods --all-namespaces'
alias kgpw='kgp --watch' alias kgpw='kgp --watch'
alias kgpwide='kgp -o wide' alias kgpwide='kgp -o wide'
alias kep='kubectl edit pods' alias kep='kubectl edit pods'
...@@ -48,6 +49,7 @@ alias kgpl='kgp -l' ...@@ -48,6 +49,7 @@ alias kgpl='kgp -l'
# Service management. # Service management.
alias kgs='kubectl get svc' alias kgs='kubectl get svc'
alias kgsa='kubectl get svc --all-namespaces'
alias kgsw='kgs --watch' alias kgsw='kgs --watch'
alias kgswide='kgs -o wide' alias kgswide='kgs -o wide'
alias kes='kubectl edit svc' alias kes='kubectl edit svc'
...@@ -56,6 +58,7 @@ alias kdels='kubectl delete svc' ...@@ -56,6 +58,7 @@ alias kdels='kubectl delete svc'
# Ingress management # Ingress management
alias kgi='kubectl get ingress' alias kgi='kubectl get ingress'
alias kgia='kubectl get ingress --all-namespaces'
alias kei='kubectl edit ingress' alias kei='kubectl edit ingress'
alias kdi='kubectl describe ingress' alias kdi='kubectl describe ingress'
alias kdeli='kubectl delete ingress' alias kdeli='kubectl delete ingress'
...@@ -69,17 +72,20 @@ alias kcn='kubectl config set-context $(kubectl config current-context) --namesp ...@@ -69,17 +72,20 @@ alias kcn='kubectl config set-context $(kubectl config current-context) --namesp
# ConfigMap management # ConfigMap management
alias kgcm='kubectl get configmaps' alias kgcm='kubectl get configmaps'
alias kgcma='kubectl get configmaps --all-namespaces'
alias kecm='kubectl edit configmap' alias kecm='kubectl edit configmap'
alias kdcm='kubectl describe configmap' alias kdcm='kubectl describe configmap'
alias kdelcm='kubectl delete configmap' alias kdelcm='kubectl delete configmap'
# Secret management # Secret management
alias kgsec='kubectl get secret' alias kgsec='kubectl get secret'
alias kgseca='kubectl get secret --all-namespaces'
alias kdsec='kubectl describe secret' alias kdsec='kubectl describe secret'
alias kdelsec='kubectl delete secret' alias kdelsec='kubectl delete secret'
# Deployment management. # Deployment management.
alias kgd='kubectl get deployment' alias kgd='kubectl get deployment'
alias kgda='kubectl get deployment --all-namespaces'
alias kgdw='kgd --watch' alias kgdw='kgd --watch'
alias kgdwide='kgd -o wide' alias kgdwide='kgd -o wide'
alias ked='kubectl edit deployment' alias ked='kubectl edit deployment'
...@@ -98,6 +104,7 @@ alias kru='kubectl rollout undo' ...@@ -98,6 +104,7 @@ alias kru='kubectl rollout undo'
# Statefulset management. # Statefulset management.
alias kgss='kubectl get statefulset' alias kgss='kubectl get statefulset'
alias kgssa='kubectl get statefulset --all-namespaces'
alias kgssw='kgss --watch' alias kgssw='kgss --watch'
alias kgsswide='kgss -o wide' alias kgsswide='kgss -o wide'
alias kess='kubectl edit statefulset' alias kess='kubectl edit statefulset'
...@@ -115,7 +122,13 @@ alias kgaa='kubectl get all --all-namespaces' ...@@ -115,7 +122,13 @@ alias kgaa='kubectl get all --all-namespaces'
# Logs # Logs
alias kl='kubectl logs' alias kl='kubectl logs'
alias kl1h='kubectl logs --since 1h'
alias kl1m='kubectl logs --since 1m'
alias kl1s='kubectl logs --since 1s'
alias klf='kubectl logs -f' alias klf='kubectl logs -f'
alias klf1h='kubectl logs --since 1h -f'
alias klf1m='kubectl logs --since 1m -f'
alias klf1s='kubectl logs --since 1s -f'
# File copy # File copy
alias kcp='kubectl cp' alias kcp='kubectl cp'
...@@ -128,6 +141,7 @@ alias kdelno='kubectl delete node' ...@@ -128,6 +141,7 @@ alias kdelno='kubectl delete node'
# PVC management. # PVC management.
alias kgpvc='kubectl get pvc' alias kgpvc='kubectl get pvc'
alias kgpvca='kubectl get pvc --all-namespaces'
alias kgpvcw='kgpvc --watch' alias kgpvcw='kgpvc --watch'
alias kepvc='kubectl edit pvc' alias kepvc='kubectl edit pvc'
alias kdpvc='kubectl describe pvc' alias kdpvc='kubectl describe pvc'
......
...@@ -29,6 +29,12 @@ plugins=(... laravel) ...@@ -29,6 +29,12 @@ plugins=(... laravel)
| `pamc` | `php artisan make:controller` | | `pamc` | `php artisan make:controller` |
| `pams` | `php artisan make:seeder` | | `pams` | `php artisan make:seeder` |
| `pamt` | `php artisan make:test` | | `pamt` | `php artisan make:test` |
| `pamfa` | `php artisan make:factory` |
| `pamp` | `php artisan make:policy` |
| `pame` | `php artisan make:event` |
| `pamj` | `php artisan make:job` |
| `paml` | `php artisan make:listener` |
| `pamn` | `php artisan make:notification` |
## Clears ## Clears
...@@ -38,3 +44,14 @@ plugins=(... laravel) ...@@ -38,3 +44,14 @@ plugins=(... laravel)
| `pacoc` | `php artisan config:clear` | | `pacoc` | `php artisan config:clear` |
| `pavic` | `php artisan view:clear` | | `pavic` | `php artisan view:clear` |
| `paroc` | `php artisan route:clear` | | `paroc` | `php artisan route:clear` |
## Queues
| Alias | Description |
|:-:|:-:|
| `paqf` | `php artisan queue:failed` |
| `paqft` | `php artisan queue:failed-table` |
| `paql` | `php artisan queue:listen` |
| `paqr` | `php artisan queue:retry` |
| `paqt` | `php artisan queue:table` |
| `paqw` | `php artisan queue:work` |
...@@ -17,6 +17,13 @@ alias pamm='php artisan make:model' ...@@ -17,6 +17,13 @@ alias pamm='php artisan make:model'
alias pamc='php artisan make:controller' alias pamc='php artisan make:controller'
alias pams='php artisan make:seeder' alias pams='php artisan make:seeder'
alias pamt='php artisan make:test' alias pamt='php artisan make:test'
alias pamfa='php artisan make:factory'
alias pamp='php artisan make:policy'
alias pame='php artisan make:event'
alias pamj='php artisan make:job'
alias paml='php artisan make:listener'
alias pamn='php artisan make:notification'
alias pampp='php artisan make:provider'
# Clears # Clears
...@@ -24,3 +31,11 @@ alias pacac='php artisan cache:clear' ...@@ -24,3 +31,11 @@ alias pacac='php artisan cache:clear'
alias pacoc='php artisan config:clear' alias pacoc='php artisan config:clear'
alias pavic='php artisan view:clear' alias pavic='php artisan view:clear'
alias paroc='php artisan route:clear' alias paroc='php artisan route:clear'
# queues
alias paqf='php artisan queue:failed'
alias paqft='php artisan queue:failed-table'
alias paql='php artisan queue:listen'
alias paqr='php artisan queue:retry'
alias paqt='php artisan queue:table'
alias paqw='php artisan queue:work'
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
typeset -g ZSH_LAST_WORKING_DIRECTORY typeset -g ZSH_LAST_WORKING_DIRECTORY
# Updates the last directory once directory is changed # Updates the last directory once directory is changed
chpwd_functions+=(chpwd_last_working_dir) autoload -U add-zsh-hook
add-zsh-hook chpwd chpwd_last_working_dir
chpwd_last_working_dir() { chpwd_last_working_dir() {
if [ "$ZSH_SUBSHELL" = 0 ]; then if [ "$ZSH_SUBSHELL" = 0 ]; then
local cache_file="$ZSH_CACHE_DIR/last-working-dir" local cache_file="$ZSH_CACHE_DIR/last-working-dir"
......
# Leiningen plugin
This plugin adds completions for the [Leiningen](https://leiningen.org/) Clojure build tool.
To use it, add `lein` to the plugins array in your zshrc file:
```zsh
plugins=(... lein)
```
...@@ -13,10 +13,10 @@ Plugin for adding catspeak aliases, because why not ...@@ -13,10 +13,10 @@ Plugin for adding catspeak aliases, because why not
) )
``` ```
2. Reload the source file or restart your Terminal session: 2. Restart your terminal session or restart the shell:
```console ```console
$ source ~/.zshrc $ exec zsh
$ $
``` ```
...@@ -61,7 +61,7 @@ Plugin for adding catspeak aliases, because why not ...@@ -61,7 +61,7 @@ Plugin for adding catspeak aliases, because why not
| `violenz` | `git rebase` | | `violenz` | `git rebase` |
| `visible` | `echo` | | `visible` | `echo` |
| `wtf` | `dmesg` | | `wtf` | `dmesg` |
| `yolo` | `git commit -m "$(curl -s https://whatthecommit.com/index.txt)"` | | `yolo` | `git commit -m "$(curl -s http://whatthecommit.com/index.txt)"` |
## Usage Examples ## Usage Examples
...@@ -78,6 +78,6 @@ nowai u=r,go= some.file ...@@ -78,6 +78,6 @@ nowai u=r,go= some.file
# ssh root@catserver.org # ssh root@catserver.org
pwned root@catserver.org pwned root@catserver.org
# git commit -m "$(curl -s https://whatthecommit.com/index.txt)" # git commit -m "$(curl -s http://whatthecommit.com/index.txt)"
yolo yolo
``` ```
...@@ -45,7 +45,7 @@ alias bringz='git pull' ...@@ -45,7 +45,7 @@ alias bringz='git pull'
alias chicken='git add' alias chicken='git add'
alias oanward='git commit -m' alias oanward='git commit -m'
alias ooanward='git commit -am' alias ooanward='git commit -am'
alias yolo='git commit -m "$(curl -s https://whatthecommit.com/index.txt)"' alias yolo='git commit -m "$(curl -s http://whatthecommit.com/index.txt)"'
alias letcat='git checkout' alias letcat='git checkout'
alias violenz='git rebase' alias violenz='git rebase'
...@@ -41,6 +41,8 @@ subcmds=( ...@@ -41,6 +41,8 @@ subcmds=(
'patch' 'patch'
'pkg' 'pkg'
'provides' 'provides'
'rdependents'
'rdeps'
'rpmpackage' 'rpmpackage'
'search' 'search'
'selfupdate' 'selfupdate'
......
## Magic Enter plugin
This plugin makes your enter key magical, by binding commonly used commands to it.
To use it, add `magic-enter` to the plugins array in your zshrc file. You can set the
commands to be run in your .zshrc, before the line containing plugins. If no command
is specified in a git directory, `git status` is executed; in other directories, `ls`.
```zsh
# defaults
MAGIC_ENTER_GIT_COMMAND='git status -u .'
MAGIC_ENTER_OTHER_COMMAND='ls -lh .'
plugins=(... magic-enter)
```
**Maintainer:** [@dufferzafar](https://github.com/dufferzafar)
## Magic Enter
**Maintainer:** [@dufferzafar](https://github.com/dufferzafar)
Makes your enter key magical, by binding commonly used commands to it.
You can set the commands to be run in your .zshrc, before the line containing plugins!
```bash
MAGIC_ENTER_GIT_COMMAND='git status -u .'
MAGIC_ENTER_OTHER_COMMAND='ls -lh .'
plugins=(magic-enter)
```
## Introduction ## Introduction
The [meteor plugin](https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/meteor) provides many The [meteor plugin](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/meteor) provides many
[useful aliases](#aliases) as well as completion for the `meteor` command. [useful aliases](#aliases) as well as completion for the `meteor` command.
Enable it by adding `meteor` to the plugins array in your zshrc file: Enable it by adding `meteor` to the plugins array in your zshrc file:
......
# MicroK8s plugin
This plugin provides completion and useful aliases for [MicroK8s](https://microk8s.io/).
To use it, add `microk8s` to the plugins array in your zshrc file.
```zsh
plugins=(... microk8s)
```
## Aliases
| Alias | Command | Description |
|-------|------------------|----------------------------------------------------------------------------------------------------------|
| mco | microk8s.config | Shows the Kubernetes config file. |
| mct | microk8s.ctr | Interact with containerd CLI. |
| mdi | microk8s.disable | Disables an addon. |
| me | microk8s.enable | Enables an addon. |
| mh | microk8s.helm | Interact with Helm CLI. |
| mis | microk8s.istio | Interact with Istio CLI. |
| mk | microk8s.kubectl | Interact with Kubernetes CLI. |
| msp | microk8s.stop | Stops all Kubernetes services. |
| mst | microk8s.start | Starts MicroK8s after it is being stopped. |
| msts | microk8s.status | Provides an overview of the MicroK8s state (running / not running) as well as the set of enabled addons. |
\ No newline at end of file
# ---------------------------------------------------------- #
# Aliases and Completions for MicroK8s (https://microk8s.io) #
# Author: Shaun Tabone (https://github.com/xontab) #
# ---------------------------------------------------------- #
# Helper function to cache and load completions
_microk8s_cache_completion() {
local cache="${ZSH_CACHE_DIR}/microk8s_$(echo $1)_completion"
if [[ ! -f $cache ]]; then
$2 $cache
fi
[[ -f $cache ]] && source $cache
}
# ---------------------------------------------------------- #
# microk8s.enable #
# ALIAS: me #
# ---------------------------------------------------------- #
_microk8s_enable_get_command_list() {
microk8s.enable --help | tail -n +7 | awk '{$1=$1;print}'
}
_microk8s_enable() {
compadd -X "MicroK8s Addons" $(_microk8s_enable_get_command_list)
}
compdef _microk8s_enable microk8s.enable
alias me='microk8s.enable'
# ---------------------------------------------------------- #
# microk8s.disable #
# ALIAS: mdi #
# ---------------------------------------------------------- #
_microk8s_disable_get_command_list() {
microk8s.disable --help | tail -n +7 | awk '{$1=$1;print}'
}
_microk8s_disable() {
compadd -X "MicroK8s Addons" $(_microk8s_disable_get_command_list)
}
compdef _microk8s_disable microk8s.disable
alias mdi='microk8s.disable'
# ---------------------------------------------------------- #
# microk8s.kubectl #
# ALIAS: mk #
# ---------------------------------------------------------- #
_microk8s_kubectl_completion() {
if [ $commands[microk8s.kubectl] ]; then
microk8s.kubectl 2>/dev/null >/dev/null && microk8s.kubectl completion zsh | sed 's/__start_kubectl kubectl/__start_kubectl microk8s.kubectl/g' >$1
fi
}
_microk8s_cache_completion 'kubectl' _microk8s_kubectl_completion
alias mk='microk8s.kubectl'
# ---------------------------------------------------------- #
# microk8s.helm #
# ALIAS: mh #
# ---------------------------------------------------------- #
_microk8s_helm_completion() {
if [ $commands[microk8s.helm] ]; then
microk8s.helm completion zsh | sed 's/__start_helm helm/__start_helm microk8s.helm/g' >$1
fi
}
_microk8s_cache_completion 'helm' _microk8s_helm_completion
alias mh='microk8s.helm'
# ---------------------------------------------------------- #
# Other Aliases #
# ---------------------------------------------------------- #
alias mco='microk8s.config'
alias mct='microk8s.ctr'
alias mis='microk8s.istio'
alias mst='microk8s.start'
alias msts='microk8s.status'
alias msp='microk8s.stop'
...@@ -55,4 +55,4 @@ has colored output, so this function will be soon removed from the plugin. ...@@ -55,4 +55,4 @@ has colored output, so this function will be soon removed from the plugin.
### Known bugs ### Known bugs
It has a bug where it will swallow mvn prompts for user input, _e.g._ when using It has a bug where it will swallow mvn prompts for user input, _e.g._ when using
`archetype:generate`. See [#5052](https://github.com/robbyrussell/oh-my-zsh/issues/5052). `archetype:generate`. See [#5052](https://github.com/ohmyzsh/ohmyzsh/issues/5052).
...@@ -267,6 +267,8 @@ function listMavenCompletions { ...@@ -267,6 +267,8 @@ function listMavenCompletions {
stage:copy stage:copy
# toolchain # toolchain
toolchain:toolchain toolchain:toolchain
#liberty
liberty:clean-server liberty:compile-jsp liberty:configure-arquillian liberty:create-server liberty:debug liberty:debug-server liberty:deploy liberty:dev liberty:display-url liberty:dump-server liberty:install-apps liberty:install-feature liberty:install-server liberty:java-dump-server liberty:package-server liberty:run liberty:run-server liberty:server-status liberty:start liberty:start-server liberty:status liberty:stop liberty:stop-server liberty:test-start-server liberty:test-stop-server liberty:undeploy liberty:uninstall-feature
# options # options
"-Dmaven.test.skip=true" -DskipTests -DskipITs -Dmaven.surefire.debug -DenableCiProfile "-Dpmd.skip=true" "-Dcheckstyle.skip=true" "-Dtycho.mode=maven" "-Dmaven.test.failure.ignore=true" "-DgroupId=" "-DartifactId=" "-Dversion=" "-Dpackaging=jar" "-Dfile=" "-Dmaven.test.skip=true" -DskipTests -DskipITs -Dmaven.surefire.debug -DenableCiProfile "-Dpmd.skip=true" "-Dcheckstyle.skip=true" "-Dtycho.mode=maven" "-Dmaven.test.failure.ignore=true" "-DgroupId=" "-DartifactId=" "-Dversion=" "-Dpackaging=jar" "-Dfile="
......
# MySQL-Macports plugin
This plugin adds aliases for some of the commonly used [MySQL](https://www.mysql.com/) commands when installed using [MacPorts](https://www.macports.org/) on macOS.
To use it, add `mysql-macports` to the plugins array in your zshrc file:
```zsh
plugins=(... mysql-macports)
```
For instructions on how to install MySQL using MacPorts, read the [MacPorts wiki](https://trac.macports.org/wiki/howto/MySQL/).
## Aliases
| Alias | Command | Description |
| ------------ | --------------------------------------------------------- | ------------------------------------------ |
| mysqlstart | `sudo /opt/local/share/mysql5/mysql/mysql.server start` | Start the MySQL server. |
| mysqlstop | `sudo /opt/local/share/mysql5/mysql/mysql.server stop` | Stop the MySQL server. |
| mysqlrestart | `sudo /opt/local/share/mysql5/mysql/mysql.server restart` | Restart the MySQL server. |
| mysqlstatus | `mysqladmin5 -u root -p ping` | Check whether the MySQL server is running. |
# n98-magerun plugin
The swiss army knife for Magento developers, sysadmins and devops. The tool provides a huge set of well tested command line commands which save hours of work time.
The [n98-magerun plugin](https://github.com/netz98/n98-magerun) provides many
[useful aliases](#aliases) as well as completion for the `n98-magerun` command.
Enable it by adding `n98-magerun` to the plugins array in your zshrc file:
```zsh
plugins=(... n98-magerun)
```
## Aliases
| Alias | Command | Description |
| --------- | -------------------------------------------------- | --------------------------------------------------------------------------------- |
| n98 | `n98-magerun.phar` | The N98-Magerun phar-file (Version 1) |
| n98-2 | `n98-magerun2.phar` | The N98-Magerun phar-file (Version 2) |
| mage-get | `wget https://files.magerun.net/n98-magerun.phar` | Download the latest stable N98-Magerun phar-file from the file-server (Version 1) |
| mage2-get | `wget https://files.magerun.net/n98-magerun2.phar` | Download the latest stable N98-Magerun phar-file from the file-server (Version 2) |
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
# FILE: n98-magerun.plugin.zsh # FILE: n98-magerun.plugin.zsh
# DESCRIPTION: oh-my-zsh n98-magerun plugin file. Adapted from composer plugin # DESCRIPTION: oh-my-zsh n98-magerun plugin file. Adapted from composer plugin
# AUTHOR: Andrew Dwyer (andrewrdwyer at gmail dot com) # AUTHOR: Andrew Dwyer (andrewrdwyer at gmail dot com)
# VERSION: 1.0.0 # AUTHOR: Jisse Reitsma (jisse at yireo dot com)
# VERSION: 1.1.0
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# n98-magerun basic command completion # n98-magerun basic command completion
...@@ -24,11 +25,18 @@ _n98_magerun () { ...@@ -24,11 +25,18 @@ _n98_magerun () {
compdef _n98_magerun n98-magerun.phar compdef _n98_magerun n98-magerun.phar
compdef _n98_magerun n98-magerun compdef _n98_magerun n98-magerun
compdef _n98_magerun n98-magerun2.phar
compdef _n98_magerun n98-magerun2
# Aliases # Aliases
alias n98='n98-magerun.phar' alias n98='n98-magerun.phar'
alias mage='n98-magerun.phar' alias mage='n98-magerun.phar'
alias magefl='n98-magerun.phar cache:flush' alias magerun='n98-magerun.phar'
alias n98-2='n98-magerun2.phar'
alias mage2='n98-magerun2.phar'
alias magerun2='n98-magerun2.phar'
# Install n98-magerun into the current directory # Install n98-magerun into the current directory
alias mage-get='wget https://raw.github.com/netz98/n98-magerun/master/n98-magerun.phar' alias mage-get='wget https://files.magerun.net/n98-magerun.phar'
alias mage2-get='wget https://files.magerun.net/n98-magerun2.phar'
## NG Plugin # ng plugin
This [ng plugin](https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/ng) This plugin adds autocompletion support for [Angular's CLI](https://github.com/angular/angular-cli)
adds completion support for Angular's CLI (named ng). (named `ng`).
Ng is hosted on [ng home](https://github.com/catull/angular-cli) To use it, add `ng` to the plugins array of your zshrc file:
It is used to generate Angular 2 app "stubs", build those apps, configure them,
test them, lint them etc.
Ahem, "stubs" is not what Angular engineers refer to the items ng can generate
for you.
"Stubs" can be any one of:
- class
- component
- directive
- enum
- module
- pipe
- route
- service
At the moment, `ng completion` creates a very rough completion for Zsh and
Bash.
It is missing most of the options and a few arguments.
In future, this plugin may be shortened to simply being
```zsh ```zsh
eval `ng completion` plugins=(... ng)
``` ```
There is hope this materialises in the 21st century.
### CONTRIBUTOR
- Carlo Dapor ([catull](https://github.com/catull))
# Nmap aliases plugin # Nmap plugin
Adds some useful aliases for nmap similar to the profiles in zenmap. Adds some useful aliases for [Nmap](https://nmap.org/) similar to the profiles in zenmap.
Nmap options are: To use it, add `nmap` to the plugins array in your zshrc file:
* -sS - TCP SYN scan
* -v - verbose
* -T1 - timing of scan. Options are paranoid (0), sneaky (1), polite (2), normal (3), aggressive (4), and insane (5)
* -sF - FIN scan (can sneak through non-stateful firewalls)
* -PE - ICMP echo discovery probe
* -PP - timestamp discovery probe
* -PY - SCTP init ping
* -g - use given number as source port
* -A - enable OS detection, version detection, script scanning, and traceroute (aggressive)
* -O - enable OS detection
* -sA - TCP ACK scan
* -F - fast scan
* --script=vulscan - also access vulnerabilities in target
## Aliases explained ```zsh
plugins=(... nmap)
```
* nmap_open_ports - Scan for open ports on target ## Aliases
* nmap_list_interfaces - List all network interfaces on host where the command runs
* nmap_slow - Slow scan that avoids to spam the targets logs
* nmap_fin - Scan to see if hosts are up with TCP FIN scan
* nmap_full - Aggressive full scan that scans all ports, tries to determine OS and service versions
* nmap_check_for_firewall - TCP ACK scan to check for firewall existence
* nmap_ping_through_firewall - Host discovery with SYN and ACK probes instead of just pings to avoid firewall
restrictions
* nmap_fast - Fast scan of the top 300 popular ports
* nmap_detect_versions - Detects versions of services and OS, runs on all ports
* nmap_check_for_vulns - Uses vulscan script to check target services for vulnerabilities
* nmap_full_udp - Same as full but via UDP
* nmap_traceroute - Try to traceroute using the most common ports
* nmap_full_with_scripts - Same as nmap_full but also runs all the scripts
* nmap_web_safe_osscan - Little "safer" scan for OS version as connecting to only HTTP and HTTPS ports doesn't look so attacking.
- `nmap_open_ports`: scan for open ports on target.
- `nmap_list_interfaces`: list all network interfaces on host where the command runs.
- `nmap_slow`: slow scan that avoids to spam the targets logs.
- `nmap_fin`: scan to see if hosts are up with TCP FIN scan.
- `nmap_full`: aggressive full scan that scans all ports, tries to determine OS and service versions.
- `nmap_check_for_firewall`: TCP ACK scan to check for firewall existence.
- `nmap_ping_through_firewall`: host discovery with SYN and ACK probes instead of just pings to avoid firewall restrictions.
- `nmap_fast`: fast scan of the top 300 popular ports.
- `nmap_detect_versions`: detects versions of services and OS, runs on all ports.
- `nmap_check_for_vulns`: uses vulscan script to check target services for vulnerabilities.
- `nmap_full_udp`: same as full but via UDP.
- `nmap_traceroute`: try to traceroute using the most common ports.
- `nmap_full_with_scripts`: same as nmap_full but also runs all the scripts.
- `nmap_web_safe_osscan`: little "safer" scan for OS version as connecting to only HTTP and HTTPS ports doesn't look so attacking.
- `nmap_ping_scan`: ICMP scan for active hosts.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment