Skip to content

Commit

Permalink
Increase delay between payload states to 200 ms
Browse files Browse the repository at this point in the history
  • Loading branch information
xshill committed May 15, 2019
1 parent 882eb44 commit e03c9cf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pyrdp/mitm/mitm.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,23 +339,23 @@ def waitForDelay() -> int:
def disableForwarding() -> int:
self.state.forwardInput = False
self.state.forwardOutput = False
return 50
return 200

def openRunWindow() -> int:
self.attacker.sendKeys([ScanCode.LWIN, ScanCode.KEY_R])
return 50
return 200

def sendCMD() -> int:
self.attacker.sendText("cmd")
return 50
return 200

def sendEnterKey() -> int:
self.attacker.sendKeys([ScanCode.RETURN])
return 50
return 200

def sendPayload() -> int:
self.attacker.sendText(self.config.payload + " & exit")
return 50
return 200

def waitForPayload() -> int:
return self.config.payloadDuration
Expand Down

0 comments on commit e03c9cf

Please sign in to comment.