Question
Can I know how and when to use socket programming here Build a Master and Slave Bot capable of generating distributed denial of service attacks
Can I know how and when to use socket programming here
Build a Master and Slave Bot capable of generating distributed denial of service attacks on command from the Bot Master. Programming Language to use: Java 8 This work will be part of a larger semester long project so try to build the software in an extensible manner. You will write Bot Master (MasterBot.java) and provide the code for the slaves (SlaveBot.java) to be commanded by the Bot Master. The master, when started, will present a command line interface to the user like that provided by the shell in Unix (i.e. present prompt >). The following commands are to be supported: (DO NOT INCLUDE THE HYPEN IN YOUR COMMANFD SYNTAX, ONLY THE COMMAND: i.e. list) 1.-list Will list all current slaves with the following format: SlaveHostName IPAddress SourcePortNumber RegistrationDate USE THE FOLLOWING FORMAT FOR THE DATE: YYYY-MM-DD Where YYYY is a four digit year, MM is a two digit month, and DD is a two digit day. 2.-connect (IPAddressOrHostNameOfYourSlave|all) (TargetHostName|IPAddress) TargetPortNumber [NumberOfConnections: 1 if not specified] Establish a number of connections to the target host. 3.-disconnect (IPAddressOrHostNameOfYourSlave|all) (TargetHostName|IPAddress) [TargetPort:all if no port specified] Close a number of connections to a given host Any violation of name or formatting specified in this document will result in zero grade. Your program must run via command line execution. Master will take the following command line argument: -p PortNumber This will be the port where master will listen for incoming connections from Slaves. Slave will take two arguments: -h IPAddress|Hostname (of Master -p port where master is listening for connections
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started