SSF.App.DDoS
Class DDoSMessage
java.lang.Object
|
+--SSF.OS.ProtocolMessage
|
+--SSF.App.DDoS.DDoSMessage
- public class DDoSMessage
- extends ProtocolMessage
Protocol Message used by the DDoS Sessions. ICMP was not in place when we
start implementing DDoS package, so we wrote our own application level protocol for it.
|
Constructor Summary |
DDoSMessage(DDoSMessage msg)
|
DDoSMessage(DDoSMessage msg,
int opt)
|
DDoSMessage(int command,
int target_ip,
int target_port,
int attack_method,
int parameter)
|
DDoSMessage(int command,
int target_ip,
int target_port,
int attack_method,
int parameter,
int optional)
|
|
Method Summary |
int |
bytecount()
size of the message, 5 integers, so 20 bytes. |
| Methods inherited from class SSF.OS.ProtocolMessage |
carryPayload, copy, dropHeader, dropPayload, frombytes, fromVersion, header_bytecount, payload, previous, size, tobytes, version |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ACK
public static final int ACK
- See Also:
- Constant Field Values
HIJACK
public static final int HIJACK
- "commands", so are "INSTALL", "START_ATTACK", "END_ATTACK"
- See Also:
- Constant Field Values
INSTALL
public static final int INSTALL
- See Also:
- Constant Field Values
START_ATTACK
public static final int START_ATTACK
- start attack, using falsified source address:port
- See Also:
- Constant Field Values
END_ATTACK
public static final int END_ATTACK
- See Also:
- Constant Field Values
UNINSTALL
public static final int UNINSTALL
- See Also:
- Constant Field Values
action
public int action
targetIP
public int targetIP
targetPort
public int targetPort
attackMethod
public int attackMethod
param
public int param
opt
public int opt
DDoSMessage
public DDoSMessage(int command,
int target_ip,
int target_port,
int attack_method,
int parameter)
DDoSMessage
public DDoSMessage(DDoSMessage msg)
DDoSMessage
public DDoSMessage(DDoSMessage msg,
int opt)
DDoSMessage
public DDoSMessage(int command,
int target_ip,
int target_port,
int attack_method,
int parameter,
int optional)
bytecount
public int bytecount()
- size of the message, 5 integers, so 20 bytes.
- Overrides:
bytecount in class ProtocolMessage