※ 引述《yuchia69 (Joe Hsu)》之銘言:
: 目前我有寫一些JS語法 我用下面網頁加密
: http://www.wujixue.idv.la/javascript/?rd=htcode
: 不過好像可以反解回來
: 如果知道這解法 能告訴我嗎?
: 另外想請問版上的大大
: 目前有沒有比較安全的加密方法
: 付費的我是OK
: 只是不想把自己研究的做法外流
他會把解密的東西用 document.write 丟出來,
所以只要攔截 documment.write 的 inputs 就可以知道在幹嘛了。
先執行下面這段,再拿他加密過的結果來跑就知道原始碼是什麼了。
document.write = function(a) {
return function() {
console && console.log.apply(console, arguments);
a.apply(document, arguments)
}
}(document.write);
--
Oni devas ami animalojn. Ili estas tiel bongustaj.
One should love animals. They are so tasty.
每個人都應該愛動物,他們是如此美味。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 175.180.52.89
→
06/21 00:02, , 1F
06/21 00:02, 1F
→
06/21 08:22, , 2F
06/21 08:22, 2F
討論串 (同標題文章)