Review Article

DDoS-Capable IoT Malwares: Comparative Analysis and Mirai Investigation

Listing 4

ClientList struct definition.
root/mirai/cnc/clientList.go
(16)  type ClientList  struct  
(17)   uid  int
(18)   count  int
(19)   clients  map[int]Bot //List of available
      bots
(20)   addQueue  chan  Bot //Bots waiting to be
      added in clients map
(21)   delQueue  chan  Bot //Bots waiting to be
      removed from clients map
(22)   atkQueue  chan  AttackSend //List of
      scheduled attacks
(23)   totalCount  chan  int
(24)   cntView  chan  int
(25)   distViewReq  chan  int
(26)   distViewRes  chan  map[string]  int
(27)   cntMutex  sync.Mutex
(28)