Closed David-OConnor closed 2 years ago
Hi @David-OConnor,
I'm not sure about the low-level library to use specifically for a Syn scan, but the in terms of architecture, it would be really simple to adapt.
Either by using trait objects and wrapping each scanning method in a different type,
or simply by wrapping (if needed) the blocking call for Syn Scan in with tokio's spawn_blocking and then switching between the different scanning functions.
✌️
Hi! Would this code base be modifiable to support other scan types, for example a Syn scan? My suspicions are you would need a very different approach, since
std::net
andtokio::net
don't give you control over this. (Maybe thesocket2
lib?), but I'm curious.