Sindbad~EG File Manager

Current Path : /proc/1603417/root/usr/share/systemtap/examples/general/
Upload File :
Current File : //proc/1603417/root/usr/share/systemtap/examples/general/keyhack.stp

#!/usr/bin/stap

# This is not useful, but it demonstrates that
# Systemtap can modify variables in a running kernel.

# Usage: ./keyhack.stp -g

probe kernel.function("kbd_event") {
  # Changes 'm' to 'b' .
  if ($event_code == 50) $event_code = 48
}

probe end {
  printf("\nDONE\n")
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists