Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Google cheat sheet for use of codes used in editing code., Summaries of Computational Methods

This is a sheet which has the codes used when editing google code.

Typology: Summaries

2020/2021

Uploaded on 10/15/2023

mary-jane-55
mary-jane-55 🇺🇸

1 document

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Google
Hacking and Defense
Cheat Sheet
POCKET REFERENCE GUIDE
SANS Stay Sharp Program
http://www.sans.org
http://www.sans.org/staysharp
©SANS Institute 2006
Purpose
This document aims to be a quick reference
outlining all Google operators, their
meaning, and examples of their usage.
What to use this sheet for
Use this sheet as a handy reference that outlines the
various Google searches that you can perform. It is
meant to support you throughout the Google Hacking
and Defense course and can be used as a quick
reference guide and refresher on all Google advanced
operators used in this course. The student could also
use this sheet as guidance in building innovative
operator combinations and new search techniques.
This sheet is split into these sections:
• Operator Examples
• Advanced Operators
• Number Searching
• Calculator Operators
• Search Parameters
References:
http://www.google.com/intl/en/help/refinesearch.html
http://johnny.ihackstuff.com
http://www.google.com/intl/en/help/cheatsheet.html
Operator Example Finds Pages Containing
sailboat chesapeake bay the words sailboat, Chesapeake and
Bay
sloop OR yawl either the word sloop or the word yawl
“To each his own” the exact phrase to each his own
virus -computer the word virus but NOT the word
computer
Star Wars Episode +III This movie title, including the roman
numeral III
~boat loan loan info for both the word boat and its
synonyms: canoe, ferry, etc.
define:sarcastic definitions of the word sarcastic from
the Web
mac * x the words Mac and Xseparated by
exactly one word
I’m Feeling Lucky Takes you directly to first web page
(Google link) returned for your query
Operator Examples
Search Value Description of Use in
Parameters Google Search URLs
qthe search term The search term
filter 0 or 1 If filter is set to 0, show
potentially duplicate results.
as_epq a search phrase The value submitted is as an
exact phrase. No need to
surround with quotes.
as_ft i = include The file type indicated by
e = exclude as_filetype is included or
excluded in the search.
as_filetype a file extension The file type is included or
excluded in the search
indicated by as_ft.
as_occt any = anywhere Find the search term
title = page title in the specified location.
body = text of page
url = in the page URL
links = in links to
the page
as_dt i = include The site or domain indicated
e = exclude by as_sitesearch is included
or excluded in the search.
as_sitesearch site or domain The file type is included or
excluded in the search
indicated by as_dt .
as_qdr m3 = three months Locate pages updated with in
m6 = six months the specified time frame.
y = past year
Search Parameters
pf2

Partial preview of the text

Download Google cheat sheet for use of codes used in editing code. and more Summaries Computational Methods in PDF only on Docsity!

Google

Hacking and Defense

Cheat Sheet

P O C K E T R E F E R E N C E G U I D E

SANS Stay Sharp Program

http://www.sans.org http://www.sans.org/staysharp

©SANS Institute 2006

Purpose

This document aims to be a quick reference

outlining all Google operators, their

meaning, and examples of their usage.

What to use this sheet for

Use this sheet as a handy reference that outlines the

various Google searches that you can perform. It is

meant to support you throughout the Google Hacking

and Defense course and can be used as a quick

reference guide and refresher on all Google advanced

operators used in this course. The student could also

use this sheet as guidance in building innovative

operator combinations and new search techniques.

This sheet is split into these sections:

• Operator Examples

• Advanced Operators

• Number Searching

• Calculator Operators

• Search Parameters

References:

http://www.google.com/intl/en/help/refinesearch.html

http://johnny.ihackstuff.com

http://www.google.com/intl/en/help/cheatsheet.html

Operator Example Finds Pages Containing

sailboat chesapeake bay the words sailboat, Chesapeake and Bay

sloop OR yawl either the word sloop or the word yawl

“To each his own” the exact phrase to each his own

virus -computer the word virus but NOT the word computer

Star Wars Episode +III This movie title, including the roman numeral III

~boat loan loan info for both the word boat and its synonyms: canoe, ferry, etc.

