ccm
Library for http or socket connection to shell with encrypt. made in C++
-
Step 1 Work With Shell
✔️ -
Step 2 Make Connection
❌
Already done
- Step1 (Work With Shell)
✔️ - Step2 (Color Output Shell)
✔️
If There Are Bugs Or Use Could Put On Issue
#include <iostream>
#include "folder/ccm.h"
int main(int argc, const char* argv[]) {
std::string temp;
while(true) {
input(temp, "$ "); // in parameter 2 its The emblem is usually on the shell
ExecutableRun(temp);
}
{
(void)argc;
(void)argv;
}
return 0;
}
for compile
- linux
g++ -shared -Wall -fPIC file.cpp -L./folder/ccm -lccm -o nameFile
- windows
g++ -shared -Wall -fPIC file.cpp -L.\folder\ccm -lccm -o nameFile
compile in g++
- windows
g++ -shared -Wall -fPIC -DBUILD_SHARED_LIB ccm.cpp ls.cpp clear.cpp pwd.cpp exec1.cpp exec2.cpp exit.cpp color.cpp -o ccm.dll -Wl,--out-implib,libccm.a
- linux
g++ -shared -fPIC -Wall ccm.cpp ls.cpp color.cpp pwd.cpp exec1.cpp exec2.cpp clear.cpp exit.cpp -o libccm.so