-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbash_aliases_dockerized
24 lines (19 loc) · 1.09 KB
/
bash_aliases_dockerized
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# shellcheck shell=bash
# Contains aliases for Dockerized versions of tools I use
echo "Docker is installed. Loading dockerized bash aliases."
# WARN! WARN! For apps that will accept input from STDOUT (piping),
# you MUST use only "-i" in order to avoid "not a TTY" error
alias binwalk="docker run -it knowl3dge/binwalk"
# this overkill, just use binary
# alias jq="docker run --rm -i stedolan/jq -C"
alias lynx="docker run --rm -it jessfraz/lynx"
alias nikto="docker run --rm sullo/nikto"
alias nmap="docker run --rm -it --net host jessfraz/nmap"
alias testssl="docker run --rm -ti drwetter/testssl.sh"
# Only if docker is installed
alias nikto_ssl='nikto -port 443 -Plugins ssl'
# alias perlcritic='sudo docker run --user "$(id -u)" --volume "$HOME:$HOME" perlcritic --statistics'
# overkill, just run binary
# alias shellcheck='sudo docker run --user "$(id -u)" --volume "$HOME:$HOME" koalaman/shellcheck'
#alias trivy='sudo docker run --user "$(id -u)" --volume $HOME:$HOME -i aquasec/trivy --cache-dir $HOME/cache/trivy'
alias ocrmypdf='docker run --rm --volume $HOME:$HOME -i jbarlow83/ocrmypdf'