linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "ssams" <ssams@telkom.net>
To: linux-assembly@vger.kernel.org
Subject: calculating byte
Date: Thu, 24 Jul 2003 05:15:53 +0700	[thread overview]
Message-ID: <web-3860654@b1.c.plasa.com> (raw)

hi all
if u have time, please answer my following question
i try to learn more about assembly. in a time i'found some 
article that explain about exploit, and i get this 
following code. My question is.. how to calculate byte at 
each line..?
thnaks before
regard
ssams
            .....
            ..... 
            movl %esi,array-offset(%esi) # 3 bytes
            movb $0x0,nullbyteoffset(%esi)# 4 bytes
            movl $0x0,null-offset(%esi) # 7 bytes
            movl $0xb,%eax # 5 bytes
            movl %esi,%ebx # 2 bytes
            leal array-offset,(%esi),%ecx # 3 bytes
            leal null-offset(%esi),%edx # 3 bytes
            int $0x80 # 2 bytes
            ....
            ....
===========================================================================================
"TELKOMNet Instan Divre VI Kalimantan memberikan DISKON PROGRESSIVE kepada para pengguna 
TELKOMNet-Instan hingga 50% mulai bulan Juli hingga September 2003." 
===========================================================================================

             reply	other threads:[~2003-07-23 22:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-23 22:15 ssams [this message]
2003-07-24  6:13 ` calculating byte Anticipating a Reply
2003-07-24  7:54 ` hp
2003-07-25 13:38   ` switching to real mode? Wolfgang Huber
2003-07-25 16:55     ` hp
2003-07-25 17:20     ` Maciej Hrebien
2003-07-25 19:42       ` switching to real mode Rick A. Hohensee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=web-3860654@b1.c.plasa.com \
    --to=ssams@telkom.net \
    --cc=linux-assembly@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).