Ejemplo n.º 1
0
	def __init__(self):
		IPLayerOperator.__init__(self,'IPFragOutOfOrder','IP Fragmenter out of order (frag3)')	
		self.add_param(IntParam('numfrag',2,'Fragment to send out of order',1))
Ejemplo n.º 2
0
	def __init__(self):
		IPLayerOperator.__init__(self,'IPBadOptionLength','IP Fragmenter with bad option length & payload')	
		self.add_param(StringParam('option','\x44\x64','2 bytes: copyflag-class-number-length'))
		self.add_param(StringParam('data','XXXXX','Ip option data'))
Ejemplo n.º 3
0
	def __init__(self):
		IPLayerOperator.__init__(self,'IPBadChecksum','IP Fragmenter with bad checksum & payload')	
		self.add_param(IntParam('numfrag',2,'Fragment with bad checksum & payload',1))		
Ejemplo n.º 4
0
	def __init__(self):
		IPLayerOperator.__init__(self,'IPRetarder2','IP Fragmenter with timeouts and false payload')	
		#ultimo parametro valore minimo
		self.add_param(IntParam('numfrag',3,'Fragment to delay',2))
		self.add_param(IntParam('timer',33,'Timeout - must be > of host\'s ipfrag_time',1))
Ejemplo n.º 5
0
	def __init__(self):
		IPLayerOperator.__init__(self,'IPOverlap','IP Fragmenter with total overlapping fragment & bad payload')	
		self.add_param(IntParam('numfrag',2,'Fragment with bad payload',1))
		pos_list = ["before", "after"]
		self.add_param(KeyListParam('position',pos_list[1], pos_list, 'position of overlapping fragment => before | after'))
Ejemplo n.º 6
0
	def __init__(self):
		IPLayerOperator.__init__(self,'IP_TCPSynBroadcast','Insert SYN packets with broadcast address')
		self.add_param(StringParam('broadcast','10.10.0.255','Broadcast address for SYN packets', isMultiValues=False))	
		self.add_param(IntParam('timer', 1,'Timeout for SYN packets',0))
Ejemplo n.º 7
0
 	def __init__(self):
 		IPLayerOperator.__init__(self,'IPLastFirst','Puts the last fragment(MF=0) in first position')	
Ejemplo n.º 8
0
	def __init__(self):
		IPLayerOperator.__init__(self,'IPWrongVersion','IP Fragmenter with wrong version & payload')	
		self.add_param(IntParam('numfrag',3,'Fragment with wrong version & payload',1))
Ejemplo n.º 9
0
	def __init__(self):
		IPLayerOperator.__init__(self,'IPRetarder','IP Fragmenter with timeouts')	
		#ultimo parametro valore minimo
		self.add_param(IntParam('numfrag',3,'Fragment to delay',2))
		self.add_param(IntParam('timer',18,'Timeout',1))
Ejemplo n.º 10
0
	def __init__(self):
		IPLayerOperator.__init__(self,'IPFragOutOfOrder2','IP Fragmenter random out of order')	
Ejemplo n.º 11
0
	def __init__(self):
		IPLayerOperator.__init__(self,'IP_Big_mtu','IP Fragmenter with large MTU')	
		self.add_param(IntParam('bigsize',1300,'Size of the big fragment',20))
		self.add_param(IntParam('numfrag',3,'Fragment to evade',1))
Ejemplo n.º 12
0
	def __init__(self):
		IPLayerOperator.__init__(self,'IPFragmenter','Simple fragmenter that split IP packets')	
		self.add_param(IntParam('size',40,'Size of each segment',1))
Ejemplo n.º 13
0
	def __init__(self):
		IPLayerOperator.__init__(self,'IPShortTTL','IP Fragmenter with Short TTL & bad payload')	
		self.add_param(IntParam('numfrag',3,'Fragment with short TTL & payload',1))
		self.add_param(IntParam('shortTTL', 1,'Short value for TTL field',0))
		self.add_param(IntParam('TTL', 5,'Value for TTL fields',0))
Ejemplo n.º 14
0
	def __init__(self):
		IPLayerOperator.__init__(self,'IPWrongProto','IP Fragmenter with wrong Protocol & payload')	
		self.add_param(IntParam('numfrag',3,'Fragment with wrong Proto & payload',1))
		self.add_param(IntParam('protocol',17,'Protocol field for forged packet',1))
Ejemplo n.º 15
0
	def __init__(self):
		IPLayerOperator.__init__(self,'IPBadHeaderLength','Bad Header Length & Payload')	
		self.add_param(IntParam('numfrag',2,'Fragment with bad header length & Payload',1))
		self.add_param(IntParam('ihl',10L,'IP header length (32 bit words)',1L))