by SUGARCHEW » Thu Aug 13, 2009 10:24 pm
[quote:77ec836212]La "moins facile":Ecrit un script qui te connecte a la page en utilisant des proxy (php, perl et python sont tes amis).[/quote:77ec836212]
Bonjour,
Peut-on utiliser cette méthode pour rodéo2 ? (passer par 200 proxys)
Sinon,
peut-on utiliser un script du type de celui proposé par Korigan sur ce [url=http://forum.hackbbs.org/viewtopic.php?t=300&sid=868432f472ef564ce462089b6b313de5/]topic [/url] ?
Merci pour vos réponses
[color=red:77ec836212]Edit :[/color:77ec836212]
Mon idée est d'utiliser un script PHP utilisant cURL de façon à accéder à la page en utilisant tout les proxy d'une liste.
Problème : impossible de passer par un proxy avec cURL. Voici mon code :
[code:1:77ec836212]<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'www.google.fr');
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 1);
curl_setopt($ch, CURLOPT_PROXY, '123proxieslist.info:80');
$data = curl_exec($ch);
curl_close($ch);
?>[/code:1:77ec836212]
Autre code testé :
[code:1:77ec836212]$ch = curl_init('www.google.fr');
curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 1);
curl_setopt($ch, CURLOPT_PROXY, '203.89.25.133:80');
$ch2 = curl_exec($ch);
curl_close($ch);[/code:1:77ec836212]
Ces deux codes renvoient une page blanche.