SMB-OS-Discovery implementation in Nim
nimble install https://github.com/elddy/Nim-OSDiscovery
import OSDiscovery
Run SMB OS Discovery on the target and print the results:
import OSDiscovery
let info = runOSDiscovery("10.0.0.69") ## Run the discovery
$info ## Prints the information
SMBv1 --> OS version:
SMBv2 --> Domain & Computer name (NetBIOS & DNS):