DEV Community

DERFI
DERFI

Posted on

More Realistic Fake Data and Sock Puppets in PHP

I'm lately more interested in doing OSInt and attending currently in a Udemy course about it. I learned that fake accounts in OSInt are called sock puppets and wondered if there is a simple ways to generate fake data for such accounts.

A sock puppet account is more or less a throw-away-account created just to access the data in a platform or forum and it is never related with real data of yourself.

FakerPHP is a library for creating fake test data for application testing in PHP. With some changes you can also use it for creating (more) realistic looking sock puppet data for your next OSInt investigation.

There is a problem with the "normal" FakerPHP data. It is not depending on each other. If you generate a firstname and surname, an email address and a username, it all have different names in it. So there is a little work necessary to make the data consistent.

I also did addresses existing in real and real looking phone numbers with the help of the Nominatim OpenStreetMap API and public available data about phone carrier from Wikipedia.

You can find the source code and everything explained in more detail on the https://util.host/blog. All the generated fake data is available in this free online utility.

Top comments (0)