python - Query network device to determine operating system, without installing a remote agent? -
i query device (e.g. android phone on wifi) find out operating system running, without having run on device or install additional agent?
is possible?
look phrases "port scan" , "port mapping" ideas. you'll need make use of whatever services running on target machine, include avahi/bonjour/mdns, http, ssh, smtp, etc. you'd try figure out ports might open, try connect there (or send udp datagrams), , see find. develop own heuristics if have enough devices or small enough set need support, or find existing code of (maybe not in python directly though).
Comments
Post a Comment