om.randint(1000,11000))
resp, data = cnx.request(url, headers = h)

# Si notre login est dans la page, la cnx a fonctionne
if data.find(&quot;HACKER&quot;) &gt; 1:
    print &quot;Logged in :)&quot;
else:
    print &quot;Login error&quot;
    sys.exit()


form_url = &quot;http://www.super.com/php/dispatch.php?PHPSESSID=&quot; + PHPSESSID
form_url += &quot;&amp;service=jeu&amp;alea=&quot; + str(random.randint(1000,11000))
h[&quot;Content-type&quot;] = &quot;application/x-www-form-urlencoded&quot;
resp, data 