define: sarcastic definitions of the word sarcastic from the Web

mac * x the words Mac and X separated by exactly one word

I’m Feeling Lucky Takes you directly to first web page (Google link) returned for your query

Operator Examples

Search Value Description of Use in

Parameters Google Search URLs

q the search term The search term

filter 0 or 1 If filter is set to 0, show potentially duplicate results.

as_epq a search phrase The value submitted is as an exact phrase. No need to surround with quotes.

as_ft i = include The file type indicated by e = exclude as_filetype is included or excluded in the search.

as_filetype a file extension The file type is included or excluded in the search indicated by as_ft.

as_occt any = anywhere Find the search term title = page title in the specified location. body = text of page url = in the page URL links = in links to the page

as_dt i = include The site or domain indicated e = exclude by as_sitesearch is included or excluded in the search.

as_sitesearch site or domain The file type is included or excluded in the search indicated by as_dt.

as_qdr m3 = three months Locate pages updated with in m6 = six months the specified time frame. y = past year

Search Parameters

Advanced Operators Meaning What To Type Into Search Box (& Description of Results)

site: Search only one website conference site:www.sans.org (Search SANS site for conference info)

[#]…[#] or numrange: Search within a range of numbers plasma television $1000...1500 (Search for plasma televisions between $1000 and $1500)

date: Search only a range of months hockey date: 3 (Search for hockey references within past 3 months; 6 and 12-month date- restrict options also available)

safesearch: Exclude adult-content safesearch: sex education (Search for sex education material without returning adult sites)

link: linked pages link:www.sans.org (Find pages that link to the SANS website)

info: Info about a page info:www.sans.org (Find information about the SANS website)

related: Related pages related:www.stanford.edu (Find websites related to the Stanford website)

intitle: Searches for strings in the intitle:conference (Find pages with "conference" in the page title) title of the page

allintitle: Searches for all strings within allintitle:conference SANS (Find pages with "conference" and "SANS" in the page title. the page title Doesn't combine well with other operators)

inurl: Searches for strings in the URL inurl:conference (Find pages with the string "conference" in the URL)

allinurl: Searches for all strings allinurl:conference SANS (Find pages with “conference” and "SANS" in the URL. within the URL Doesn't combine well with other operators)

filetype: or ext: Searches for files with that filetype:ppt (Find files with the "ppt" file extension. file extension ".ppt" are MS PowerPoint files.)

cache: Display the Google cache cache:www.sans.org (Show the cached version of the page without performing the search) of the page

phonebook: or Display all, residential, phonebook:Rick Smith MD (Find all phone book listing for Rick Smith in Maryland. rphonebook: or business phone listings Cannot combine with other searches) bphonebook

author: Searches for the author of a author:Rick (Find all newsgroup postings with "Rick" in the author name or email address. newsgroup post Must be used with a Google Group search)

insubject: Search only in the subject of a insubject:Mac OS X (Find all newsgroup postings with "Mac OS X" in the subject of the newsgroup post post. Must be used with a Google Group search)

define: Various definitions of the word define:sarcastic (Get the definition of the word sarcastic) or phrase

stock: Get information on a stock stock:AAPL (Get the stock information for Apple Computer, Inc.) abbreviation

Advanced Operators

Number Searching Description

1Z9999W99999999999 UPS tracking numbers

999999999999 FedEx tracking numbers

9999 9999 9999 9999 9999 99 USPS tracking numbers

AAAAA999A9AA99999 Vehicle Identification Numbers (VIN)

305214274002 UPC codes

202 Telephone area codes

patent 5123123 Patent numbers (Remember to put the word "patent" before your patent number)

n199ua FAA airplane registration numbers (An airplane's FAA registration number is typically printed on its tail)

fcc B4Z-34009-PIR FCC equipment IDs (Remember to put the word "fcc" before the equipment ID)

Number Searching

Operators Meaning Type Into Search Box

  • addition 45 + 39
  • subtraction 45 – 39
  • multiplication 45 * 39

/ division 45 / 39

% of percentage of 45% of 39

^ raise to a power 2^ (2 to the 5th power)

Calculator Operators