UPlanet :: G1Visa & G1Card distribution

This commit is contained in:
fred 2023-09-02 02:44:50 +02:00
parent 1b61a767c4
commit 8c223a140f
2 changed files with 4 additions and 3 deletions

View File

@ -50,7 +50,7 @@ PLAYER=${THAT}
[[ ${SALT} == "0" ]] && SALT="0.00"
input_number=${SALT}
if [[ ! $input_number =~ ^[0-9]{1,3}\.[0-9]*$ ]]; then
if [[ ! $input_number =~ ^-?[0-9]{1,3}(\.[0-9]{1,2})?$ ]]; then
(echo "$HTTPCORS ERROR - BAD LAT $LAT" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && echo "(☓‿‿☓) Execution time was "`expr $(date +%s) - $start` seconds. && exit 0
else
LAT=${input_number}
@ -60,7 +60,7 @@ fi
[[ ${PEPPER} == "0" ]] && PEPPER="0.00"
input_number=${PEPPER}
if [[ ! $input_number =~ ^[0-9]{1,3}\.[0-9]*$ ]]; then
if [[ ! $input_number =~ ^-?[0-9]{1,3}(\.[0-9]{1,2})?$ ]]; then
(echo "$HTTPCORS ERROR - BAD LON $LON" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && echo "(☓‿‿☓) Execution time was "`expr $(date +%s) - $start` seconds. && exit 0
else
LON=${input_number}
@ -122,7 +122,7 @@ chromium --headless --disable-gpu --screenshot=/tmp/Umap_${SALT}_${PEPPER}.jpg -
## COPYING FILES FROM ABROAD
cp /tmp/Umap_${SALT}_${PEPPER}.jpg ~/.zen/tmp/${MOATS}/
cp ~/.zen/tmp/${PASS}##/G1*.jpg ~/.zen/tmp/${MOATS}/
cp ~/.zen/tmp/${PASS}##/${PASS}.jpg ~/.zen/tmp/${MOATS}/
cp -f ~/.zen/tmp/${PASS}##/${PASS}.jpg ~/.zen/tmp/${MOATS}/G1Card.${PASS}.jpg
ls ~/.zen/tmp/${MOATS}/
## ADD TO FRIENDS

View File

@ -84,6 +84,7 @@ header {
<br>
<span>Astroport <a href="https://pad.p2p.legal/s/Astroport.ONE">Ŋ1</a> - Crypto Commons Defender -</span>
<h2>
Click on "yellow face" (wait 1 or 2 minutes if you enter your email)
<p id="station"><div id='countdown'></div></span></p>
</h2>
</main>