Skip to content

Instantly share code, notes, and snippets.


Rael E314c

View GitHub Profile
View test.php
<h1> checking if this works </h1>
<? echo exec('whoami');
echo exec('ls /usr/share/php');
E314c / payload.js
Created Dec 19, 2019
My favourite XSS payload that I will use whenever possible
View payload.js
E314c /
Last active Aug 15, 2018
WiSpi Ideas and Information
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 / 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.