Removed MakeRCB
This commit is contained in:
		
							parent
							
								
									86fcada4ea
								
							
						
					
					
						commit
						c0a1c2316f
					
				
							
								
								
									
										27
									
								
								MakeRCB.cpp
									
									
									
									
									
								
							
							
						
						
									
										27
									
								
								MakeRCB.cpp
									
									
									
									
									
								
							@ -1,27 +0,0 @@
 | 
			
		||||
#include <iostream>
 | 
			
		||||
#include <string>
 | 
			
		||||
 | 
			
		||||
int main()
 | 
			
		||||
{
 | 
			
		||||
	std::string sUsername;
 | 
			
		||||
	std::string sPassword;
 | 
			
		||||
	std::string sC2Domain;
 | 
			
		||||
	std::string sProxy;
 | 
			
		||||
 | 
			
		||||
	std::cout << "Enter the username to be used by RCB: ";
 | 
			
		||||
	std::cin >> sUsername;
 | 
			
		||||
 | 
			
		||||
	std::cout << "Enter the password to be used by RCB: ";
 | 
			
		||||
	std::cin >> sPassword;
 | 
			
		||||
 | 
			
		||||
	std::cout << "Enter the C2 domain to be used by RCB: ";
 | 
			
		||||
	std::cin >> sC2Domain;
 | 
			
		||||
 | 
			
		||||
	std::cout << "Enter the socks5 proxy address to be used by RCB: ";
 | 
			
		||||
	std::cin >> sProxy;
 | 
			
		||||
 | 
			
		||||
	std::string sCommand = "sUsername=" + sUsername + " sPassword=" + sPassword + " sC2Domain=" + "http:/" + sC2Domain + " sProxy=" + "socks5h:/" + sProxy + " make"; // todo: figure out why this works and why // doesn't
 | 
			
		||||
	const char *cCommand = sCommand.c_str(); // convert string to c string for running as command
 | 
			
		||||
 | 
			
		||||
	system(cCommand); // run the make command with environment variables
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user