add simple dumb blocks

This commit is contained in:
localhost_frssoft 2023-07-24 01:08:09 +03:00
parent 6bd3f033b5
commit fad4fbc7f9
2 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
access_granted
access_denied
config

View File

@ -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"