Last active
April 27, 2024 05:49
-
-
Save senthilmpro/56eae598a7fd4defab807e07fb6f987c to your computer and use it in GitHub Desktop.
arch1ve account create - except captcha verification
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async function createAccount(){ | |
var USER_PREFIX = 'USER_PREFIX'; // change here. | |
var USER_PASS = 'USER_PASSWORD'; // change-here | |
var TIMER_DELAY = 300; | |
// password | |
await delay(TIMER_DELAY); | |
var password = document.getElementById('password1'); | |
password.value = USER_PASS; | |
// confirm-password | |
await delay(TIMER_DELAY); | |
var confirmPassword = document.getElementById('password2'); | |
confirmPassword.value = USER_PASS; | |
// username | |
await delay(TIMER_DELAY); | |
var randomGuid = guid(); | |
var randomUserName = USER_PREFIX + "+"+ randomGuid + "@gmail.com"; | |
console.log(randomUserName); | |
var emailDiv = document.getElementById('username'); | |
emailDiv.value = randomUserName; | |
// screen-name | |
await delay(TIMER_DELAY); | |
var randomScreenName = USER_PREFIX + randomGuid; | |
console.log(randomScreenName); | |
var screenNameDiv = document.getElementById('screenname'); | |
screenNameDiv.value = randomScreenName; | |
// terms checkbox | |
await delay(TIMER_DELAY); | |
var termsCheckbox = document.getElementById('terms'); | |
termsCheckbox.click(); | |
} | |
async function delay(duration){ | |
console.log("DELAY >> "+ (duration/1000) + " Seconds"); | |
return new Promise(resolve => setTimeout(resolve, duration)); | |
} | |
function guid(){ | |
function s4() { | |
return Math.floor((1 + Math.random()) * 0x10000) | |
.toString(16) | |
.substring(1); | |
} | |
return s4() + s4() + s4(); | |
} | |
createAccount(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment