mirror of
https://github.com/luzhisheng/js_reverse.git
synced 2025-04-22 11:12:48 +08:00
16 lines
274 B
JavaScript
16 lines
274 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) {
|
|
};
|
|
|
|
}();
|