This PR comes with a code interpreter that runs a lot of common languages, even Brainfuck, it's contained in a module called code-interpreter inside the commands folder.
Features
The command comes with the ability to run commands from a file you may upload or directly write with command parameters.
About vulnerabilities
This command uses the Paiza API, so all the code is run by them, as this PR can't in any way run that many languages being this small...
Supported languages
C | C17/clang10
C++ | C++17/clang10
Java | OpenJDK18
Kotlin | 1.7.10/JRE18
Swift | 5.6.2
C# | Mono 6
Go | 1.19
Python 3 | 3.8.10
Ruby | 3.1.2p20
PHP | 8.1.9 cli
BASH | 5.0.17
RLang | 3.6.3
JavaScript | NodeJS 16.17.0
Visual Basic | Mono 6
BrainFuck
Cobol | cobc 2.2.0
F# | F# Interactive 4.0
Elixir | 1.12.3
Rust | rustc 1.59.0
TypeScript | 4.8.2
Other fixes
This PR also fixes a problem with the handlers, where you couldn't add sub commands or options while building a command.
Description
This PR comes with a code interpreter that runs a lot of common languages, even Brainfuck, it's contained in a module called
code-interpreter
inside thecommands
folder.Features
The command comes with the ability to run commands from a file you may upload or directly write with command parameters.
About vulnerabilities
This command uses the Paiza API, so all the code is run by them, as this PR can't in any way run that many languages being this small...
Supported languages
Other fixes
This PR also fixes a problem with the handlers, where you couldn't add sub commands or options while building a command.