本页主题: [问题]急急急,被人非法侵入了,我的站点空间主目录下被装了一个aspnet_client文件夹 打印 | 加为IE收藏 | 复制链接 | 收藏主题 | 上一主题 | 下一主题

冲云霄
级别: 圣骑士


精华: 0
发帖: 208
威望: 58 点
金钱: 474 静电币
支持度: 0 点
在线时间:26(小时)
注册时间:2003-03-11
最后登录:2014-12-24

 [问题]急急急,被人非法侵入了,我的站点空间主目录下被装了一个aspnet_client文件夹

造成我无法登陆!!这到底是什么东西?谁干的???怎么查出来?


主文件夹名称:aspnet_client\

下一级文件夹是system_web

再下一级是1_0_3705_288

最后里面是三个.js文件

名称和内容如下:

SmartNav.js内容:

<!------------------------------------------------------------------------
//
// Copyright 2000 Microsoft Corporation. All Rights Reserved.
//
// File: SmartNav.js
//
// Description: this file implements a smart navigation mecanism
//
//----------------------------------------------------------------------->

if (window.__smartNav == null)
{
window.__smartNav = new Object();

window.__smartNav.update = function()
{
var sn = window.__smartNav;
var fd;
document.detachEvent("onstop", sn.stopHif);
sn.inPost = false;
try { fd = frames["__hifSmartNav"].document; } catch (e) {return;}
var fdr = fd.getElementsByTagName("asp_smartnav_rdir");
if (fdr.length > 0)
{
if (sn.sHif == null)
{
sn.sHif = document.createElement("IFRAME");
sn.sHif.name = "__hifSmartNav";
sn.sHif.style.display = "none";
}
try {window.location = fdr[0].url;} catch (e) {};
return;
}
var fdurl = fd.location.href;
if (fdurl.indexOf("IEsmartnav1") == fdurl.length-11 || fdurl == "about :blank")
return;
var fdurlb = fdurl.split("?")[0];
if (document.location.href.indexOf(fdurlb) < 0)
{
document.location.href=fdurl;
return;
}
if (sn.sHif != null)
{
sn.sHif.removeNode(true);
sn.sHif = null;
}
var fd = frames["__hifSmartNav"].document;
var hdm = document.getElementsByTagName("head")[0];
var hk = hdm.childNodes;
var tt = null;
for (var i = hk.length - 1; i>= 0; i--)
{
if (hk.tagName == "TITLE")
{
tt = hk.outerHTML;
continue;
}
if (hk.tagName != "BASEFONT" || hk.innerHTML.length == 0)
hdm.removeChild(hdm.childNodes);
}
var kids = fd.getElementsByTagName("head")[0].childNodes;
for (var i = 0; i < kids.length; i++)
{
var tn = kids.tagName;
var k = document.createElement(tn);
k.id = kids.id;
k.mergeAttributes(kids);
switch(tn)
{
case "TITLE":
if (tt == kids.outerHTML)
continue;
k.innerText = kids.text;
hdm.insertAdjacentElement("afterbegin", k);
continue;
case "BASEFONT" :
if (kids.innerHTML.length > 0)
continue;
break;
default:
var o = document.createElement("BODY");
o.innerHTML = "<BODY>" + kids.outerHTML + "</BODY>";
k = o.firstChild;
break;
}
hdm.appendChild(k);
}
document.body.clearAttributes();
document.body.id = fd.body.id;
document.body.mergeAttributes(fd.body);
var newBodyLoad = fd.body.onload;
if (newBodyLoad != null)
document.body.onload = newBodyLoad;
var s = "<BODY>" + fd.body.innerHTML + "</BODY>";
if (sn.hif != null)
{
var hifP = sn.hif.parentElement;
if (hifP != null)
sn.sHif=hifP.removeChild(sn.hif);
}
document.body.innerHTML = s;
var sc = document.scripts;
for (var i = 0; i < sc.length; i++)
{
sc.text = sc.text;
}
sn.hif = document.all("__hifSmartNav");
if (sn.hif != null)
{
var hif = sn.hif;
sn.hifName = "__hifSmartNav" + (new Date()).getTime();
frames["__hifSmartNav"].name = sn.hifName;
sn.hifDoc = hif.contentWindow.document;
if (sn.ie5)
hif.parentElement.removeChild(hif);
window.setTimeout(sn.restoreFocus,0);
}
if (typeof(window.onload) == "string")
{
try { eval(window.onload) } catch (e) {};
}
else if (window.onload != null)
{
try { window.onload() } catch (e) {};
}
sn.attachForm();
};

window.__smartNav.restoreFocus = function()
{
if (window.__smartNav.inPost == true) return;
var curAe = document.activeElement;
var sAeId = window.__smartNav.ae;
if (sAeId==null || curAe!=null && (curAe.id==sAeId||curAe.name==sAeId))
return;
var ae = document.all(sAeId);
if (ae == null) return;
try { ae.focus(); } catch(e){};
}

window.__smartNav.saveHistory = function()
{
if (window.__smartNav.hif != null)
window.__smartNav.hif.removeNode();
if (window.__smartNav.sHif != null)
document.all[window.__smartNav.siHif].insertAdjacentElement(
"BeforeBegin", window.__smartNav.sHif);
}

window.__smartNav.stopHif = function()
{
document.detachEvent("onstop", window.__smartNav.stopHif);
var sn = window.__smartNav;
if (sn.hif != null)
sn.hifDoc = sn.hif.contentWindow.document;
if (sn.hifDoc != null)
sn.hifDoc.execCommand("stop");
}

window.__smartNav.init = function()
{
var sn = window.__smartNav;
document.detachEvent("onstop", sn.stopHif);
document.attachEvent("onstop", sn.stopHif);
if (sn.form.__InitDone == true) return;
sn.form.__InitDone = true;
try { if (window.event.returnValue == false) return;} catch(e) {}
sn.inPost = true;
if (document.activeElement != null)
{
var ae = document.activeElement.id;
if (ae.length == 0)
ae = document.activeElement.name;
sn.ae = ae;
}
else
sn.ae = null;
try {document.selection.empty();} catch (e) {}

if (sn.hif == null)
{
sn.hif = document.all("__hifSmartNav");
sn.hifDoc = sn.hif.contentWindow.document;
}
if (sn.hifDoc != null)
sn.hifDoc.designMode = "On";
if (sn.hif.parentElement == null)
document.body.appendChild(sn.hif);

var hif = sn.hif;
hif.detachEvent("onload", sn.update);
hif.attachEvent("onload", sn.update);
};

window.__smartNav.submit = function()
{
window.__smartNav.init();
window.__smartNav.form._submit();
};

window.__smartNav.attachForm = function()
{
var cf = document.forms;
for (var i=0; i<cf.length; i++)
{
if (cf.__smartNavEnabled != null)
{
window.__smartNav.form = cf;
break;
}
}

var snfm = window.__smartNav.form;
if (snfm == null) return false;

var sft = snfm.target;
if (sft.length != 0 && sft.indexOf("__hifSmartNav") != 0) return false;

var sfc = snfm.action.split("?")[0];
var url = window.location.href.split("?")[0];
if (url.lastIndexOf(sfc) + sfc.length != url.length) return false;
if (snfm.__formAttached == true) return true;

snfm.__formAttached = true;
snfm.attachEvent("onsubmit", window.__smartNav.init);
snfm._submit = snfm.submit;
snfm.submit = window.__smartNav.submit;
snfm.target = window.__smartNav.hifName;
return true;
};

window.__smartNav.hifName = "__hifSmartNav" + (new Date()).getTime();
window.__smartNav.ie5 = navigator.appVersion.indexOf("MSIE 5") > 0;
var rc = window.__smartNav.attachForm();
var hif = document.all("__hifSmartNav");
if (rc)
{
var fsn = frames["__hifSmartNav"];
fsn.name = window.__smartNav.hifName;
window.__smartNav.siHif = hif.sourceIndex;
try
{
if (fsn.document.location != "IEsmartnav1")
{
fsn.document.designMode = "On";
hif.attachEvent("onload",window.__smartNav.update);
window.__smartNav.hif = hif;
}
}
catch (e) { window.__smartNav.hif = hif; }
window.attachEvent("onbeforeunload", window.__smartNav.saveHistory);
}
else
window.__smartNav = null;
}





