-
Notifications
You must be signed in to change notification settings - Fork 2.3k
UDP Client
Marcin Bury edited this page Oct 12, 2018
·
3 revisions
Params
Param | Type | Description | Required |
---|---|---|---|
target | str | target UDP server IP address | no, default=exploit.target |
port | int | target UDP server port | no, default=exploit.port |
Returns
Type | Description |
---|---|
UDPCli | UDPCli object that is used for communication |
Example
Params
Param | Type | Description | Required |
---|---|---|---|
data | bytes | data that should be sent to the server | yes |
Returns
Type | Description |
---|---|
bool | True if data was sent, False otherwise |
Example
Params
Param | Type | Description | Required |
---|---|---|---|
num | int | number of bytes that should be received from the server |
Returns
Type | Description |
---|---|
bytes | bytes received from the server |
Example
Params
- None
Returns
Type | Description |
---|---|
bool | True if socket was closed successfully, False otherwise |
Example
Communication