Somebody is trying to phish me, they are pretending to be one of my close friends to humiliate both of us. This person has created a fake email account, impersonating the person, and trying to get personal info out of me. I made sure with my friend that it wasn't actually him, now we're trying to figure out who it is.
I want to send them a link to some kind of PHP or JS page, to collect at least a little info about their client (browser, operating system, maybe ISP location?), and then forward them to an actual website (like a youtube video or something).
Having very basic knowledge of PHP, I'd really appreciate any kind of script that would allow me to gather some basic info.
Thank you!
You can get some information like IP and User Agent and write it to a file.
The results will be in a file called Output.txt. From here you can have it re