创建src/util/socket.ts
let websock: any null;
let global_callback: any null;
const serverPort "8080"; // webSocket连接端口
const wsuri "ws://" window.location.hostname ":" serverPort "/wsdemo";
function crea…
定义SPEC文件
首先从nmap的github上下载SPEC定义文件,然后进行修改,如下:
# To build a static RPM, add
# --define "static 1"
# to the rpmbuild command line. To build without Ncat, add
# --define "buildnc…