# 黑客攻击 **Repository Path**: heixiaomas_admin/hacker_attack ## Basic Information - **Project Name**: 黑客攻击 - **Description**: 网上找到的保持起来 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2020-06-25 - **Last Updated**: 2022-08-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 模拟数据 ```javascript var mockData = { "latitude": "30.58", "longitude": "114.27", "countrycode": "CN", "country": "CN", "city": "武汉", "org": "中国湖北省网络", "latitude2": "38.62", "longitude2": "-90.35", "countrycode2": "US", "country2": "US", "city2": "洛杉矶", "type": "ipviking.honey", "md5": "221.235.189.244", "dport": "21", "zerg": "rush" }; var WebSocketServer = require('ws').Server, wss = new WebSocketServer({ port: 9999 }); wss.on('connection', function connection(ws) { ws.on('message', function incoming(message) { console.log('received: %s', message); }); ws.send(JSON.stringify(mockData)); ws.close(); }); ```