<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[06:27:08] *** Joins: Corded (~MichiBot@eos.pc-logix.com) Michibot
L2[06:27:15] <Michiyo> Better?
L3[10:51:28] <Redston​eParkour> test
L4[10:51:35] <Redston​eParkour> yup
L5[10:51:53] <Redston​eParkour> %whoami
L6[10:52:37] <Redston​eParkour> well seems like i forgot the command for showing the rank
L7[10:52:45] <Redston​eParkour> * rank...
L8[10:52:45] <Corded> test
L9[10:52:59] <RedstoneParkour> but the bug is still there :)
L10[10:54:32] <RedstoneParkour> %help
L11[10:54:32] <MichiBot> Help: http://michibot.pc-logix.com:8989/help
L12[10:54:59] <Redston​eParkour> oh wait its %whatami
L13[10:54:59] <MichiBot> You are nothing! NOTHING!
L14[10:55:05] <Redston​eParkour> yes i know
L15[10:55:26] <Redston​eParkour> * know...
L16[10:55:26] <Michiyo> %whatami
L17[10:55:26] <MichiBot> You are nothing! NOTHING!
L18[10:55:35] <Redston​eParkour> huh nevermind
L19[11:05:01] <Redston​eParkour> hm what if i
L20[11:06:05] <Redston​eParkour> nevermind
L21[11:08:06] <Redston​eParkour> well anyways @Michiyo the above is still bad (check both irc and discord-side)
L22[11:08:47] <Redston​eParkour> (though i wonder why it didnt escalate privileges)
L23[11:12:54] <Redston​eParkour> ok nvm its worse
L24[11:13:17] <Redston​eParkour> peeking at my logs there are quite some instances of lines without an username prefix
L25[11:16:28] <Redston​eParkour> (rip)grep for "Corded\t[^<>]"
L26[11:17:37] <Redston​eParkour> seems it happens on at least line-introducing edits
L27[11:17:38] <Redston​eParkour> and replies to multiline messages?
L28[11:17:40] <Corded> > <Redston​eParkour> seems it happens on at least line-introducing edits
L29[11:17:40] <Corded> and rep…
L30[11:17:40] <Redston​eParkour> test
L31[11:17:54] <Redston​eParkour> yup
L32[12:36:00] <Spider​EveryOS> %whatami
L33[12:36:00] <MichiBot> You are nothing! NOTHING!
L34[13:58:51] <Michiyo> It doesn't escalate privileges because I'm not an idiot. It doesn't do shit on nicks, Corded and MichiBot exchange information outside if the bridge for permissions.
L35[14:25:30] ⇦ Quits: Corded (~MichiBot@eos.pc-logix.com) (Quit: Bridge shutting down)
L36[14:25:38] *** Joins: Corded (~MichiBot@eos.pc-logix.com) Michibot
L37[14:25:59] <Mic​hiyo> meh
L38[14:26:02] <Mic​hiyo> * meh.
L39[14:26:04] <Mic​hiyo> There.
L40[14:29:34] <RedstoneParkour> then i wonder how that's exchanged...
L41[14:29:36] <RedstoneParkour> ah well its fixed
L42[14:55:46] <Amanda> Quantum entanglement between the two processes
L43[15:04:48] ⇦ Quits: RedstoneParkour (~RedstoneP@109.36.238.59) (Ping timeout: 195 seconds)
L44[15:05:22] *** Joins: RedstoneParkour (~RedstoneP@109.36.238.59) RedstoneParkour
L45[21:19:48] <Michiyo> Every time Corded sends a message with a command, MichiBot knows Corded is a bridge. And Corded knows every messages on the Discord side. So when a bridged command comes across MichiBot asks Corded about the message, the author id, the channel etc. And if it doesn't match it doesn't run the command
L46[21:20:25] <Michiyo> Corded knew the author id of the original message, and editing it didn't change that
L47[21:22:13] <Michiyo> Discord <-> IRC admin perms require the admin's userid set in the ops table
L48[21:26:20] <Mic​hiyo> https://github.com/PC-Logix/MichiBot/blob/main/services/bridgeAuth.js
L49[21:26:20] <Mic​hiyo> https://github.com/PC-Logix/MichiBot/blob/main/services/permissions.js#L575
L50[21:26:41] <Mic​hiyo> https://github.com/PC-Logix/MichiBot/blob/main/services/permissions.js#L575
L51[21:26:41] <Mic​hiyo> https://github.com/PC-Logix/MichiBot/blob/main/services/permissions.js#L575
L52[21:26:52] <Mic​hiyo> * https://github.com/PC-Logix/MichiBot/blob/main/services/permissions.js#L575
L53[21:26:52] <Corded> https://github.com/PC-Logix/MichiBot/blob/main/services/permissions.js#L94
L54[21:27:10] <Mic​hiyo> ugh...
L55[21:27:34] <Mic​hiyo> https://github.com/CaitlynMainer/Yuri/blob/main/yuri.js#L94
L56[21:27:34] <Mic​hiyo> https://github.com/CaitlynMainer/Yuri/blob/main/yuri.js#L1097
L57[21:27:38] <Mic​hiyo> there, the rigbht links
L58[21:27:56] <Mic​hiyo> * right
<<Prev Next>> Scroll to Top