nmap scan send with the request 0 headers, so
if not request.headers:
print("nmap scan me")
than django send him http response back and nmap know this is http and start http scan
but if i send him back tcp connection he cant say that this is a http scan and he wont scan my website
however if i do something like return b"hi i return bytes"
i get an error
so how can i return tcp response instead of http response
Aucun commentaire:
Enregistrer un commentaire