MCPcopy Create free account
hub / github.com/dobin/SuperMega / test_dll_loader

Function test_dll_loader

tester.py:265–284  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

263
264
265def test_dll_loader():
266 print("Testing: DLL Loader")
267 settings = Settings("unittest")
268 settings.injectable_base = "procexp64.exe"
269 settings.payload_base = "createfile.dll"
270
271 settings.verify = True
272 settings.try_start_final_infected_exe = False
273 settings.payload_location = PayloadLocation.CODE # important
274 settings.carrier_invoke_style = CarrierInvokeStyle.ChangeEntryPoint
275
276 print("Test DLL Loader 1/2: procexp, backdoor main, dll loader alloc")
277 settings.carrier_name = "dll_loader_alloc"
278 if not start(settings):
279 return
280
281 print("Test DLL Loader 2/2: procexp, backdoor main, dll loader change")
282 settings.carrier_name = "dll_loader_change"
283 if not start(settings):
284 return
285
286
287if __name__ == "__main__":

Callers 1

mainFunction · 0.85

Calls 2

SettingsClass · 0.90
startFunction · 0.90

Tested by

no test coverage detected