Comments (8)
Maybe it would be worth exploring when this technique would bypass the split cache? It probably mostly works when x.com
requests a resource from x.com
? Could you confirm? That could be presented as a nice split cache bypass.
from wiki.
I think so, ifCached_window probably could be more reliable it makes it harder to test.
Its now using the pagehide event to make the code smaller.
I will probably do more testing later.
Did you get the email I sent?
from wiki.
This seems to be more reliable
async function ifCached_window(url) {
return new Promise(resolve => {
checker.location = url;
// Cache only
setTimeout(() => {
checker.stop();
}, 20);
// Get result
setTimeout(() => {
try {
if (checker.location.href !== "about:blank") {
// Origin has changed
resolve(true);
checker.location = "about:blank";
}
} catch {
// No permission for origin
resolve(true);
checker.location = "about:blank";
}
resolve(false);
}, 50);
});
}
from wiki.
Split cache got disabled for me so thats why the testing was bad.
from wiki.
I would like to get it working without the window.open
window.stop() seems like a good replacement for the AbortController
Annoyingly dont know a way to reload a page bypassing cache using navigation (purge)
from wiki.
Annoyingly dont know a way to reload a page bypassing cache using navigation (purge)
Maybe instant win.close()
? Should be quite equivalent to window.stop()
from wiki.
checker.stop() works even if its a separate window.
The issue with checker.close() is that it requires window.open every time.
Cache test works however cache refreshing does not.
from wiki.
Added in #106
from wiki.
Related Issues (20)
- CORS error on Origin Reflection misconfiguration HOT 16
- Cache Probing through image.complete property HOT 17
- Media information leaks HOT 6
- CSS Tricks HOT 15
- xsleaks.dev vs xsleaks.com HOT 2
- Add POC for connection pool attacks. HOT 23
- Add device performance leaks. HOT 6
- CSS Injection section HOT 2
- Add interactive examples. HOT 1
- Would "Existence oracle for Secure cookies on insecure Web origins" be a worthy addition? HOT 1
- cache partitioning HOT 2
- ID Attribute framing protection bypass link HOT 3
- Hints in Contribution section HOT 1
- https://xsleaks.dev/docs/attacks/navigations/#download-bar no longer strictly true
- "Edit this article" points to invalid URL (extra slash)
- Separate Contributors to a new article. HOT 2
- Consider changing the example on the Introduction page HOT 2
- The "Root cause of XS-Leaks" section is a bit hard to understand
- Add more examples of utilising Frame Counting
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wiki.