第二个文件SmartNavIE5.js内容是:

<!------------------------------------------------------------------------
//
// Copyright 2000 Microsoft Corporation. All Rights Reserved.
//
// File: SmartNavie5.js
//
// Description: this file implements a smart navigation mecanism for IE5.0
//
//----------------------------------------------------------------------->

if (window.__smartNav == null && (window.parent.__smartNav == null
|| window.parent.frames["__hifSmartNav"] != window))
{
var sn = new Object();
window.__smartNav = sn;
sn.hif = document.all("__hifSmartNav");
sn.siHif = sn.hif.sourceIndex;
sn.update = function()
{
var sn = window.__smartNav;
if (sn.xmli.XMLDocument.readyState < 4 || sn.updated == true)
return;
sn.updated = true;
try { fd = frames["__hifSmartNav"].document; } catch (e) {return;}
var fdr = fd.getElementsByTagName("asp_smartnav_rdir");
if (fdr.length > 0)
{
if (sn.sHif == null)
{
sn.sHif = document.createElement("IFRAME");
sn.sHif.name = "__hifSmartNav";
sn.sHif.style.display = "none";
}
try {window.location = fdr[0].url;} catch (e) {};
return;
}

var fdurl = fd.location.href;
if (fdurl == "IEsmartnav1")
return;
var fdurlb = fdurl.split("?")[0];
if (document.location.href.indexOf(fdurlb) < 0)
{
document.location.href=fdurl;
return;
}

var hdm = document.getElementsByTagName("head")[0];
var hk = hdm.childNodes;
for (var i = hk.length - 1; i>= 0; i--)
{
if (hk.tagName != "BASEFONT" || hk.innerHTML.length == 0)
hdm.removeChild(hdm.childNodes);
}
var kids = fd.getElementsByTagName("head")[0].childNodes;
for (var i = 0; i < kids.length; i++)
{
var tn = kids.tagName;
var k = document.createElement(tn);
k.id = kids.id;
switch(tn)
{
case "TITLE":
k.innerText = kids.text;
hdm.insertAdjacentElement("afterbegin", k);
continue;
case "BASEFONT" :
if (kids.innerHTML.length > 0)
continue;
k.mergeAttributes(kids);
break;
default:
var o = document.createElement("BODY");
o.innerHTML = "<BODY>" + kids.outerHTML + "</BODY>";
k = o.firstChild;
k.mergeAttributes(kids);
break;
}
hdm.appendChild(k);
}

var colSelect = document.body.getElementsByTagName("SELECT");
for (var i = 0; i < colSelect.length; i ++)
colSelect.removeNode(true);

var obody = document.body;
sn.sHif = sn.hif;
obody.insertAdjacentElement("beforeBegin", sn.hif);
obody.innerHTML = fd.body.innerHTML;
obody.clearAttributes();
obody.id = fd.body.id;
obody.mergeAttributes(fd.body);
window.setTimeout(sn.restoreFocus, 0);
sn.attachForm();
};

window.__smartNav.restoreFocus = function()
{
var curAe = document.activeElement;
var sAeId = window.__smartNav.ae;
if (sAeId==null || curAe!=null && (curAe.id==sAeId||curAe.name==sAeId))
return;
var ae = document.all(sAeId);
if (ae == null) return;
try { ae.focus(); } catch(e){};
}

window.__smartNav.saveHistory = function()
{
if (window.__smartNav.sHif != null)
{
if (window.__smartNav.hif != null)
window.__smartNav.hif.parentElement.removeChild(window.__smartNav.hif);
document.all[window.__smartNav.siHif].insertAdjacentElement(
"beforeBegin", window.__smartNav.sHif);
}
}

window.__smartNav.init = function()
{
try { if (window.event.returnValue == false) return;} catch(e) {}
var sn = window.__smartNav;
if (document.activeElement != null)
{
var ae = document.activeElement.id;
if (ae.length == 0)
ae = document.activeElement.name;
sn.ae = ae;
}
else
sn.ae = null;
if (document.selection.type != "None")
try {document.selection.empty();} catch (e) {}
var hif = sn.sHif;
try { if (hif) hif.parentElement.removeChild(hif);} catch(e){}
sn.hif = document.all["__hifSmartNav"];
if (sn.hif.tagName != "IFRAME")
sn.hif = window.__smartNav.hif[0];
sn.hifName = "__hifSmartNav" + (new Date()).getTime();
frames["__hifSmartNav"].name = sn.hifName;
sn.form.target = sn.hifName;
sn.updated = false;
};

window.__smartNav.submit = function()
{
window.__smartNav.init();
window.__smartNav.form._submit();
};

window.__smartNav.attachForm = function()
{
var cf = document.forms;
var sn = window.__smartNav;
for (var i=0; i<cf.length; i++)
{
if (cf.__smartNavEnabled != null)
{
sn.form = cf;
break;
}
}

if (sn.form == null)
return false;

var sft = sn.form.target;
if (sft.length != 0 && sft != "__hifSmartNav") return false;

var sfc = sn.form.action.split("?")[0];
var url = window.location.href.split("?")[0];
if (url.lastIndexOf(sfc) + sfc.length != url.length) return false;
if (sn.form.__formAttached == true) return true;

sn.form.__formAttached = true;
sn.form.attachEvent("onsubmit", sn.init);
sn.form._submit = sn.form.submit;
sn.form.submit = sn.submit;
return true;
};

sn.sFn = "if (document.readyState != 'complete')"
+ "return;"
+ "var wpd = window.parent.document;"
+ "var xmli = wpd.createElement('XML');"
+ "wpd.body.appendChild(xmli);"
+ "window.parent.__smartNav.xmli = xmli;"
+ "xmli.onreadystatechange=window.parent.__smartNav.update;"
+ "xmli.src = ''";

var rc = sn.attachForm();
if (rc)
window.attachEvent("onbeforeunload", sn.saveHistory);
else
window.__smartNav = null;
}


if (window.parent != window && window.parent.__smartNav != null
&& window.parent.frames["__hifSmartNav"] == window)
{
var f = new Function(window.parent.__smartNav.sFn);
document.attachEvent("onreadystatechange", f);
}



第三个文件WebUIValidation.js内容是:

//<script>
var Page_ValidationVer = "125";
var Page_IsValid = true;
var Page_BlockSubmit = false;

function ValidatorUpdateDisplay(val) {
if (typeof(val.display) == "string") {
if (val.display == "None") {
return;
}
if (val.display == "Dynamic") {
val.style.display = val.isvalid ? "none" : "inline";
return;
}
}
val.style.visibility = val.isvalid ? "hidden" : "visible";
}

function ValidatorUpdateIsValid() {
var i;
for (i = 0; i < Page_Validators.length; i++) {
if (!Page_Validators.isvalid) {
Page_IsValid = false;
return;
}
}
Page_IsValid = true;
}

function ValidatorHookupControlID(controlID, val) {
if (typeof(controlID) != "string") {
return;
}
var ctrl = document.all[controlID];
if (typeof(ctrl) != "undefined") {
ValidatorHookupControl(ctrl, val);
}
else {
val.isvalid = true;
val.enabled = false;
}
}

function ValidatorHookupControl(control, val) {
if (typeof(control.tagName) == "undefined" && typeof(control.length) == "number") {
var i;
for (i = 0; i < control.length; i++) {
var inner = control;
if (typeof(inner.value) == "string") {
ValidatorHookupControl(inner, val);
}
}
return;
}
else if (control.tagName != "INPUT" && control.tagName != "TEXTAREA" && control.tagName != "SELECT") {
var i;
for (i = 0; i < control.children.length; i++) {
ValidatorHookupControl(control.children, val);
}
return;
}
else {
if (typeof(control.Validators) == "undefined") {
control.Validators = new Array;
var ev;
if (control.type == "radio") {
ev = control.onclick;
} else {
ev = control.onchange;
}
if (typeof(ev) == "function" ) {
ev = ev.toString();
ev = ev.substring(ev.indexOf("{") + 1, ev.lastIndexOf("}"));
}
else {
ev = "";
}
var func = new Function("ValidatorOnChange(); " + ev);
if (control.type == "radio") {
control.onclick = func;
} else {
control.onchange = func;
}

}
control.Validators[control.Validators.length] = val;
}
}

