def generate_info():
# Print message
msg(1,'Generating credentials...')
# First and last name
_first_name_=randomize('-l',7)
pyautogui.typewrite(_first_name_)
pyautogui.typewrite('\t')
_last_name_=randomize('-l',8)
pyautogui.typewrite(_last_name_)
pyautogui.typewrite('\t')
msg(2,'\x1b[0;33;40mName:\x1b[0m %s %s' % (_first_name_,_last_name_))
# Username
_username_=randomize('-l',10)
pyautogui.typewrite(_username_)
pyautogui.typewrite('\t')
msg(2,'\x1b[0;33;40mUsername:\x1b[0m %s' % _username_)
# Password
_password_=randomize('-p',16)
pyautogui.typewrite(_password_+'\t'+_password_+'\t')
msg(2,'\x1b[0;33;40mPassword:\x1b[0m %s' % _password_)
# Date of birth
_month_=randomize('-m',1)
_day_=randomize('-d',1)
_year_=randomize('-y',1)
pyautogui.typewrite(_month_+'\t'+str(_day_)+'\t'+str(_year_)+'\t')
msg(2,'\x1b[0;33;40mDate of birth:\x1b[0m %s/%d/%d' % (_month_,_day_,_year_))
# Gender (set to 'Rather not say')
pyautogui.typewrite('R\t')
msg(2,'\x1b[0;33;40mGender:\x1b[0m Rather not say')
# Skip the rest
pyautogui.typewrite('\t\t\t\t\n')
# Main function
评论列表
文章目录