Skip to content

This is a very simple but secure and preformant Single header file to execute system commands in C++. This is for the most part safer than using system or popen alone.

License

Notifications You must be signed in to change notification settings

Scare-Security/Safe-and-Secure-system-automation-rewrite-using-TabNine-A.I

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation


_____/\\\\\\\\\\\___________________________________________________________________________________________/\\\\\_____________________________________________________________________________________________________________________________        
 ___/\\\/////////\\\_______________________________________________________________________________________/\\\///\\\___________________________________________________________________________________________________________________________       
  __\//\\\______\///______________________________________________________________________________________/\\\/__\///\\\____/\\\\\\\\\__________________________________________________/\\\_______/\\\__________________________________________      
   ___\////\\\_____________/\\\\\\\\______/\\\\\\\\__/\\\____/\\\__/\\/\\\\\\\______/\\\\\\\\_____________/\\\______\//\\\__/\\\/////\\\_____/\\\\\\\\___/\\/\\\\\\\___/\\\\\\\\\_____/\\\\\\\\\\\_\///______/\\\\\_____/\\/\\\\\\____/\\\\\\\\\\_     
    ______\////\\\________/\\\/////\\\___/\\\//////__\/\\\___\/\\\_\/\\\/////\\\___/\\\/////\\\___________\/\\\_______\/\\\_\/\\\\\\\\\\____/\\\/////\\\_\/\\\/////\\\_\////////\\\___\////\\\////___/\\\___/\\\///\\\__\/\\\////\\\__\/\\\//////__    
     _________\////\\\____/\\\\\\\\\\\___/\\\_________\/\\\___\/\\\_\/\\\___\///___/\\\\\\\\\\\____________\//\\\______/\\\__\/\\\//////____/\\\\\\\\\\\__\/\\\___\///____/\\\\\\\\\\_____\/\\\______\/\\\__/\\\__\//\\\_\/\\\__\//\\\_\/\\\\\\\\\\_   
      __/\\\______\//\\\__\//\\///////___\//\\\________\/\\\___\/\\\_\/\\\_________\//\\///////______________\///\\\__/\\\____\/\\\_________\//\\///////___\/\\\__________/\\\/////\\\_____\/\\\_/\\__\/\\\_\//\\\__/\\\__\/\\\___\/\\\_\////////\\\_  
       _\///\\\\\\\\\\\/____\//\\\\\\\\\\__\///\\\\\\\\_\//\\\\\\\\\__\/\\\__________\//\\\\\\\\\\______________\///\\\\\/_____\/\\\__________\//\\\\\\\\\\_\/\\\_________\//\\\\\\\\/\\____\//\\\\\___\/\\\__\///\\\\\/___\/\\\___\/\\\__/\\\\\\\\\\_ 
        ___\///////////_______\//////////_____\////////___\/////////___\///____________\//////////_________________\/////_______\///____________\//////////__\///___________\////////\//______\/////____\///_____\/////_____\///____\///__\//////////__

What is it

A very simple, lightweight C++ header file for securely executing commands. Useable on linux, windows, bsd and MACOSX

Usage

  • Include the header file ExecutionEngine.hpp
  • Use it
#include "ExecutionEngine.hpp"

int main(int argc, char** argv) {
    ExecutionEngine::Execution Engine;
    std::cout << "Tree " << std::endl;
    std::cout << "====================" << std::endl;
    if (argv[1] != NULL) {
    std::string path = argv[1];
    std::cout << "--- " << Engine.EngineExec(path).o << std::endl;
    }
    return 0;
}

About

This is a very simple but secure and preformant Single header file to execute system commands in C++. This is for the most part safer than using system or popen alone.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages