简体   繁体   中英

Python-TCP SYN scan without using driver

Is it possible to write TCP SYN scan (half-open scanning) in python without using driver? I want to implement this kind of scanning in python without using scapy as I know it requires installing a driver.

If you're on Linux, BSD, OSX, yeah sure, using Raw sockets.

I assume if you talk about a "driver" it means you're on Windows in which case you will be restricted (can't access layer 2), and will require administrative privileges anyways.

In any case, you can still use Scapy without any "driver" (libpcap-based) installed. Some functions will be disabled

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM