mirror of
https://git.phreedom.club/localhost_frssoft/bbs-telnet
synced 2024-11-23 19:39:20 +02:00
add simple dumb blocks
This commit is contained in:
parent
6bd3f033b5
commit
fad4fbc7f9
|
@ -1,2 +1,3 @@
|
||||||
access_granted
|
access_granted
|
||||||
|
access_denied
|
||||||
config
|
config
|
||||||
|
|
|
@ -23,6 +23,10 @@ die(){
|
||||||
}
|
}
|
||||||
|
|
||||||
mkdir -p -m 700 access_granted
|
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'")
|
generator_session=$(zcat -f $system_dict | shuf -n 2 | tr -d "\n'")
|
||||||
randpadding=$(head -c 8 /dev/urandom | base64)
|
randpadding=$(head -c 8 /dev/urandom | base64)
|
||||||
printf "$randpadding\t$generator_session\n"
|
printf "$randpadding\t$generator_session\n"
|
||||||
|
|
Loading…
Reference in New Issue