Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 715 Vote(s) - 3.49 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating a php file to fingerprint a user

#1
Hi,

I'm trying to use php to track visitors devices. The idea here is when a user visit the site the php script will try to reverse contact the ip and retrieve any information (example: html, warning messages or whatever the user has on port 80.

I got the almost all done with the code but i just need some help with file_get_contents since it's not retrieving anything even if i point to a file location that exists.

PHP Code:
...
$section file_get_contents('$user_ip');
$ourFileName "$user_ip";
$ourFileHandle fopen($ourFileName'w') or die("can't open file");
fwrite($ourFileHandle$section);
fclose($ourFileHandle);
?>

Thanks
Reply

#2
Using a snip code that was given by a member here in the forum. It's working :smile:
but i still have a problem with

fwrite($ourFileHandle, '$ch');
Warning: fwrite() expects parameter 2 to be string, resource given in...

PHP Code:
$ch curl_init();
curl_setopt($chCURLOPT_URL,"http://$user_ip:80");
$server_output curl_exec ($ch);
curl_close ($ch);

$ourFileName "$user_ip";
$ourFileHandle fopen($ourFileName'w') or die("can't open file");
fwrite($ourFileHandle'$ch');
fclose($ourFileHandle);
?>
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through