OSINT & recon toolkit // 100+ tools, one-command installer, SOCMINT, GEOINT, network recon, dark web, forensics & more.
Shell cybersecuritydata-breachethical-hackinggoverment-datahackinginformation-gatheringinfosecintelligenceinvestigationkali-linuxopen-dataosintosint-toolosint-toolspenetration-testingpublic-recordsreconreconnaissancesecurity-tools
Don't let git prompt for credentials when a repo is gone
barnia690604d9471
diff --git a/blueteam.sh b/blueteam.shindex c6767e6..20d6345 100644--- a/blueteam.sh+++ b/blueteam.sh@@ -120,7 +120,7 @@ install_git() {skip "$dst already cloned"returnfi- if git clone --depth=1 "$repo" "/opt/osint-arsenal/$dst" >/dev/null 2>&1; then ok "$dst (git)"; else fail "$dst (git)"; fi+ if GIT_TERMINAL_PROMPT=0 git clone --depth=1 "$repo" "/opt/osint-arsenal/$dst" >/dev/null 2>&1; then ok "$dst (git)"; else fail "$dst (git)"; fi}install_docker() {local image="$1" name="$2"diff --git a/extras.sh b/extras.shindex 8bf99c9..708ca14 100644--- a/extras.sh+++ b/extras.sh@@ -123,7 +123,7 @@ install_git() {skip "$dst already cloned"returnfi- if git clone --depth=1 "$repo" "/opt/osint-arsenal/$dst" >/dev/null 2>&1; then ok "$dst (git)"; else fail "$dst (git)"; fi+ if GIT_TERMINAL_PROMPT=0 git clone --depth=1 "$repo" "/opt/osint-arsenal/$dst" >/dev/null 2>&1; then ok "$dst (git)"; else fail "$dst (git)"; fi}install_docker() {@@ -191,7 +191,7 @@ mkdir -p /opt/osint-arsenalif [ -d "/opt/osint-arsenal/EyeWitness" ]; thenskip "EyeWitness already cloned"else- if git clone --depth=1 https://github.com/RedSiege/EyeWitness.git /opt/osint-arsenal/EyeWitness >/dev/null 2>&1; then+ if GIT_TERMINAL_PROMPT=0 git clone --depth=1 https://github.com/RedSiege/EyeWitness.git /opt/osint-arsenal/EyeWitness >/dev/null 2>&1; thensay "Compiling configuration and baseline assets for EyeWitness..."if bash /opt/osint-arsenal/EyeWitness/Python/setup/setup.sh -y >/dev/null 2>&1; thenok "EyeWitness (git + set up)"diff --git a/forensics.sh b/forensics.shindex e5091b2..f156b3c 100644--- a/forensics.sh+++ b/forensics.sh@@ -123,7 +123,7 @@ install_git() {skip "$dst already cloned"returnfi- if git clone --depth=1 "$repo" "/opt/osint-arsenal/$dst" >/dev/null 2>&1; then ok "$dst (git)"; else fail "$dst (git)"; fi+ if GIT_TERMINAL_PROMPT=0 git clone --depth=1 "$repo" "/opt/osint-arsenal/$dst" >/dev/null 2>&1; then ok "$dst (git)"; else fail "$dst (git)"; fi}install_docker() {@@ -219,7 +219,7 @@ mkdir -p /opt/osint-arsenalif [ -d "/opt/osint-arsenal/EyeWitness" ]; thenskip "EyeWitness already cloned"else- if git clone --depth=1 https://github.com/RedSiege/EyeWitness.git /opt/osint-arsenal/EyeWitness >/dev/null 2>&1; then+ if GIT_TERMINAL_PROMPT=0 git clone --depth=1 https://github.com/RedSiege/EyeWitness.git /opt/osint-arsenal/EyeWitness >/dev/null 2>&1; thensay "Running baseline infrastructure setup for EyeWitness..."if bash /opt/osint-arsenal/EyeWitness/Python/setup/setup.sh -y >/dev/null 2>&1; thenok "EyeWitness (git + compiled)"diff --git a/hardware.sh b/hardware.shindex 8403476..77f7626 100644--- a/hardware.sh+++ b/hardware.sh@@ -122,7 +122,7 @@ install_git() {skip "$dst already cloned"returnfi- if git clone --depth=1 "$repo" "/opt/osint-arsenal/$dst" >/dev/null 2>&1; then ok "$dst (git)"; else fail "$dst (git)"; fi+ if GIT_TERMINAL_PROMPT=0 git clone --depth=1 "$repo" "/opt/osint-arsenal/$dst" >/dev/null 2>&1; then ok "$dst (git)"; else fail "$dst (git)"; fi}install_docker() {diff --git a/labs.sh b/labs.shindex 9308585..721dbf0 100644--- a/labs.sh+++ b/labs.sh@@ -120,7 +120,7 @@ install_git() {skip "$dst already cloned"returnfi- if git clone --depth=1 "$repo" "/opt/osint-arsenal/$dst" >/dev/null 2>&1; then ok "$dst (git)"; else fail "$dst (git)"; fi+ if GIT_TERMINAL_PROMPT=0 git clone --depth=1 "$repo" "/opt/osint-arsenal/$dst" >/dev/null 2>&1; then ok "$dst (git)"; else fail "$dst (git)"; fi}install_docker() {local image="$1" name="$2"diff --git a/osint.sh b/osint.shindex 1c87bc3..194fcf3 100644--- a/osint.sh+++ b/osint.sh@@ -120,7 +120,7 @@ install_git() {skip "$dst already cloned"returnfi- if git clone --depth=1 "$repo" "/opt/osint-arsenal/$dst" >/dev/null 2>&1; then ok "$dst (git)"; else fail "$dst (git)"; fi+ if GIT_TERMINAL_PROMPT=0 git clone --depth=1 "$repo" "/opt/osint-arsenal/$dst" >/dev/null 2>&1; then ok "$dst (git)"; else fail "$dst (git)"; fi}install_docker() {local image="$1" name="$2"diff --git a/redteam.sh b/redteam.shindex 168794c..5a74104 100644--- a/redteam.sh+++ b/redteam.sh@@ -120,7 +120,7 @@ install_git() {skip "$dst already cloned"returnfi- if git clone --depth=1 "$repo" "/opt/osint-arsenal/$dst" >/dev/null 2>&1; then ok "$dst (git)"; else fail "$dst (git)"; fi+ if GIT_TERMINAL_PROMPT=0 git clone --depth=1 "$repo" "/opt/osint-arsenal/$dst" >/dev/null 2>&1; then ok "$dst (git)"; else fail "$dst (git)"; fi}install_docker() {local image="$1" name="$2"diff --git a/termux.sh b/termux.shindex cbce848..777e051 100644--- a/termux.sh+++ b/termux.sh@@ -63,7 +63,7 @@ install_git() {skip "$dst already cloned"returnfi- if git clone --depth=1 "$repo" "$HOME/osint-arsenal/$dst" >>"$LOGFILE" 2>&1; then ok "$dst (git)"; else fail "$dst (git)"; fi+ if GIT_TERMINAL_PROMPT=0 git clone --depth=1 "$repo" "$HOME/osint-arsenal/$dst" >>"$LOGFILE" 2>&1; then ok "$dst (git)"; else fail "$dst (git)"; fi}say "Updating Termux ecosystem repositories..."