Skip to contentSkip to Content

Mantis SET_DELAY Command

The Mantis SET_DELAY command sets a global, fixed interval (in milliseconds) that Mantis waits between typing each individual character.

While DELAY inserts a one-time pause, SET_DELAY configures the inter-keystroke pacing for all subsequent STRING and keystroke commands.


What It Does

  • Establishes a predictable cadence between every key down and key up event.
  • Helps prevent buffer overflow on legacy hardware or remote desktop sessions (RDP/VNC).
  • Overrides default hardware typing speed until changed by another SET_DELAY or SET_SPEED call.

Syntax & Parameters

hello.mantis
1SET_DELAY <milliseconds>

Parameters

  • <milliseconds> (required): Number of milliseconds to pause between each character (typical values: 10 to 50).

Examples & Payload Snippets

hello.mantis
1REM Allow USB enumeration
2DELAY 1000
3
4REM Set fixed 35ms pause between each character
5SET_DELAY 35
6
7GUI r
8DELAY 500
9STRINGLN notepad
10DELAY 1000
11
12STRING This text is typed with exactly 35ms between every character.

  • DELAY — One-time script pause.
  • SET_SPEED — Named typing profiles including randomized human timing.
  • STRING — Standard text injection command.
Last updated on