Updated Gmail Address Generator

This commit is contained in:
Narstybits
2023-06-03 16:09:46 -05:00
parent 878ec1a895
commit c1cc6d3222
+9 -18
View File
@@ -1,32 +1,23 @@
REM Generates a random gmailk using fakename API
REM checks for availability using google.com verify
REM This script generates a random Gmail address and checks its availability.
REM It displays the generated email and whether it's available or not.
REM While this method can provide a reasonable indication of email availability, it's not guaranteed to be 100% accurate.
REM Author: Narsty
REM Title: Gmail Address Generator
REM Category: GOODUSB
REM Version: 1.0
REM Version: 2.0
ID 05ac:021e Apple:Keyboard
DELAY 1000
DELAY 500
GUI SPACE
DELAY 500
STRING Terminal
DELAY 500
DELAY 1000
ENTER
DELAY 1000
STRING EMAIL=$(curl -s https://api.namefake.com/random/gmail | awk -F '"' '/username/ {print $4}' | tr ' ' '.')
ENTER
DELAY 2000
STRING clear
ENTER
STRING EMAIL=$(cat /dev/urandom | LC_ALL=C tr -dc 'a-zA-Z0-9' | fold -w 10 | head -n 1)@gmail.com; clear; echo "Generated email: $EMAIL"; echo "Checking email availability..."; RESPONSE=$(curl -s "https://mail.google.com/verify?email=$EMAIL"); if [[ $RESPONSE == *"The email address you entered is not available."* ]]; then echo "Email is not available"; else echo "Email is available"; fi
DELAY 1000
STRING echo "Generated email: $EMAIL@gmail.com"
ENTER
DELAY 1000
STRING echo "Checking email availability..."
ENTER
DELAY 1000
STRING curl -s -I "https://mail.google.com/verify?email=$EMAIL@gmail.com"
ENTER
ENTER