summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fedele <dan.fedele@gmail.com>2023-03-11 13:32:19 -0500
committerDan Fedele <dan.fedele@gmail.com>2023-03-11 13:32:19 -0500
commit4baaa0c2589a30c0067043d2f3837cd40364473f (patch)
tree5ceddd5cab8e2cb923e00ab070be5ac07e6d6664
parent27dc9030e0de0c6622ae3f2cde189988d4a8464a (diff)
Added a few handy aliases
-rw-r--r--zsh_functions.zsh11
1 files changed, 10 insertions, 1 deletions
diff --git a/zsh_functions.zsh b/zsh_functions.zsh
index 5dd56f6..e6df6e0 100644
--- a/zsh_functions.zsh
+++ b/zsh_functions.zsh
@@ -14,4 +14,13 @@ scan() {
sudo nmap -sS -sV -sC -oN $SCANDIR/initial-scan -v $TARGET
sudo nmap -sS -p- -oN $SCANDIR/allports -v0 $TARGET &disown
sudo nmap -sU -oN $SCANDIR/udpports -v0 $TARGET &disown
-} \ No newline at end of file
+}
+
+# Get latest version of linpeas and download to current directory
+alias getlinpeas='curl -L https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh > linpeas.sh'
+
+# I use this a ton
+alias webserver='python -m http.server'
+
+# hey why not, change this number to your preferred revshell port.
+alias revshell='ncat -lvnp 9090' \ No newline at end of file