Skip to content

Instantly share code, notes, and snippets.

@cmartinbaughman
cmartinbaughman / GoogleHackMasterList.txt
Last active March 24, 2025 04:01
The definitive super list for "Google Hacking".
admin account info" filetype:log
!Host=*.* intext:enc_UserPassword=* ext:pcf
"# -FrontPage-" ext:pwd inurl:(service | authors | administrators | users) "# -FrontPage-" inurl:service.pwd
"AutoCreate=TRUE password=*"
"http://*:*@www” domainname
"index of/" "ws_ftp.ini" "parent directory"
"liveice configuration file" ext:cfg -site:sourceforge.net
"parent directory" +proftpdpasswd
Duclassified" -site:duware.com "DUware All Rights reserved"
duclassmate" -site:duware.com
@Asparagirl
Asparagirl / gist:6202872
Last active March 25, 2025 17:09
Want to help Archive Team do a "panic grab" of a website, so that you can later upload it to the Internet Archive for inclusion in its WayBack Machine? Here's the code!

Want to grab a copy of your favorite website, using wget in the command line, and saving it in WARC format? Then this is the gist for you. Read on!

First, copy the following lines into a textfile, and edit them as needed. Then paste them into your command line and hit enter:

export USER_AGENT="Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.20.25 (KHTML, like Gecko) Version/5.0.4 Safari/533.20.27"
export DOMAIN_NAME_TO_SAVE="www.example.com"
export SPECIFIC_HOSTNAMES_TO_INCLUDE="example1.com,example2.com,images.example2.com"
export FILES_AND_PATHS_TO_EXCLUDE="/path/to/ignore"
export WARC_NAME="example.com-20130810-panicgrab"
@xorgnak
xorgnak / ii.sh
Last active September 27, 2022 02:12
A simple irc bot for suckless' ii irc client. Enjoy.
#!/usr/bin/env bash
#-------------------------------------------------------------------------------#
# FUNNELBOT!!! - a whole bunch of fun in a terminal.
#---------------------------------------+---------------------------------------#
############################################################# #
######################################### #
##################### #
########### #
##### (C)2013 [email protected] (cc) by E. Leonard #
@geoghegan
geoghegan / ImgurDownload.sh
Created November 20, 2013 21:40
Download images from Imgur Sub-Reddit
# Downloads the first 100 pages of images from SUBREDDIT
for I in `seq 1 100`; do wget -q "http://imgur.com/r/SUBREDDIT/page/$I" -O - | grep '"post"' | grep class | cut -d\" -f 2 | while read ID; do echo "Downloading $ID.jpg"; wget -q -c "http://i.imgur.com/$ID.jpg"; done; done
@jeffThompson
jeffThompson / Words In The Periodic Table: Results
Created December 4, 2013 15:15
A (partial but pretty extensive) list of words that can be made from the elements in the periodic table.
Ac
AcCePt
AcCePtS
AcCEsS
AcCEsSeS
AcCrUAl
AcCRuAl
AcCrUAlS
AcCRuAlS
AcCrUEs
@jonathanmorley
jonathanmorley / regex_golf.md
Last active March 1, 2025 13:14 — forked from jpsim/answers.md
Best possible answers collected so far for [Regex golf](http://regex.alf.nu/). === WARNING: SPOILERS ===
@almost
almost / gist:8756247
Last active April 4, 2016 01:55
Regular Expression Puzzle Solver Output
$ ghc recross.hs && ./recross
[2 of 2] Compiling Main ( recross.hs, recross.o )
Linking recross ...
Iteration 0
. . . . . . .
. . . . . . . .
. . . . . . . . .
. . . . . . . . . .
. . . . . . . . . . .
@shippy
shippy / crawler.py
Created April 29, 2014 04:06
Scripts for scraping google results, gather first-order links between them, and export them to Gephi-compatible CSV. Order of running: scrape.sh, crawler.py, remove-duplicates.py, export.py, and domain-network.py.
# Crawls results scraped by scrape.sh; saves resulting nodes and edges into pickles.
import pickle
import urlparse
from objects import *
import pdb
nodes = []
edges = []
@vivien
vivien / irccat
Created May 2, 2014 00:38
irccat - Using netcat with an IRC channel
#!/bin/sh
# Copyright 2014 Vivien Didelot <[email protected]>
# Licensed under the terms of the GNU GPL v3, or any later version.
NICK=irccat42
SERVER=irc.freenode.net
PORT=6667
CHAN="#irccat"
{