Skip to contentSkip to Content
Commands libraryFAST_STRING

Mantis FAST_STRING Command

The Mantis FAST_STRING command injects text using batched USB HID keyboard reports at maximum hardware throughput, bypassing individual per-keystroke delays.

It is designed for rapid delivery of large payload blocks, base64 encoded scripts, and configuration files where execution speed is critical.


What It Does

  • Bundles multiple keystroke scan codes into optimized HID packets.
  • Achieves typing speeds exceeding 1,000+ Words Per Minute (WPM).
  • Minimizes on-target exposure time during red-team and blue-team authorized assessments.

Syntax & Parameters

hello.mantis
1FAST_STRING <text>

Parameters

  • <text> (required): The text payload to inject at maximum speed.

Examples & Payload Snippets

Rapid Command Execution

hello.mantis
1REM Open PowerShell with administrative prompt
2GUI r
3DELAY 500
4STRING powershell
5ENTER
6DELAY 1500
7
8REM Inject heavy command string at machine speed
9FAST_STRING Get-Process | Where-Object {$_.CPU -gt 10} | Out-File $env:TEMP\cpu.log
10ENTER

Expected Behavior & OS Compatibility

  • On modern operating systems (Windows 10/11, modern Linux kernels, macOS), USB buffers process batched keystrokes instantaneously.
  • If a target device has limited USB buffer capacity or is under heavy CPU load, keystrokes may be dropped. If dropping occurs, switch to STRING with SET_SPEED $Fastest.

  • STRING — Standard paced string injection.
  • STRINGLN — Type text and send Enter.
  • SET_SPEED — Global speed preset selector.
Last updated on