Pregunta

Cualquier persona sabe por qué esta url rechaza peticiones de conexión que se envían por una aplicación sin navegador (wget, curl, Resultados de enlaces!): http://sube.garanti.com.tr

https://sube.garanti.com.tr/isube/login/en

Es mi cuenta bancaria y estoy tratando de hacer mis transferencias con un guión, pero como ves esta súper servidores garantizados no me lo permitan.

¿Alguna sugerencia?

Azer

¿Fue útil?

Solución

Bueno, he intentado hacer esto:

wget http://sube.garanti.com.tr

que timed-out.

pero hacer esto:

wget https://sube.garanti.com.tr/isube/login/en

me dio la fuente del sitio web. Es base de marcos y yo estoy poniendo las definiciones marcos.

La razón de ello es, probablemente, que el sitio es inaccesible a través de conexión normal (http), usted tiene que utilizar una segura (https).

Sin embargo, como regla general, que iba a tratar de establecer User-Agent: cabecera para cualquier aplicación, como señaló pjc50

.

Otros consejos

Prueba esto:

wget --referer="http://www.google.com" --user-agent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6" --header="Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5" --header="Accept-Language: en-us,en;q=0.5" --header="Accept-Encoding: gzip,deflate" --header="Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7" --header="Keep-Alive: 300"

Esto puede engañar el sitio para que piense que tiene un navegador "legítimo"

Maybe it's because you need to login before doing anything at this url?

You can login into sites by using perl's LWP, for example, by submitting login forms properly.

P.S. I can't connect to sube.garanti.com.tr with my browser either.

AFAIK wgte, curl opens the site in the server side. So check for your firwall (if any) and see if it is blocked.

Also the site can also be blocking incoming requests. Its a banking site and we can expect some security restrictions.

Some websites check the User-Agent: header. You might have to configure your downloader to identify itself as "Mozilla" rather than itself.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top