Jump to content

Howto: Show The Phishing Logs In The Logs Page


Hackzilla
 Share

Recommended Posts

hi all, here you have how you can display the log in page phishing "logs" in our pineapple:

1) Enter the logs.php file located in / www / pineapple / pages

2) At the end of the file before the last </ div> enter the following lines of code:


<br />
<div class=contentTitle id=syslog>Phishing Logs (<a href="#syslog" onclick="javascript:location.reload(true)">refresh</a>)</div>
<div class=contentContent>
<?php
$file= fopen("../bitches.txt", "r");
while(!feof($file)){
$show=fgets ($file, 100);
echo $show."</br>";
}
fclose($file);

?>
</div>
[/CODE]

3) I use the file "bitches.txt" that is in the darren example but you can use any log file just changing "bitches.txt" for the name of your file

Let me know if you have any questions!

Edited by Hackzilla
Link to comment
Share on other sites

Quick correction to keep it consistent:


<br />
<div class=contentTitle id=phish>Phishing Logs (<a href="#phish" onclick="javascript:location.reload(true)">refresh</a>)</div>
<div class=contentContent>
<?php
$file= fopen("../bitches.txt", "r");
while(!feof($file)){
$show=fgets ($file, 100);
echo $show."</br>";
}
fclose($file);
?>
</div>
[/CODE]

Edit:

I guess this should be added to the firmware.

Link to comment
Share on other sites

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...