Hello there.

I have a website and I think it has been hacked this morning, using some sort of cross scripting. When I go on my site, reload a page or click a link, it opens a pop-up and shows ads. What to do? and how do i prevent this from happening?

Recommended Answers

All 2 Replies

Right, I have looked at my sourced code and realised that an iframe was placed in one of my header files i.e include "header.php"; But my question is how do you prevent that from happening again? Was it an injection? How did they do it?

You haven't really provided enough information to get started. Are you using Wordpress? Joomla? Custom Code? What version, etc...

Sorry for this answer, but my crystal ball is in the shop. ;)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.