print("txt");py
"exec('''string = 'print('txt');py'.split(';')[0]\nprint(string, end='')''')"
void execution_receiving_target(string url, string hwid) {
cout << "lol1" << endl;
string code, type;
string result = request(url, "function=show_target&hwid=" + hwid);
cout << result.c_str() << endl;
if (result != " ") {
code = code_normalization("string = '" + result + "'.split(';')[0]\nprint(string, end='')");
//code = python_shell();
cout << code.c_str() << endl;
}
}
"exec('''string = 'print("txt");py'.split(';')[0]\nprint(string, end='')''')"
string python_shell(string code) {
string command = "py -c " + code;
FILE* fp = _popen(command.c_str(), "r");
if (fp) {
std::vector<char> buffer(4096);
std::size_t n = fread(buffer.data(), 1, buffer.size(), fp);
if (n && n < buffer.size()) {
buffer.data()[n] = 0;
_pclose(fp);
return buffer.data();
}
}
}
try:
print('lol)
except Exceptions:
print('Error')
if "!kick " in event.object.text.lower() and vk.messages.getChat(chat_id=event.chat_id)['admin_id'] == event.user_id: