直播中
網(wǎng)馬再怎么加密,都有可能被反加密的可能,為了更好保護(hù)自己的代碼,看看這辦法,但這辦法對(duì)付不了抓包分析,數(shù)據(jù)包抓取也是沒辦法的
目的:查看源代碼沒有內(nèi)容,查看緩沖區(qū)也沒內(nèi)容
1.asp文件寫法
<%'禁止緩沖區(qū)
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
Response.Expires = 0
%>
-----------代碼-----------------
<script>function clear(){document.write("");}window.onload = clear;</script>
2HTML寫法
<HEAD>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="0">
</HEAD>
-----------代碼-----------------
<script>function clear(){document.write("");}window.onload = clear;</script>
讓網(wǎng)馬地址在IE狀態(tài)欄不顯示網(wǎng)馬地址
function c(){
window.status="完畢";
}
setInterval(c,1);