attack

package
v0.0.0-...-43014c7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2016 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TCPStreamInjector

type TCPStreamInjector struct {
	Payload gopacket.Payload
	// contains filtered or unexported fields
}

func (*TCPStreamInjector) Init

func (i *TCPStreamInjector) Init(netInterface string) error

func (*TCPStreamInjector) SetIPLayer

func (i *TCPStreamInjector) SetIPLayer(iplayer layers.IPv4) error

func (*TCPStreamInjector) SetTCPLayer

func (i *TCPStreamInjector) SetTCPLayer(tcpLayer layers.TCP)

func (*TCPStreamInjector) SprayFutureAndFillGapPackets

func (i *TCPStreamInjector) SprayFutureAndFillGapPackets(start uint32, gap_payload, attack_payload []byte, overlap_future_packet bool) error

SprayFutureAndFillGapPackets is used to perform an ordered coalesce injection attack; that is we first inject packets with future sequence numbers and then we fill the gap. The gap being the range from state machine's "next Sequence" to the earliest Sequence we transmitted in our future sequence series of packets.

func (*TCPStreamInjector) SpraySequenceRangePackets

func (i *TCPStreamInjector) SpraySequenceRangePackets(start uint32, count int) error

func (*TCPStreamInjector) Write

func (i *TCPStreamInjector) Write() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL