aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-05-17 15:34:43 +0300
committerheqnx <root@heqnx.com>2025-05-17 15:34:43 +0300
commit50cf77b907c02527b2321701ed745774e45f807e (patch)
tree6386a8071cb09d9ad86481aea16c54a0ed3fdc81
parent3fa65111a3862358f0f9f9191972d2a8c259dbff (diff)
downloadSharpRIDHijack-50cf77b907c02527b2321701ed745774e45f807e.tar.gz
SharpRIDHijack-50cf77b907c02527b2321701ed745774e45f807e.zip
added check for dockerHEADmain
-rwxr-xr-xbuild.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 2acaf16..2f12d09 100755
--- a/build.sh
+++ b/build.sh
@@ -1,6 +1,11 @@
#!/bin/bash
set -e
+if ! command -v docker; then
+ printf "%s\n" "[err] docker not found"
+ exit 1
+fi
+
repo_name=$( basename -s .git $(git remote get-url origin) )
docker run --rm -it -v $(pwd):/app -w /app mono:latest bash -c '