function ValidatorGetValue(id) {
var control;
control = document.all[id];
if (typeof(control.value) == "string") {
return control.value;
}
if (typeof(control.tagName) == "undefined" && typeof(control.length) == "number") {
var j;
for (j=0; j < control.length; j++) {
var inner = control[j];
if (typeof(inner.value) == "string" && (inner.type != "radio" || inner.status == true)) {
return inner.value;
}
}
}
else {
return ValidatorGetValueRecursive(control);
}
return "";
}

function ValidatorGetValueRecursive(control)
{
if (typeof(control.value) == "string" && (control.type != "radio" || control.status == true)) {
return control.value;
}
var i, val;
for (i = 0; i<control.children.length; i++) {
val = ValidatorGetValueRecursive(control.children);
if (val != "") return val;
}
return "";
}

function Page_ClientValidate() {
var i;
for (i = 0; i < Page_Validators.length; i++) {
ValidatorValidate(Page_Validators);
}
ValidatorUpdateIsValid();
ValidationSummaryOnSubmit();
Page_BlockSubmit = !Page_IsValid;
return Page_IsValid;
}

function ValidatorCommonOnSubmit() {
event.returnValue = !Page_BlockSubmit;
Page_BlockSubmit = false;
}

function ValidatorEnable(val, enable) {
val.enabled = (enable != false);
ValidatorValidate(val);
ValidatorUpdateIsValid();
}

