Skip to content

Instantly share code, notes, and snippets.

@kellthenoise
kellthenoise / README.md
Created December 2, 2018 08:50 — forked from joyrexus/README.md
curl tutorial

An introduction to curl using GitHub's API.

Basics

Makes a basic GET request to the specifed URI

curl https://api.github.com/users/caspyin

Includes HTTP-Header information in the output

@edermi
edermi / kerberoast_pws.xz
Last active January 22, 2024 12:40
edermi Kerberoast PW list (XZ format)
This file has been truncated, but you can view the full file.
@mgeeky
mgeeky / .htaccess
Created November 9, 2016 13:45
.htaccess to use in Phishing virtual hosts to prevent Bots/Crawlers from getting page and safely redirect 404 not founds.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^PHISHING-DOMAIN\.com$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ https://TARGET-DOMAIN.com%{REQUEST_URI} [L,R=301]
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} Googlebot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} AdsBot-Google [NC,OR]
@joyrexus
joyrexus / README.md
Last active January 21, 2024 21:51 — forked from btoone/curl.md
curl tutorial

An introduction to curl using GitHub's API.

Basics

Makes a basic GET request to the specifed URI

curl https://api.github.com/users/caspyin

Includes HTTP-Header information in the output