I define IP Header and Payload and I don't Know how can I add payload to packet and send packet to server.
I try this but I got error :
IPPACKETNAME() + PayLoad
I define IP Header and Payload and I don't Know how can I add payload to packet and send packet to server.
I try this but I got error :
IPPACKETNAME() + PayLoad
Copyright © 2021 Jogjafile Inc.
Not sure if this is applicable to your situation without knowing more but here is a function to send a post request to a server. the requests.post can be changed to whatever type of request you need. e.g.
requests.get
requests.put
etc
Usage:
EDIT
This is some code to send a raw packet to a server.