Shady?
2014-10-18 02:10:42
Hi guys! I'm trying to log into facebook using simba. It seems like I'm able to do the POST and GET requests and read the headers just right, but I can't get any response out of those requests:
(disregard the login part and just focus on getting a response out of this GET request):
I dont know why it won't output anything. Getting other sites is fine. My guess is that this has something to do with X-Frame-Options: DENY but I have no idea why, lol.
Thanks in advance for any help!
(Also, I think you need OpenSSL to use https and simba? that's not my problem since I can get other https pages)
(disregard the login part and just focus on getting a response out of this GET request):
program new;
var
c:integer;
begin
c:= InitializeHTTPClient( true );
SetHTTPUserAgent( c, 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.160 Safari/537.22' );
writeln(gethttppage(c,'https://m.facebook.com/'));
writeln(Getrawheaders(c));
end. I dont know why it won't output anything. Getting other sites is fine. My guess is that this has something to do with X-Frame-Options: DENY but I have no idea why, lol.
Thanks in advance for any help!
(Also, I think you need OpenSSL to use https and simba? that's not my problem since I can get other https pages)