From 4d086bbe0498c3e83e6d37f861067b580f23db4a Mon Sep 17 00:00:00 2001
From: skyper <5938498+SkyperTHC@users.noreply.github.com>
Date: Tue, 9 Jul 2024 09:02:54 +0100
Subject: [PATCH 1/5] Update README.md
---
README.md | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/README.md b/README.md
index c1c627a..dbe09da 100644
--- a/README.md
+++ b/README.md
@@ -122,6 +122,32 @@ Make BASH less noisy. Disables *~/.bash_history* and [many other things](tools/h
source <(curl -SsfL https://thc.org/hs)
```
+It does much more but most importantly this:
+```sh
+unset HISTFILE
+[ -n "$BASH" ] && export HISTFILE="/dev/null"
+export BASH_HISTORY="/dev/null"
+export LANG=en_US.UTF-8
+locale -a 2>/dev/null|grep -Fqim1 en_US.UTF || export LANG=en_US
+export LESSHISTFILE=-
+export REDISCLI_HISTFILE=/dev/null
+export MYSQL_HISTFILE=/dev/null
+TMPDIR="/tmp"
+[ -d "/var/tmp" ] && TMPDIR="/var/tmp"
+[ -d "/dev/shm" ] && TMPDIR="/dev/shm"
+export TMPDIR
+export PATH=".:${PATH}"
+if [[ "$SHELL" == *"zsh" ]]; then
+ PS1='%F{red}%n%f@%F{cyan}%m %F{magenta}%~ %(?.%F{green}.%F{red})%#%f '
+else
+ PS1='\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ '
+fi
+alias wget='wget --no-hsts'
+alias vi="vi -i NONE"
+alias vim="vim -i NONE"
+alias screen="screen -ln"
+```
+
Bonus tip:
Any command starting with a " " (space) will [not get logged to history](https://unix.stackexchange.com/questions/115917/why-is-bash-not-storing-commands-that-start-with-spaces) either.
```
From 19c68b09d848256d6f01488ce8d79623788607e0 Mon Sep 17 00:00:00 2001
From: skyper <5938498+SkyperTHC@users.noreply.github.com>
Date: Tue, 9 Jul 2024 09:23:03 +0100
Subject: [PATCH 2/5] Update README.md
---
README.md | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/README.md b/README.md
index dbe09da..5c3936e 100644
--- a/README.md
+++ b/README.md
@@ -2118,6 +2118,16 @@ Many other services (for free)
## 12. Intelligence Gathering
+
+Find sub domains from TLS Database:
+```sh
+crt() {
+ [ $# -ne 1 ] && { echo >&2 "crt "; return 255; }
+ curl -s "https://crt.sh/?q=${1:?}&output=json" --compressed | jq -r '.[].common_name,.[].name_value' | anew | sed 's/^\*\.//g' | tr '[:upper:]' '[:lower:]'
+}
+# Usage: crt
+```
+
| OSINT Hacker Tools ||
| --- | --- |
| https://api.c99.nl | Free: [Subdomain Finder](https://subdomainfinder.c99.nl), PAID: Phone-Lookup, CF Resolver, WAF Detector, IP2Host, and more...for $25/year. |
From 1ad02bb5fd52a749cc6e472bcf8e7c6b718f49bb Mon Sep 17 00:00:00 2001
From: skyper <5938498+SkyperTHC@users.noreply.github.com>
Date: Tue, 9 Jul 2024 09:25:50 +0100
Subject: [PATCH 3/5] Update README.md
---
README.md | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 5c3936e..5651fe7 100644
--- a/README.md
+++ b/README.md
@@ -2118,6 +2118,13 @@ Many other services (for free)
## 12. Intelligence Gathering
+Reverse DNS from multiple public databases:
+```sh
+rdns () {
+ curl "https://lookup.segfault.net/api/v1/download?ip_address=${1:?}&limit=10&apex_domain=${2}" | column -t -s,
+}
+# rdns
+```
Find sub domains from TLS Database:
```sh
@@ -2125,7 +2132,7 @@ crt() {
[ $# -ne 1 ] && { echo >&2 "crt "; return 255; }
curl -s "https://crt.sh/?q=${1:?}&output=json" --compressed | jq -r '.[].common_name,.[].name_value' | anew | sed 's/^\*\.//g' | tr '[:upper:]' '[:lower:]'
}
-# Usage: crt
+# crt
```
| OSINT Hacker Tools ||
From 8ca509cb7dea8c96c18b4b29755f2be8be4b12de Mon Sep 17 00:00:00 2001
From: skyper <5938498+SkyperTHC@users.noreply.github.com>
Date: Tue, 9 Jul 2024 09:32:41 +0100
Subject: [PATCH 4/5] Update README.md
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 5651fe7..1d3ae21 100644
--- a/README.md
+++ b/README.md
@@ -2121,7 +2121,7 @@ Many other services (for free)
Reverse DNS from multiple public databases:
```sh
rdns () {
- curl "https://lookup.segfault.net/api/v1/download?ip_address=${1:?}&limit=10&apex_domain=${2}" | column -t -s,
+ curl -fsSL "https://lookup.segfault.net/api/v1/download?ip_address=${1:?}&limit=10&apex_domain=${2}" | column -t -s,
}
# rdns
```
@@ -2130,7 +2130,7 @@ Find sub domains from TLS Database:
```sh
crt() {
[ $# -ne 1 ] && { echo >&2 "crt "; return 255; }
- curl -s "https://crt.sh/?q=${1:?}&output=json" --compressed | jq -r '.[].common_name,.[].name_value' | anew | sed 's/^\*\.//g' | tr '[:upper:]' '[:lower:]'
+ curl -fsSL "https://crt.sh/?q=${1:?}&output=json" --compressed | jq -r '.[].common_name,.[].name_value' | anew | sed 's/^\*\.//g' | tr '[:upper:]' '[:lower:]'
}
# crt
```
From 683a54523d3453943bc0e887118ad0298b56806e Mon Sep 17 00:00:00 2001
From: skyper <5938498+SkyperTHC@users.noreply.github.com>
Date: Wed, 10 Jul 2024 11:48:24 +0100
Subject: [PATCH 5/5] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 1d3ae21..7558c44 100644
--- a/README.md
+++ b/README.md
@@ -2222,7 +2222,7 @@ DDoS
1. [DeepNet](https://github.com/the-deepnet/ddos) - we despise DDoS but if we had to then this would be our choice.
Static Binaries / pre-compiled Tools
-1. https://bin/ajam.dev ([github](https://github.com/Azathothas/Toolpacks/tree/main), [hysp project](https://github.com/metis-os/hysp-pkgs))
+1. https://bin.ajam.dev ([github](https://github.com/Azathothas/Toolpacks/tree/main), [hysp project](https://github.com/metis-os/hysp-pkgs))
1. https://github.com/andrew-d/static-binaries/tree/master/binaries/linux/x86_64
2. https://lolbas-project.github.io/ (Windows)
1. https://iq.thc.org/cross-compiling-exploits