This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
zhuzhenjun 64697d137e v1.0.0
2023-10-09 17:27:01 +08:00
2023-10-09 17:27:01 +08:00
2023-10-09 15:23:59 +08:00
2023-10-09 15:23:59 +08:00
2023-10-09 15:23:59 +08:00
2023-09-15 15:27:22 +08:00
2023-09-15 11:44:10 +08:00
2023-10-09 15:23:59 +08:00
2023-10-09 17:27:01 +08:00
2023-10-09 17:27:01 +08:00
2023-10-09 15:23:59 +08:00
2023-10-09 15:23:59 +08:00
2023-09-22 18:44:27 +08:00
2023-09-15 11:44:10 +08:00
2023-10-09 15:23:59 +08:00
2023-10-09 17:27:01 +08:00
2023-10-09 17:27:01 +08:00

libosfp

Libosfp is a C library for OS fingerprinting.

install

# osfp_example depends on libpcap
yum install -y libpcap-devel
# build and install
./build.sh
./package.sh
yum install package/*.rpm

library usage

gcc example/sample.c -o sample -losfp; cat example/sample.c

run example

# load the fingerprint file and capture on eth0, filter tcp port 8888
osfp_example -f /var/lib/libosfp/fp.json -i eth0 "tcp port 8888"
Description
No description provided
Readme 722 KiB
Languages
C 69.2%
Shell 26%
CMake 4.8%