s0md3v / awesomexss Goto Github PK
View Code? Open in Web Editor NEWAwesome XSS stuff
License: MIT License
Awesome XSS stuff
License: MIT License
add awesome xss training section :
https://prompt.ml
https://alf.nu/alert1
https://www.s-p-o-o-k-y.com/
https://xss-game.appspot.com/
https://polyglot.innerht.ml/
http://sudo.co.il/xss/
https://hack.me/t/XSS
https://www.root-me.org/?page=recherche&lang=en&recherche=xss
https://chefsecure.com/courses/xss/challenges
https://www.wechall.net/challs/XSS
https://github.com/ethicalhack3r/DVWA
add these to tricks
1- when u are using javascript:// u can add "%0A" to create a new line so not need to external .js files according to : https://security.stackexchange.com/a/169559
2 - http://jsfuck.com/ uses special javascript properties to generate awesome payloads
also payloads without context are useless add some context
...seems a worker's importScripts. as I found in dangerously ubiquitous Content Insights which executes code from social networks around the world, including Russia based ones.
https://docs.contentinsights.com/setup/
function getSocial(t, e) {
function n(t, e, n, i) {
if ('undefined' != typeof Worker) {
void 0 === i && (i = '');
var a = '';
for (var o in e) a += '&' + o + '=' + e[o];
var r = new Blob([i + 'var cb = function(val) { postMessage(val) };try { importScripts(\'' + t + '?callback=cb' + a + '&x=' + Math.random() + '\'); } catch (ex) {}'], {
type: 'text/javascript'
}),
s = window.URL.createObjectURL(r),
c = new Worker(s);
c.onmessage = function (t) {
n(t),
c.terminate()
},
c.onerror = function () {
},
setTimeout(function () {
c.terminate()
}, 10000)
}
}
for (var i = [
'fb_count',
'vk_like',
'vk_share',
'ok_count',
'ln_count',
'pn_count',
'gp_count'
], a = [
0,
1,
2
], o = [
4,
2,
1
], r = 0, s = 0; s < o.length; s++) r += o[s];
for (var c = [
], u = 0; u < a.length; ) {
for (s = 0; s < o[u]; s++) c[c.length] = a[u];
u++
}
switch (c[Math.floor(Math.random() * r)]) {
case 0:
isSocialCountPredefined('fb_count') || n('https://graph.facebook.com/', {
format: 'jsonp',
id: t,
fields: 'og_object{engagement{count}},share'
}, function (t) {
var n = '';
void 0 !== t.data.og_object && (n += '&fb_count=' + t.data.og_object.engagement.count),
void 0 !== t.data.share && (n += '&fb_share_count=' + t.data.share.share_count),
e(n)
}),
isSocialCountPredefined('vk_share') || n('https://vk.com/share.php', {
act: 'count',
url: t
}, function (t) {
void 0 !== t.data && e('&vk_share=' + t.data)
}, 'var VK = { Share: { count: function(a, b){ postMessage(b); } }};');
break;
case 1:
@s0md3v, can i merge this issue ?
Hello @s0md3v
Great work and thanks for all your contributions! Just happened to be looking at the Awesome Encoding
table and noticed a typo in the Char column for backslash \
... you actually have a forward slash /
.
HTML | Char | Numeric | Description | Hex | CSS (ISO) | JS (Octal) | URL |
---|---|---|---|---|---|---|---|
-- | -- | -- | -- | -- | -- | -- | -- |
\ |
\ |
backslash | u+005C |
\005c |
\134 | %5C | |
-- | ^here | -- | -- | -- | -- | -- | -- |
-- | -- | -- | -- | -- | -- | -- | -- |
\ |
\ | \ |
backslash | u+005C |
\005c |
\134 | %5C |
-- | -- | -- | -- | -- | -- | -- | -- |
http://www.xss-payloads.com/payloads-list.html?a#category=all
you said awesome xss exploits are there , but the domain is expired
<svg onload=alert%26%230000000040"1")>
Can this be made to close and open along given paths so it can be more user friendly? Similar to the OSINT Framework. It could even be an alternate version offered...
<script>
window.onerror=function(s){
alert(s)
}
throw new Error('xss')
</script>
Hello,In your tricks "
you can use // to close a tag instead of >
.",I tried it in chrome,but its not worked,It's specific browser or version?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.