diff --git a/.gitignore b/.gitignore index da3dde4..2830e6f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ access_granted +access_denied config diff --git a/executor.sh b/executor.sh index e3c631e..0276b8b 100755 --- a/executor.sh +++ b/executor.sh @@ -23,6 +23,10 @@ die(){ } mkdir -p -m 700 access_granted +mkdir -p -m 700 access_denied + +if [ -f access_denied/"$remote_ip" ]; then exit 0; fi + generator_session=$(zcat -f $system_dict | shuf -n 2 | tr -d "\n'") randpadding=$(head -c 8 /dev/urandom | base64) printf "$randpadding\t$generator_session\n"