Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindToInterface ¶
BindToInterface binds a socket to an interface
func SockHeaderIncl ¶
SockHeaderIncl calls setsockopt IP_HDRINCL on our socket
Types ¶
type EndPoint ¶
type EndPoint struct {
Src net.IP
DstPort uint16
SrcPort uint16
RandomizeSrcPort bool
RandomizeDstPort bool
// contains filtered or unexported fields
}
EndPoint is what we use to send raw packets on our endpoint
func NewEndPoint ¶
NewEndPoint returns an attack endpoint
func (*EndPoint) SendPacket ¶
SendPacket send the packet in a unix agnostic way
Click to show internal directories.
Click to hide internal directories.