Sindbad~EG File Manager

Current Path : /proc/1603417/root/usr/share/systemtap/examples/security-band-aids/
Upload File :
Current File : //proc/1603417/root/usr/share/systemtap/examples/security-band-aids/cve-2011-4127.stp

#!/usr/bin/stap -g
# Requires guru mode (-g) for target variable writes
probe syscall.ioctl {
    SG_IO = 0x2285
    if($cmd == SG_IO && execname() == "qemu-kvm") {
        printf("filtering SG_IO ioctl request from qemu-kvm process %d\n", pid())
        $cmd   = 0x0
        $fd    = -1
    }
}

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