#include <cstdlib>
#include <iostream>
#include <windows.h>
using namespace std;
char pcname[256];
char domain[256];
char userid[256];
char process[256];
int main()
{
cout << "Remote Process Kill Utility \n";
cout << "Please Provide target hostname \n ->";
cin >> pcname;
cout << "\nDomain \n ->";
cin >> domain;
cout << "\nUser id \n ->";
cin >> userid;
cout << "\nProcess name *Example explorer.exe \n ->";
cin >> process;
system("cls");
system("Loading..");
system("taskkill /s " + pcname + " /u " + domain + "\\" + userid + " /fi " "username ne nt*" "/im " + process + "");
return 0;
}
#include <cstdlib>
#include <iostream>
#include <windows.h>
using namespace std;
static string pcname;
static string domain;
static string userid;
static string process;
int main()
{
cout << "Remote Process Kill Utility \n";
cout << "------------------------------\n";
cout << "Please Provide target hostname \n ->";
cin >> pcname;
cout << "\nDomain \n ->";
cin >> domain;
cout << "\nUser id \n ->";
cin >> userid;
cout << "\nProcess name *Example explorer.exe \n ->";
cin >> process;
system("cls");
system("echo Loading..");
system(("echo taskkill /s " + pcname + " /u " + domain + "\\" + userid + " /fi " + """username ne nt*""" + " /im " + process + "").c_str());
system("pause");
return 0;
}
char string[50]; sprintf(string, "echo taskkill /s %s /u %s \\ %s /fi username ne nt* /im %s ", pcname, domain, process); system(string)
char* string = "We got \"Quotes\"";
#include <windows.h>
using namespace std;
static string pcname;
static string domain;
static string userid;
static string process;
int main()
{
cout << "Remote Process Kill Utility \n";
cout << "------------------------------\n";
cout << "Please Provide target hostname \n->";
cin >> pcname;
cout << "\nDomain \n->";
cin >> domain;
cout << "\nUser id \n->";
cin >> userid;
cout << "\nProcess name *Example explorer.exe \n->";
cin >> process;
system("cls");
system("echo Loading..");
system(("taskkill /s " + pcname + " /u " + domain + "\\" + userid + " /fi " + "\"username ne nt*\"" + " /im " + process + "").c_str());
system("exit");
return 0;
}
#include <cstdlib>
#include <iostream>
#include <windows.h>
using namespace std;
static string pcname;
static string session;
int main()
{
cout << "Please enter Session ID\n->";
cin >> session;
system("cls");
cout << "Remote Process Viewer \n";
cout << "------------------------\n";
cout << "Please Provide Target Hostname\n->";
cin >> pcname;
system(("tasklist /s " + pcname + " /fo list >> Library\\Log_Session_" + session + ".log").c_str());
system("cls");
system("echo Please check Library for Results listed under your session id");
system("pause");
return EXIT_SUCCESS;
#include <cstdlib>
#include <iostream>
#include <windows.h>
using namespace std;
static string pcname;
static string domain;
static string userid;
static string processh;
static string pidn;
static string doover;
static string cnl;
int pid()
{
cout << "Remote PID Kill Utility \n";
cout << "------------------------------\n";
cout << "Please Provide target hostname \n\n\n\n>";
cin >> pcname;
cout << "\nDomain \n->";
cin >> domain;
cout << "\nUser id \n->";
cin >> userid;
cout << "\nPID Number of Target process \n->";
cin >> pidn;
system("cls");
system("echo Loading..");
system(("taskkill /s " + pcname + " /u " + domain + "\\" + userid + " /fi " + "\"username ne nt*\"" + " /PID " + pidn + "").c_str());
cout << "\necho Retry? Y / N";
cin >> doover;
if (doover == "Y" || doover == "y")
{
system("cls");
pid();
}
else if (doover == "N" || doover == "n")
{
system("exit");
}
}
int process()
{
cout << "Remote Process Kill Utility \n";
cout << "------------------------------\n";
cout << "Please Provide target hostname \n>";
cin >> pcname;
cout << "\nDomain \n->";
cin >> domain;
cout << "\nUser id \n->";
cin >> userid;
cout << "\nProcess name *Example explorer.exe \n->";
cin >> processh;
system("cls");
system("echo Loading..");
system(("taskkill /s " + pcname + " /u " + domain + "\\" + userid + " /fi " + "\"username ne nt*\"" + " /im " + processh + "").c_str());
cout << "\nRetry? Y / N";
cin >> doover;
if (doover == "Y" || doover == "y")
{
system("cls");
process();
}
else if (doover == "N" || doover == "n")
{
system("exit");
}
}
int main()
{
SetConsoleTitle("Remote Process Killer");
system("cls");
system("color 0f");
system("echo Please Select your Method of Process Removal");
cout << "\n\n";
system("echo Type 1 for Process ID\n");
system("echo Type 2 for PID");
cout << "\n\n\n>";
cin >> cnl;
if (cnl == "1")
{
system("cls");
process();
}
else if (cnl == "2")
{
system("cls");
pid();
}
return 0;
}