Exemplo n.º 1
0
 def rewardCommand(self, conn, person, cmd, args):
     rewardPerson = self.findPerson(person)
     print u"reward command %s for %s" % (cmd, self)
     if not rewardPerson:
         return
     self.reward_person = rewardPerson
     self.reward_timeout = time.time() + logic.getCommandTime(cmd)
     print u"timeout %s" % (logic.getCommandTime(cmd))
     background.getUrlBackground("hack_cmd.php?", {"target": self.target, "cmd": cmd, "args": " ".join(args)}, self, self.reward_timeout)
Exemplo n.º 2
0
 def rewardCommand(self, conn, person, cmd, args):
     rewardPerson = self.findPerson(person)
     if not rewardPerson:
         return
     self.reward_person = rewardPerson
     self.reward_timeout = time.time() + logic.getCommandTime(cmd)
     self.reward_cmd = cmd
     self.reward_args = args
Exemplo n.º 3
0
 def rewardCommand(self, conn, person, cmd, args):
     rewardPerson = self.findPerson(person)
     if not rewardPerson:
         return
     self.reward_person = rewardPerson
     self.reward_timeout = time.time() + logic.getCommandTime(cmd)
     self.reward_cmd = cmd
     self.reward_args = args