mirror of
https://github.com/luzhisheng/js_reverse.git
synced 2025-04-20 03:59:57 +08:00
16 lines
273 B
JavaScript
16 lines
273 B
JavaScript
!function () {
|
|
window.ayf = e;
|
|
var ws = new WebSocket("ws://127.0.0.1:9999");
|
|
|
|
ws.onopen = function (evt) {
|
|
};
|
|
|
|
ws.onmessage = function (evt) {
|
|
console.log(window.ayf.RSA.evcrypt(evt.data))
|
|
};
|
|
|
|
ws.onclose = function (evt) {
|
|
};
|
|
|
|
}();
|