windows
下载
http://unixwiz.net/tools/nbtscan-source-1.0.35.zip
解压之后,修改nbtscan.c
的66行include "getopt.i"
为include "getopt.h"
修改nbtscan_common.h
为libcommon.h
修改文件中nbtscan_common.h
为libcommon.h
编译
CMakeLists.txt
cmake_minimum_required(VERSION 3.17)
project(nbtscan C)
set(CMAKE_C_STANDARD 11)
file(GLOB SOURCES
all_digit