Why can't I connect with a non-browser app to this url?
Does anyone know why this url is rejecting connection requests sent by a non-browser app (wget, curl, elinks!): Http://sube.garanti.com.tr
https://sube.garanti.com.tr/isube/login/en
This is my bank account and I am trying to do my transfers with a script, but as you can see these super secure servers don't let me.
Any suggestions?
Azer
a source to share
Well I tried this:
wget http://sube.garanti.com.tr
waiting time.
but doing this:
wget https://sube.garanti.com.tr/isube/login/en
gave me the source on the site. This is the frame base and I am getting the frame definitions.
The reason for this is probably because the site is not accessible via a regular (http) connection, you must use a secure (https) connection.
However, generally, I would try to set the User-Agent: header for any such application, as pjc50 pointed out.
a source to share
Try the following:
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"
This can trick the site into thinking you have a "legitimate" browser
a source to share