Jump to content

need a keylogger for my website


spleblem

Recommended Posts

hey guys

is there a keylogger sort of script

that i can put on my website and see everything typed in and searched for.

i would like more for security reasons. and to find out what is most commonly searched for.

 

if these is such a php or other type of script which can do this

would you be able to tell me.

 

thanks in advance.

 

Link to comment
Share on other sites

I'm accually kind of new at php but form what I understand:

 

You can probably use $_GET in whatever php script your search form is taking to open up a .txt file using fopen() and fwrite(). You can "append" the file so that every time somoene uses your search form, it can add whatever they typed in to the .txt file. Then you could easily check it whenever you wanted.

(basic idea: create .txt file, write script using the search form to "edit/write" on a .txt every time "search" is clicked)

 

Anyoen else that knows more about what they're doing have any input? Anything I missed or was wrong about?

 

 

also, Check out this page for a php tutorial on file manipulation.

http://www.tizag.com/phpT/filewrite.php

Link to comment
Share on other sites

thanks thats a great

idea but theres other places on my site where stuff get's typed

like chat rooms and forums.

 

going into more detail

i would like it to save what they type in one big txt file and have there ip address

so everytime they come on to my site theres is a new section added to the txt file with there ip and everything they type

 

Alright well i know there might not be something like this

but anything close would be cool

 

like what snowman said

but for more of the site.

 

maybe i need a session or something

anyideas

 

thanks

 

 

 

 

 

 

 

Link to comment
Share on other sites

There are many factors you must think about here and how they could possibly not interact with eachother at all.

1. for all of the chat rooms/ many different things people type in: are they compatible with php? Or is it some flash or javascript chatroom that isnt very easily used in php scripts?

 

 

any chance you could share the website?

 

Link to comment
Share on other sites

1. make a PHP page like this:

 

<?
$info = "$text\n";
$handle = fopen("./record.txt", "a+");
fwrite($handle, $info);
fclose($handle);
?>

 

I'm calling it record_text.php.

 

Now you can use javascript's onsubmit function to refresh a frame or iframe every time a user submits a text in the chat room.

Link to comment
Share on other sites

  • 2 weeks later...

alright i don't know if this keylogger will be posaible

so ill limit what i want to it do.

 

i want to to be a heylogger on my web proxy(php script used to get passed blocked websites).

 

i would like to see what people are using my proxy for.

 

like if they use it to google i would like to know what there searching

 

and if they use it for forums i would like to see what there posting.

 

 

if anyone has any ideas i would be greatfull

 

thanks in advanced

 

 

Link to comment
Share on other sites

The Apache log (assuming you are using apache) will tell you what IP loaded what URL, as well as GET request information. You can't see what they posted on forums, but you can see what threads they are visiting and such.

 

To collect POST information, you would have to modify the software. Like if($_POST) then dump the post array and IP to a text file.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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.

×
×
  • 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.