pas besoin d'afficher a chaque fois l'intégralité des mots de passe dans les logs (qui sont plus ou moins public par ailleurs)
This commit is contained in:
parent
213b62712a
commit
7b1a4cae2c
18
V6.py
18
V6.py
@ -831,14 +831,15 @@ def very_custom_start(json):
|
|||||||
cred = g._cred[i]
|
cred = g._cred[i]
|
||||||
g._mail = cred[0]
|
g._mail = cred[0]
|
||||||
g._password = cred[1]
|
g._password = cred[1]
|
||||||
print(cred, g._mail)
|
|
||||||
start = False
|
start = False
|
||||||
for j in ["unban", "tout", "pc", "mobile", "log_points"]:
|
for j in ["unban", "tout", "pc", "mobile", "log_points"]:
|
||||||
try :
|
try :
|
||||||
if str(i) in json[j]:
|
if str(i) in json[j]:
|
||||||
start = True
|
start = True
|
||||||
|
print(f"{g._mail} : {j}")
|
||||||
except KeyError :
|
except KeyError :
|
||||||
print(f"none is set to \"{j}\"")
|
pass
|
||||||
|
#print(f"none is set to \"{j}\"")
|
||||||
if start:
|
if start:
|
||||||
driver = firefox_driver()
|
driver = firefox_driver()
|
||||||
try :
|
try :
|
||||||
@ -847,7 +848,6 @@ def very_custom_start(json):
|
|||||||
print("\nGO TO exmaple.com TO PROCEED or wait 600 secs.")
|
print("\nGO TO exmaple.com TO PROCEED or wait 600 secs.")
|
||||||
for _ in range(600):
|
for _ in range(600):
|
||||||
sleep(1)
|
sleep(1)
|
||||||
print(driver.current_url)
|
|
||||||
if driver.current_url == "https://example.com/":
|
if driver.current_url == "https://example.com/":
|
||||||
print("proceeding")
|
print("proceeding")
|
||||||
break
|
break
|
||||||
@ -859,7 +859,8 @@ def very_custom_start(json):
|
|||||||
if str(i) in json["tout"]:
|
if str(i) in json["tout"]:
|
||||||
daily_routine(True)
|
daily_routine(True)
|
||||||
except KeyError :
|
except KeyError :
|
||||||
print("none is set to \"tout\"")
|
pass
|
||||||
|
#print("none is set to \"tout\"")
|
||||||
else :
|
else :
|
||||||
try :
|
try :
|
||||||
if str(i) in json["daily"]:
|
if str(i) in json["daily"]:
|
||||||
@ -868,7 +869,8 @@ def very_custom_start(json):
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
log_error(e)
|
log_error(e)
|
||||||
except KeyError :
|
except KeyError :
|
||||||
print("none is set to \"daily\"")
|
pass
|
||||||
|
#print("none is set to \"daily\"")
|
||||||
try :
|
try :
|
||||||
if str(i) in json["pc"]:
|
if str(i) in json["pc"]:
|
||||||
try:
|
try:
|
||||||
@ -876,7 +878,8 @@ def very_custom_start(json):
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
log_error(e)
|
log_error(e)
|
||||||
except KeyError :
|
except KeyError :
|
||||||
print("none is set to \"pc\"")
|
pass
|
||||||
|
#print("none is set to \"pc\"")
|
||||||
try :
|
try :
|
||||||
if str(i) in json["mobile"]:
|
if str(i) in json["mobile"]:
|
||||||
try:
|
try:
|
||||||
@ -884,7 +887,8 @@ def very_custom_start(json):
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
log_error(e)
|
log_error(e)
|
||||||
except KeyError :
|
except KeyError :
|
||||||
print("none is set to \"mobile\"")
|
pass
|
||||||
|
#print("none is set to \"mobile\"")
|
||||||
try:
|
try:
|
||||||
log_points(g._mail)
|
log_points(g._mail)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user