聚合全网技术文章,根据你的阅读喜好进行个性推荐
开源之夏第三届火热来袭,高校学生参与赢万元奖金!>>>
Nmap4j nmap4j = new Nmap4j( "/usr/local"); nmap4j.includeHost("192.168.1.1-255"); nmap4j.excludeHost( "192.168.1.110" ); nmap4j.addFlags("-T3 -oX - -O -sV"); nmap4j.execute(); if(!nma4j.hasError()){ NMapRun nmapRun = nmap4j.getResults(); } else { System.out.println(nmap4j.getExecutionResults().getErrors()); }