function ValidatorOnChange() {
var vals = event.srcElement.Validators;
var i;
for (i = 0; i < vals.length; i++) {
ValidatorValidate(vals);
}
ValidatorUpdateIsValid();
}

function ValidatorValidate(val) {
val.isvalid = true;
if (val.enabled != false) {
if (typeof(val.evaluationfunction) == "function") {
val.isvalid = val.evaluationfunction(val);
}
}
ValidatorUpdateDisplay(val);
}

function ValidatorOnLoad() {
if (typeof(Page_Validators) == "undefined")
return;

var i, val;
for (i = 0; i < Page_Validators.length; i++) {
val = Page_Validators;
if (typeof(val.evaluationfunction) == "string") {
eval("val.evaluationfunction = " + val.evaluationfunction + ";");
}
if (typeof(val.isvalid) == "string") {
if (val.isvalid == "False") {
val.isvalid = false;
Page_IsValid = false;
}
else {
val.isvalid = true;
}
} else {
val.isvalid = true;
}
if (typeof(val.enabled) == "string") {
val.enabled = (val.enabled != "False");
}
ValidatorHookupControlID(val.controltovalidate, val);
ValidatorHookupControlID(val.controlhookup, val);
}
Page_ValidationActive = true;
}

function ValidatorConvert(op, dataType, val) {
function GetFullYear(year) {
return (year + parseInt(val.century)) - ((year < val.cutoffyear) ? 0 : 100);
}
var num, cleanInput, m, exp;
if (dataType == "Integer") {
exp = /^\s*[-\+]?\d+\s*$/;
if (op.match(exp) == null)
return null;
num = parseInt(op, 10);
return (isNaN(num) ? null : num);
}
else if(dataType == "Double") {
exp = new RegExp("^\\s*([-\\+])?(\\d+)?(\\" + val.decimalchar + "(\\d+))?\\s*$");
m = op.match(exp);
if (m == null)
return null;
cleanInput = m[1] + (m[2].length>0 ? m[2] : "0") + "." + m[4];
num = parseFloat(cleanInput);
return (isNaN(num) ? null : num);
}
else if (dataType == "Currency") {
exp = new RegExp("^\\s*([-\\+])?(((\\d+)\\" + val.groupchar + ")*)(\\d+)"
+ ((val.digits > 0) ? "(\\" + val.decimalchar + "(\\d{1," + val.digits + "}))?" : "")
+ "\\s*$");
m = op.match(exp);
if (m == null)
return null;
var intermed = m[2] + m[5] ;
cleanInput = m[1] + intermed.replace(new RegExp("(\\" + val.groupchar + ")", "g"), "") + ((val.digits > 0) ? "." + m[7] : 0);
num = parseFloat(cleanInput);
return (isNaN(num) ? null : num);
}
else if (dataType == "Date") {
var yearFirstExp = new RegExp("^\\s*((\\d{4})|(\\d{2}))([-./])(\\d{1,2})\\4(\\d{1,2})\\s*$");
m = op.match(yearFirstExp);
var day, month, year;
if (m != null && (m[2].length == 4 || val.dateorder == "ymd")) {
day = m[6];
month = m[5];
year = (m[2].length == 4) ? m[2] : GetFullYear(parseInt(m[3], 10))
}
else {
if (val.dateorder == "ymd"){
return null;
}
var yearLastExp = new RegExp("^\\s*(\\d{1,2})([-./])(\\d{1,2})\\2((\\d{4})|(\\d{2}))\\s*$");
m = op.match(yearLastExp);
if (m == null) {
return null;
}
if (val.dateorder == "mdy") {
day = m[3];
month = m[1];
}
else {
day = m[1];
month = m[3];
}
year = (m[5].length == 4) ? m[5] : GetFullYear(parseInt(m[6], 10))
}
month -= 1;
var date = new Date(year, month, day);
return (typeof(date) == "object" && year == date.getFullYear() && month == date.getMonth() && day == date.getDate()) ? date.valueOf() : null;
}
else {
return op.toString();
}
}

function ValidatorCompare(operand1, operand2, operator, val) {
var dataType = val.type;
var op1, op2;
if ((op1 = ValidatorConvert(operand1, dataType, val)) == null)
return false;
if (operator == "DataTypeCheck")
return true;
if ((op2 = ValidatorConvert(operand2, dataType, val)) == null)
return true;
switch (operator) {
case "NotEqual":
return (op1 != op2);
case "GreaterThan":
return (op1 > op2);
case "GreaterThanEqual":
return (op1 >= op2);
case "LessThan":
return (op1 < op2);
case "LessThanEqual":
return (op1 <= op2);
default:
return (op1 == op2);
}
}

function CompareValidatorEvaluateIsValid(val) {
var value = ValidatorGetValue(val.controltovalidate);
if (ValidatorTrim(value).length == 0)
return true;
var compareTo = "";
if (null == document.all[val.controltocompare]) {
if (typeof(val.valuetocompare) == "string") {
compareTo = val.valuetocompare;
}
}
else {
compareTo = ValidatorGetValue(val.controltocompare);
}
return ValidatorCompare(value, compareTo, val.operator, val);
}

function CustomValidatorEvaluateIsValid(val) {
var value = "";
if (typeof(val.controltovalidate) == "string") {
value = ValidatorGetValue(val.controltovalidate);
if (ValidatorTrim(value).length == 0)
return true;
}
var args = { Value:value, IsValid:true };
if (typeof(val.clientvalidationfunction) == "string") {
eval(val.clientvalidationfunction + "(val, args) ;");
}
return args.IsValid;
}

function RegularExpressionValidatorEvaluateIsValid(val) {
var value = ValidatorGetValue(val.controltovalidate);
if (ValidatorTrim(value).length == 0)
return true;
var rx = new RegExp(val.validationexpression);
var matches = rx.exec(value);
return (matches != null && value == matches[0]);
}

function ValidatorTrim(s) {
var m = s.match(/^\s*(\S+(\s+\S+)*)\s*$/);
return (m == null) ? "" : m[1];
}

function RequiredFieldValidatorEvaluateIsValid(val) {
return (ValidatorTrim(ValidatorGetValue(val.controltovalidate)) != ValidatorTrim(val.initialvalue))
}

function RangeValidatorEvaluateIsValid(val) {
var value = ValidatorGetValue(val.controltovalidate);
if (ValidatorTrim(value).length == 0)
return true;
return (ValidatorCompare(value, val.minimumvalue, "GreaterThanEqual", val) &&
ValidatorCompare(value, val.maximumvalue, "LessThanEqual", val));
}

function ValidationSummaryOnSubmit() {
if (typeof(Page_ValidationSummaries) == "undefined")
return;
var summary, sums, s;
for (sums = 0; sums < Page_ValidationSummaries.length; sums++) {
summary = Page_ValidationSummaries[sums];
summary.style.display = "none";
if (!Page_IsValid) {
if (summary.showsummary != "False") {
summary.style.display = "";
if (typeof(summary.displaymode) != "string") {
summary.displaymode = "BulletList";
}
switch (summary.displaymode) {
case "List":
headerSep = "<br>";
first = "";
pre = "";
post = "<br>";
final = "";
break;

case "BulletList":
default:
headerSep = "";
first = "<ul>";
pre = "<li>";
post = "</li>";
final = "</ul>";
break;

case "SingleParagraph":
headerSep = " ";
first = "";
pre = "";
post = " ";
final = "<br>";
break;
}
s = "";
if (typeof(summary.headertext) == "string") {
s += summary.headertext + headerSep;
}
s += first;
for (i=0; i<Page_Validators.length; i++) {
if (!Page_Validators.isvalid && typeof(Page_Validators.errormessage) == "string") {
s += pre + Page_Validators.errormessage + post;
}
}
s += final;
summary.innerHTML = s;
window.scrollTo(0,0);
}
if (summary.showmessagebox == "True") {
s = "";
if (typeof(summary.headertext) == "string") {
s += summary.headertext + "<BR>";
}
for (i=0; i<Page_Validators.length; i++) {
if (!Page_Validators.isvalid && typeof(Page_Validators.errormessage) == "string") {
switch (summary.displaymode) {
case "List":
s += Page_Validators.errormessage + "<BR>";
break;

case "BulletList":
default:
s += " - " + Page_Validators.errormessage + "<BR>";
break;

case "SingleParagraph":
s += Page_Validators.errormessage + " ";
break;
}
}
}
span = document.createElement("SPAN");
span.innerHTML = s;
s = span.innerText;
alert(s);
}
}
}
}


