Email / PASS registration

This commit is contained in:
fred 2023-09-02 23:11:41 +02:00
parent 0a6c811c4c
commit 8914fde3eb
2 changed files with 8 additions and 3 deletions

View File

@ -178,6 +178,11 @@ else
) &
fi
### CREATE A G1VISA FOR PLAYER
${MY_PATH}/../tools/VISA.new.sh "${EMAIL}" "${PASS}" "${EMAIL}" "UPlanet" "ADD YOUTUBE VIDEO CHANNEL URL" >> ~/.zen/tmp/email.${EMAIL}.${MOATS}.txt
## SEND EMAIL
${MY_PATH}/../tools/mailjet.sh "${EMAIL}" ~/.zen/tmp/email.${EMAIL}.${MOATS}.txt ## Send VISA.new log to EMAIL
## HTTP nc ON PORT RESPONSE
echo "$HTTPCORS
<html>
@ -192,11 +197,11 @@ echo "$HTTPCORS
<br> Download files containing in their name
<br> Use G1Station and compatible G1Card QRCode scanner to operate...
<br>
$(cat ~/.zen/tmp/email.${EMAIL}.${MOATS}.txt)
<br><br>${EMAIL} REGISTERED : ${MOATS} : $(date)
</body></html>" > ~/.zen/tmp/${MOATS}/http.rep
cat ~/.zen/tmp/${MOATS}/http.rep | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &
end=`date +%s`
echo "(TW) MOA Operation time was "`expr $end - $start` seconds.
exit 0

View File

@ -78,7 +78,7 @@ header {
<h3><a target="info" title="CHECK BY YOURSELF" href="http://127.0.0.1:12345"> >>> (◕‿‿◕) <<< </a></h3>
<input name='pepper' value='0.00'>
</div>
<span>PASS : </span><input type=password name='PASS' size=6 value=''></br></br>
<span>PASS : </span><input name='g1pub' size=6 value=''></br></br>
<input type='submit' value='[(♥‿‿♥)]'>
</form>
@ -117,7 +117,7 @@ document.addEventListener('DOMContentLoaded', function() {
const latElement = document.querySelector('input[name="salt"]');
const lonElement = document.querySelector('input[name="pepper"]');
const uplanetElement = document.querySelector('input[name="uplanet"]');
const passElement = document.querySelector('input[name="PASS"]');
const passElement = document.querySelector('input[name="g1pub"]');
// Generate a random 6-digit number and set it as the default value for "PASS"
if (passElement) {