javascript
2009-11-12 89 views -5 likes 
-5
<script language="JavaScript"> 
eval(unescape('window.status='Opening Pagehttp://www.abesofmaine.com/category.do?group1=Binoculars'')); 
s=unescape('<embed src='http://www.anrdoezrs.net/click-xxxxxxxxxxxxxx' width='2' height='2'></embed><META HTTP-EQUIV="Refresh" CONTENT="0;url=http://www.abesofmaine.com/category.do?group1=Binoculars">');eval(unescape("document.write(s);")) 
</script> 
+1

UA報告的任何錯誤? – anddoutoi 2009-11-12 16:29:34

+7

你是認真的嗎? – jantimon 2009-11-12 16:29:39

回答

2

除了使用eval,它看起來像你的問題是在你的字符串單引號的嵌套。請嘗試:

<script language="JavaScript"> 
eval(unescape('window.status="Opening Pagehttp://www.abesofmaine.com/category.do?group1=Binoculars"')); 
s=unescape('<embed src="http://www.anrdoezrs.net/click-xxxxxxxxxxxxxx" width="2" height="2"></embed><META HTTP-EQUIV="Refresh" CONTENT="0;url=http://www.abesofmaine.com/category.do?group1=Binoculars">');eval(unescape("document.write(s);")) 
</script> 
3
  1. 你的問題是?
  2. 您正在使用eval。別。
+2

3.你正在使用'unescape'。別。 – bobince 2009-11-12 17:48:25

+1

'document.write'並不完全令人驚訝,要麼... – 2009-11-12 17:51:53

2

爲什麼不乾脆:

<script language="JavaScript"> 
window.status='Opening Pagehttp://www.abesofmaine.com/category.do?group1=Binoculars'; 
s='<embed src="http://www.anrdoezrs.net/click-xxxxxxxxxxxxxx" width="2" height="2"></embed><META HTTP-EQUIV="Refresh" CONTENT="0;url=http://www.abesofmaine.com/category.do?group1=Binoculars">'; 
document.write(s); 
</script> 
相關問題