完毕,我的站点只要一打开就出现让我填写用户名和密码的登陆框,我有两个程序,一个是vbb2.3.4的论坛程序,一个是phpArticle Version 2.0 的文章发布系统,都是运行在MYSQL+PHP环境下的,无论是进入主页还是这两个程序都会有那个登陆框要我输入ID,但是我自己做的独立的htm页面就很正常。空间商用备份数据给我恢复了,但是我还是不明白这是什么东西?怎么进来的?我怎么防?
Posted: 2004-02-24 17:38 | [楼 主]
狗狗
加菲's
级别: 管理员


精华: 10
发帖: 4860
威望: 10315 点
金钱: 10295 静电币
支持度: 20130 点
在线时间:1420(小时)
注册时间:2001-11-20
最后登录:2024-12-21

 

汗,不是被入侵了,是你的空间商没有弄好。

这个文件夹存在于安装了.NET Framework服务器的虚拟目录根目录中。

“aspnet_client”目录描述:

aspnet_client目录下包含按照.NET Framework版本号区分的一个或多个子目录(安装了多个.NET Framework Side by Side执行的情况)。每个目录下包含三个Javascript文件。
1、SmartNav.js —— 该文件由Page.SmartNavigate属性引用
2、SmartNavIE5.js —— 该文件与上个相同,适用于IE5浏览器
3、WebUIValidation.js —— 该文件由ASP.NET校验控件引用,如果在ASP.NET应用程序中使用了校验控件则运行期会引用该文件。

ASP.NET应用中,可以通过修改“WebUIValidation.js”文件来达到不同的验证结果提示。

只要把所有的Response.Redirect都换成Server.Transfe来处理,或者修改WebUIValidation.js,问题就解决了。

PS:真是谁来黑你,也不会留下这么明显的痕迹了。/|-)

看看ADO的幻灯片
Posted: 2004-02-28 10:58 | 1 楼
狗狗
加菲's
级别: 管理员


精华: 10
发帖: 4860
威望: 10315 点
金钱: 10295 静电币
支持度: 20130 点
在线时间:1420(小时)
注册时间:2001-11-20
最后登录:2024-12-21

 Re: 谢谢谢谢,我已经把那东西删了

[QUOTE]最初由 冲云霄 发布
[B]现在空间商说是把以前备份的文件恢复了一下就没事了,应该不是他们装的,我的站点以前就被人家进去过一次,也是装这个东西。不过刚出现一个java文件就被我都删了。我的后台密码的确简单了一点,这次改了。 [/B][/QUOTE]

应该就是他们装的...要知道装.NET Framework需要系统的Administrator权限,而你作为虚拟主机用户最多只有FTP+CP权限。
Posted: 2004-02-28 13:01 | 2 楼
狗狗
加菲's
级别: 管理员


精华: 10
发帖: 4860
威望: 10315 点
金钱: 10295 静电币
支持度: 20130 点
在线时间:1420(小时)
注册时间:2001-11-20
最后登录:2024-12-21

 Re: Re: Re: 谢谢谢谢,我已经把那东西删了

[QUOTE]最初由 冲云霄 发布
[B]也许他们不说实话,可恶。但是我最初装vbb的时候是空间商给装的,装完后没有删除安装文件和升级文件。结果有个朋友单位的同事,负责网络安全的就进去了,后台的密码他肯定也知道了。多了我不知道,反正他们那个同事的疑点最大。

最近好像好几个论坛都频繁被黑,我在白菜看到的 [/B][/QUOTE]

...
Posted: 2004-02-28 20:27 | 3 楼
帖子浏览记录 版块浏览记录
狗狗静电BBS - wwW.DoGGiEhoMe.CoM » 电脑全方位 Computer Guide

沪ICP备05008186号
Powered by PHPWind Styled by MagiColor