Re: hello again :D

Ricardo Nabinger Sanchez <[email protected]>
Newsgroups org.kernel.vger.linux-assembly
Message-ID <[email protected]>
Quoting  Niel A <[email protected]>
Sent on  Sat, 7 Jan 2006 11:06:22 +0000

> _start:
>         xor ebx, ebx
>         mov byte [t1], 0x90
> 
> t1:     
>         inc ebx	; try to skip this so exit(0) instead of exit(1);

also: this translates into a single byte?  otherwise you'd need to
overwrite whatever bytes this produces.

but again, I believe you cannot modify executable pages (at least not in
such manner) :)

-- 
Ricardo Nabinger Sanchez
GNU/Linux #140696 [http://counter.li.org]
Slackware Linux + FreeBSD

  Left to themselves, things tend to go from bad to worse.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.