Skip to content

Instantly share code, notes, and snippets.

View markstachowski's full-sized avatar

Mark Stachowski markstachowski

View GitHub Profile
@markstachowski
markstachowski / gist:eeb7a59e4aacb38973cfe2de0c875e0e
Created October 29, 2017 02:19 — forked from sshay77/gist:4b1f6616a7afabc1ce2a
google-search-url-parameters-query-string-
// ==UserScript==
// @name Google Search Better Privacy
// @description Delete unnecessary params and add useful params on Google Search.
// @version 0.0.4
// @include http://*.google.*/search*
// @include http://*.google.*/imgres*
// @include https://*.google.*/search*
// @include https://*.google.*/imgres*
// @exclude http://play.google.com/*
// @exclude http://mail.google.com/*
@markstachowski
markstachowski / NewGoogleDorks.md
Created November 11, 2017 04:49 — forked from cmbaughman/NewGoogleDorks.md
New Google Dorks for open directories.

Open Directories


Ebooks examples

Paste this in the search box or use the URL that follows:

+(.MOBI|.CBZ|.CBR|.CBC|.CHM|.EPUB|.FB2|.LIT|.LRF|.ODT|.PDF|.PRC|.PDB|.PML|.RB|.RTF|.TCR) PUT EBOOK NAME HERE intitle:"index of" -inurl:(jsp|pl|php|html|aspx|htm|cf|shtml) -inurl:(listen77|mp3raid|mp3toss|mp3drug|index_of|wallywashis)
@markstachowski
markstachowski / GoogleHackMasterList.txt
Created November 11, 2017 18:12 — forked from cmartinbaughman/GoogleHackMasterList.txt
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
Titanic -inurl:(htm|html|php|pls|txt) intitle:index.of “last modified” (mkv|mp4|avi)
hey jude -inurl:(htm|html|php|pls|txt) intitle:index.of “last modified” (mp3|wma|aac|flac)
@markstachowski
markstachowski / google_tricks.txt
Created November 11, 2017 18:21 — forked from 64lines/google_tricks.txt
Master Google Tricks
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

Google Search: Operators

@todo[#deprecate]

|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|

Search Service Search Operators
Web Search [allinanchor:][1], [allintext:][2], [allintitle:][3], [`
@markstachowski
markstachowski / google-search-operator
Created November 12, 2017 22:06 — forked from dnsang/google-search-operator
Google Useful Command
# some common and useful google search tips
# for ref: http://www.google.com/advanced_search
###### tips #####
define hello >> to looking for definition of hello
###### Content Search & Operator ########
"hello world" >> to search for exact match of hello world
hello + world >> to search for hello and word eg: hello to my world
hello -world >> to search for hello, exclude word eg: hello to my house
hello * world >> to search fuzzy for hello *** world
~hello >> to search similar for hello eg: hi, hey
@markstachowski
markstachowski / google-fu-tips.md
Created November 12, 2017 22:12 — forked from dannguyen/google-fu-tips.md
Drafting a list of general search tips

Google Apps Script Document Utilities

  • getAllLinks.js

  • getAllLinks(element) - returns array of all UrlLinks in Document

  • findAndReplaceLinks(searchPattern,replacement) - changes all matching links in Document

  • changeCase.js - Document add-in, provides case-change operations in the add-in Menu.

  • onOpen - installs "Change Case" menu

  • _changeCase - worker function to locate selected text and change text case. Case conversion is managed via callback to a function that accepts a string as a parameter and returns the converted string.

  • helper functions for five cases