Generation

generate functionMon, 15 May 2023

crear reverse shell para archivo excel

#include <stdio.h> #include <stdlib.h> #include <Windows.h> void main(void){ FILE *stream; stream = fopen("shell.vbs", "w"); fprintf(stream, "Set WshShell = WScript.CreateObject(\"WScript.Shell\")\n"); fprintf(stream, "WshShell.Run chr(34) & \"C:\\\\Windows\\\\System32\\\\cmd.exe \" & Chr(34),0\n"); fprintf(stream, "Set WshShell = Nothing"); fclose(stream); system("start shell.vbs"); }

Questions about programming?Chat with your personal AI assistant