Showing posts with label google search. Show all posts
Showing posts with label google search. Show all posts

Monday, November 14, 2011

HowTo: Pretend you are working (While Text Browsing)

Commandline Web Browser (Just like lynx) using VbScript and IE API.

About the code: The code below will use the Internet Explorer API to load the top 20 stories from google news and choosing one of the article will load the document html of the target URL for you to be able to read news from your DOS command line. Best way to look like you are still working on a code while actually reading news without opening any web browsers :p

Requirements: IE 6++

Code Snippet:

Sub Loadnews()
Dim arrTestArray()
Dim urlSelect
intSize = 0
Dim rInterval:rInterval=60
Dim sTime:sTime = Now
Set ie = CreateObject("InternetExplorer.Application")
with ie
.visible = 0
.navigate "http://news.google.com/"
WScript.StdOut.Write vbcrlf & vbtab & "Loading Top Stories for @ " & Now
while .busy
WScript.StdOut.Write "."
WScript.Sleep 1000
wend
WScript.Echo vbcrlf & vbtab & "elapsed : " & datediff("s",sTime,Now) & " secs"
WScript.Echo vbtab & "next refresh: " & dateadd("s",rInterval,Now) & " secs" & vbcrlf
dim ctr:ctr=1
Set newsTitle = .Document.getElementsByTagName("a")
For each xTag in newsTitle
If instr(xTag.InnerHTML,"titletext") >0 then
WScript.Echo vbcrlf & vbtab & ctr & ". " & xTag.InnerText & _
"..." & vbcrlf & vbTab & "[" & xTag & "]"
ctr = ctr + 1
ReDim Preserve arrTestArray(intSize)
arrTestArray(intSize) = xTag
intSize = intSize + 1
If ctr >20 Then Exit For
End If
Next
end with
ie.quit
Set ie = nothing
Dim sleepctr:sleepctr=1
WScript.StdOut.Write vbcrlf & vbtab & "Choose an article #: "

urlSelect = WScript.StdIn.ReadLine
Set ie = CreateObject("InternetExplorer.Application")
Dim tgt:tgt=arrTestArray(urlSelect-1)
with ie
.navigate tgt
WScript.StdOut.Write vbcrlf & vbtab & "Loading [URL]..." & arrTestArray(urlSelect-1)
while .busy
WScript.StdOut.Write "."
WScript.Sleep 1000
wend
WScript.Echo .Document.Body.InnerText
end with
WScript.StdOut.Write vbcrlf & vbtab & "Press any key to continue..."
jcontinue = WScript.StdIn.ReadLine

End Sub


Screen grab:



If at first you fail, call it version 1.0

Friday, June 15, 2007

Keyword search trick

Searching your Blogs made easy...

A two function javascript that allows your visitors to query the web with any keywords from your page.

The first function checks if the item you double clicked on the document is a text then it passes it to the second function that appends the text value to your specified query string.

You can opt for the result to be displayed on the same page by using:

document.getElementById("<$id$>").innerHtml = ""

Or Pop up a new window:

window.open("<$variables$>")

Or redirect the page:

this.document.location=("" + "")

Code Snippet:

  1. function searchmySite() {
  2. if (navigator.appName!='Microsoft Internet Explorer') {
  3. var mykeywords = document.getSelection();
  4. omg(mykeywords);
  5. }
  6. else {
  7. var mykeywords = document.selection.createRange();
  8. if(document.selection.type == 'Text' && mykeywords .text>'') {
  9. document.selection.empty();
  10. omg(mykeywords.text);}
  11. }
  12. function omg(mykeywords ) {
  13. var searchStr = "<Put your search string here>"
  14. while (mykeywords.substr(mykeywords.length-1,1)==' ')
  15. mykeywords=mykeywords.substr(0,mykeywords.length-1)
  16. while (mykeywords.substr(0,1)==' ')
  17. mykeywords=mykeywords.substr(1)
  18. if (mykeywords) document.location=(searchStr + mykeywords);
  19. }
  20. }
  21. document.ondblclick=searchmySite


If at first you fail, call it version 1.0

Sunday, May 20, 2007

Free Live Cams (Google Dorks Collection cont'd)

Live webcam views:

  • * inurl:/view.shtml
  • * intitle:”Live View / - AXIS” |
  • * inurl:view/view.shtml^
  • * inurl:ViewerFrame?Mode=
  • * inurl:ViewerFrame?Mode=Refresh
  • * inurl:axis-cgi/jpg
  • * inurl:axis-cgi/mjpg (motion-JPEG)
  • * inurl:view/indexFrame.shtml
  • * inurl:view/index.shtml
  • * inurl:view/view.shtml
  • * liveapplet
  • * intitle:”live view” intitle:axis
  • * intitle:liveapplet
  • * allintitle:”Network Camera NetworkCamera”
  • * intitle:axis intitle:”video server”
  • * intitle:liveapplet inurl:LvAppl
  • * intitle:”EvoCam”
  • * inurl:”webcam.html”
  • * intitle:”Live NetSnap Cam-Server feed”
  • * intitle:”Live View / - AXIS”
  • * intitle:”Live View / - AXIS 206M”
  • * intitle:”Live View / - AXIS 206W”
  • * intitle:”Live View / - AXIS 210″
  • * inurl:indexFrame.shtml Axis
  • * inurl:”MultiCameraFrame?Mode=Motion”
  • * intitle:start inurl:cgistart
  • * intitle:”WJ-NT104 Main Page”
  • * intext:”MOBOTIX M1″
  • * intext:”Open Menu”
  • * intext:”MOBOTIX M10″
  • * intext:”Open Menu”
  • * intext:”MOBOTIX D10″
  • * intext:”Open Menu”
  • * intitle:snc-z20 inurl:home/
  • * intitle:snc-cs3 inurl:home/
  • * intitle:snc-rz30 inurl:home/
  • * intitle:”sony network camera snc-p1″
  • * intitle:”sony network camera snc-m1″
  • * site:.viewnetcam.com -www.viewnetcam.com
  • * intitle:”Toshiba Network Camera” user login
  • * intitle:”netcam live image”
  • * intitle:”i-Catcher Console - Web Monitor”

Saturday, May 19, 2007

Google Dorks Collection

Limited to strings as there are beggars that will try to squeeze you for instructions and such...

No further explanation will be provided

  • robots.txt" "Disallow:" filetype:txt
  • intitle:index.of passwd passwd.bak
  • intitle:index.of haccess.ctl
  • intitle:index.of dead.letter
  • filetype:xls username password email
  • inurl:admin filetype:xls
  • "Thank you for your purchase" +download
  • intitle:"DocuShare"
  • inurl:"docushare/dsweb/" -faq -gov -edu
  • "#mysql dump" filetype:sql
  • "allow_call_time_pass_reference" "PATH_INFO"
  • "Certificate Practice Statement" filetype:PDF | DOC
  • "Generated by phpSystem"
  • "generated by wwwstat"
  • "Host Vulnerability Summary Report"
  • "HTTP_FROM=googlebot" googlebot.com "Server_Software="
  • "Index of" / "chat/logs"
  • "Installed Objects Scanner" inurl:default.asp
  • "Mecury Version" "Infastructure Group"
  • "Microsoft (R) Windows * (TM) Version * DrWtsn32 Copyright (C)" ext:log
  • "Most Submitted Forms and Scripts" "this section"
  • "Network Vulnerability Assessment Report"
  • "not for distribution" confidential
  • "phone * * *" "address *" "e-mail" intitle:"curriculum vitae"
  • "phpMyAdmin" "running on" inurl:"main.php"
  • "produced by getstats"
  • "Request Details" "Control Tree" "Server Variables"
  • "robots.txt" "Disallow:" filetype:txt
  • "Running in Child mode"
  • "sets mode: +p"
  • "sets mode: +s"
  • "Thank you for your order" +receipt
  • "This is a Shareaza Node"
  • "This report was generated by WebLog"
  • ( filetype:mail | filetype:eml | filetype:mbox | filetype:mbx ) intextassword|subject
  • (inurl:"robot.txt" | inurl:"robots.txt" ) intext:disallow filetype:txt
  • +":8080" +":3128" +":80" filetype:txt
  • +"HSTSNR" -"netop.com"
  • -sitehp.net -"The PHP Group" inurl:source inurl:url extHp
  • 94FBR "ADOBE PHOTOSHOP"
  • AIM buddy lists
  • allinurl:/examples/jsp/snp/snoop.jsp
  • allinurl:servlet/SnoopServlet
  • cgiirc.conf
  • cgiirc.conf
  • data filetype:mdb -site:gov -site:mil
  • exported email addresses
  • ext:asp inurlathto.asp
  • ext:cgi inurl:editcgi.cgi inurl:file=
  • ext:conf inurl:rsyncd.conf -cvs -man
  • ext:conf NoCatAuth -cvs
  • ext:dat bpk.dat
  • ext:gho gho
  • ext:ini intext:env.ini
  • ext:ldif ldif
  • ext:log "Software: Microsoft Internet Information Services *.*"
  • ext:mdb inurl:*.mdb inurl:fpdb shop.mdb
  • ext:nsf nsf -gov -mil
  • extqi pqi -database
  • ext:reg "username=*" putty
  • ext:txt "Final encryption key"
  • ext:txt inurl:dxdiag
  • ext:vmdk vmdk
  • ext:vmx vmx
  • filetype:asp DBQ=" * Server.MapPath("*.mdb")
  • filetype:bkf bkf
  • filetype:blt "buddylist"
  • filetype:blt blt +intext:screenname
  • filetype:cfg auto_inst.cfg
  • filetype:cnf inurl:_vti_pvt access.cnf
  • filetype:conf inurl:firewall -intitle:cvs
  • filetype:config web.config -CVS
  • filetype:ctt Contact
  • filetype:ctt ctt messenger
  • filetype:eml eml +intext:"Subject" +intext:"From" +intext:"To"
  • filetype:fp3 fp3
  • filetype:fp5 fp5 -site:gov -site:mil -"cvs log"
  • filetype:fp7 fp7
  • filetype:inf inurl:capolicy.inf
  • filetype:lic lic intext:key
  • filetype:log access.log -CVS
  • filetype:mbx mbx intext:Subject
  • filetype:myd myd -CVS
  • filetype:ns1 ns1
  • filetypera ora
  • filetypedb pdb backup (Pilot | Pluckerdb)
  • filetypehp inurl:index inurlhpicalendar -site:sourceforge.net
  • filetypeot inurl:john.pot
  • filetypest inurl:"outlook.pst"
  • filetypest pst -from -to -date
  • filetype:qbb qbb
  • filetype:rdp rdp
  • filetype:reg "Terminal Server Client"
  • filetype:vcs vcs
  • filetype:wab wab
  • filetype:xls -site:gov inurl:contact
  • filetype:xls inurl:"email.xls"
  • Financial spreadsheets: finance.xls
  • Financial spreadsheets: finances.xls
  • Ganglia Cluster Reports
  • haccess.ctl (one way)
  • haccess.ctl (VERY reliable)
  • ICQ chat logs, please...
  • iletype:log cron.log
  • intext:"Session Start * * * *:*:* *" filetype:log
  • intext:"Tobias Oetiker" "traffic analysis"
  • intextpassword | passcode) intextusername | userid | user) filetype:csv
  • intext:gmail invite intext:http://gmail.google.com/gmail/a
  • intext:SQLiteManager inurl:main.php
  • intitle:"Apache::Status" (inurl:server-status | inurl:status.html | inurl:apache.html)
  • intitle:"AppServ Open Project" -site:www.appservnetwork.com
  • intitle:"ASP Stats Generator *.*" "ASP Stats Generator" "2003-2004 weppos"
  • intitle:"Big Sister" +"OK Attention Trouble"
  • intitle:"edna:streaming mp3 server" -forums
  • intitle:"FTP root at"
  • intitle:"index of" +myd size
  • intitle:"Index Of" -inurl:maillog maillog size
  • intitle:"Index Of" cookies.txt size
  • intitle:"index of" mysql.conf OR mysql_config
  • intitle:"Index of" upload size parent directory
  • intitle:"index.of *" admin news.asp configview.asp
  • intitle:"index.of" .diz .nfo last modified
  • intitle:"Multimon UPS status page"
  • intitle:"PHP Advanced Transfer" (inurl:index.php | inurl:showrecent.php )
  • intitle:"PhpMyExplorer" inurl:"index.php" -cvs
  • intitle:"statistics of" "advanced web statistics"
  • intitle:"System Statistics" +"System and Network Information Center"
  • intitle:"Usage Statistics for" "Generated by Webalizer"
  • intitle:"wbem" compaq login
  • intitle:"Web Server Statistics for ****"
  • intitle:"web server status" SSH Telnet
  • intitle:"welcome.to.squeezebox"
  • intitle:admin intitle:login
  • intitle:index.of "Apache" "server at"
  • intitle:index.of cleanup.log
  • intitle:index.of dead.letter
  • intitle:index.of inbox
  • intitle:index.of inbox dbx
  • intitle:index.of ws_ftp.ini
  • intitle:intranet inurl:intranet +intext:"phone"
  • inurl:"/axs/ax-admin.pl" -script
  • inurl:"/cricket/grapher.cgi"
  • inurl:"bookmark.htm"
  • inurl:"cacti" +inurl:"graph_view.php" +"Settings Tree View" -cvs -RPM
  • inurl:"newsletter/admin/"
  • inurl:"newsletter/admin/" intitle:"newsletter admin"
  • inurl:"putty.reg"
  • inurl:"smb.conf" intext:"workgroup" filetype:conf conf
  • inurl:*db filetype:mdb
  • inurl:/_layouts/settings
  • inurl:admin filetype:xls
  • inurl:admin intitle:login
  • inurl:backup filetype:mdb
  • inurl:cgi-bin/printenv
  • inurl:cgi-bin/testcgi.exe "Please distribute TestCGI"
  • inurl:changepassword.asp
  • inurl:ds.py
  • inurl:email filetype:mdb
  • inurl:fcgi-bin/echo
  • inurl:forum filetype:mdb
  • inurl:forward filetype:forward -cvs
  • inurl:getmsg.html intitle:hotmail
  • inurl:log.nsf -gov
  • inurl:main.php phpMyAdmin
  • inurl:main.php Welcome to phpMyAdmin
  • inurl:netscape.hst
  • inurl:netscape.hst
  • inurl:netscape.ini
  • inurldbc.ini ext:ini -cvs
  • inurlerl/printenv
  • inurlhp.ini filetype:ini
  • inurlreferences.ini "[emule]"
  • inurlrofiles filetype:mdb
  • inurl:report "EVEREST Home Edition "
  • inurl:server-info "Apache Server Information"
  • inurl:server-status "apache"
  • inurl:snitz_forums_2000.mdb
  • inurl:ssl.conf filetype:conf
  • inurl:tdbin
  • inurl:vbstats.php "page generated"
  • ipsec.conf
  • ipsec.secrets
  • ipsec.secrets
  • Lotus Domino address books
  • mail filetype:csv -site:gov intext:name
  • Microsoft Money Data Files
  • mt-db-pass.cgi files
  • MySQL tabledata dumps
  • mystuff.xml - Trillian data files
  • OWA Public Folders (direct view)
  • Peoples MSN contact lists
  • php-addressbook "This is the addressbook for *" -warning
  • phpinfo()
  • phpMyAdmin dumps
  • phpMyAdmin dumps
  • private key files (.csr)
  • private key files (.key)
  • Quicken data files
  • robots.txt
  • site:edu admin grades
  • SQL data dumps
  • Squid cache server reports
  • Unreal IRCd
  • Welcome to ntop!
  • intitlehpinfo "PHP Version"
  • intitle:"DocuShare" inurl:"docushare/dsweb/" -faq
  • "#mysql dump" filetype:sql
  • "allow_call_time_pass_reference" "PATH_INFO"
  • "Certificate Practice Statement" filetype:PDF | DOC
  • "Generated by phpSystem"
  • "This summary was generated by wwwstat"
  • "Host Vulnerability Summary Report"
  • "HTTP_FROM=googlebot" googlebot.com "Server_Software="
  • "Index of" / "chat/logs"
  • "Installed Objects Scanner" inurl:default.asp
  • "Mecury Version" "Infastructure Group"
  • "Microsoft (R) Windows * (TM) Version * DrWtsn32 C
  • "Most Submitted Forms and Scripts" "this section"
  • "Network Vulnerability Assessment Report"
  • +"HSTSNR" -"netop.com"
  • "not for distribution" confidential
  • "phone * * *" "address *" "e-mail" intitle:"curriculum vitae"
  • "phpMyAdmin" "running on" inurl:"main.php"
  • "These statistics were produced by getstats"
  • "Request Details" "Control Tree" "Server Variables"
  • "robots.txt" "Disallow:" filetype:txt
  • "Running in Child mode"
  • "sets mode: +p"
  • "sets mode: +s"
  • "Thank you for your order" +receipt
  • "This is a Shareaza Node"
  • "This report was generated by WebLog"
  • ( filetype:mail | filetype:eml | filetype:mbox | filetype:mbx ) intextassword|subject
  • (inurl:"robot.txt" | inurl:"robots.txt" ) intext:disallow filetype:txt
  • +":8080" +":3128" +":80" filetype:txt
  • buddylist.blt
  • allinurl:/examples/jsp/snp/snoop.jsp
  • allinurl:servlet/SnoopServlet
  • intitle:index.of cgiirc.config
  • data filetype:mdb -site:gov -site:mil
  • e-mail address filetype:csv csv
  • ext:asp inurlathto.asp
  • ext:cgi inurl:editcgi.cgi inurl:file=
  • ext:conf inurl:rsyncd.conf -cvs -man
  • ext:conf NoCatAuth -cvs
  • ext:dat bpk.dat
  • ext:gho gho
  • ext:ini intext:env.ini
  • ext:ldif ldif
  • ext:log "Software: Microsoft Internet Information
  • ext:mdb inurl:*.mdb inurl:fpdb shop.mdb
  • ext:nsf nsf -gov -mil
  • extqi pqi -database
  • ext:reg "username=*" putty
  • ext:txt "Final encryption key"
  • ext:txt inurl:dxdiag
  • ext:vmdk vmdk
  • ext:vmx vmx
  • filetype:bkf bkf
  • filetype:asp DBQ=" * Server.MapPath("*.mdb")
  • filetype:blt "buddylist"
  • filetype:blt blt +intext:screenname
  • filetype:cfg auto_inst.cfg
  • letype:cnf inurl:_vti_pvt access.cnf
  • inurl:*db filetype:mdb
  • inurl:"shopadmin.asp" "Shop Administrators only"
  • inurl:getmsg.html intitle:hotmail
  • inurl:admin intitle:login
  • inurl:backup filetype:mdb
  • inurl:admin filetype:xls
  • intitle:index.of "Apache" "server at"
  • intitle:admin intitle:login
  • intitle:"FTP root at"
  • intitle:"Apache::Status" (inurl:server-status | inurl:status.html | inurl:apache.html)
  • intitle:"ASP Stats Generator *.*" "ASP Stats Generator" "2003-2004 weppos"
  • intext:SQLiteManager inurl:main.php
  • intext:gmail invite intext:http://gmail.google.com/gmail/a
  • intextpassword | passcode) intextusername | userid | user) filetype:csv
  • intitlehpinfo "PHP Version"

Friday, May 18, 2007

Google search tips

If you want to search for music downloads effectively, use this query string on your search: intitle:Index.of?mp3 followed by the Song Title or Artist\Band Name.

For example, to search for Korn:

From the address bar:
www.google.com/search?hl=en&q=intitle%3AIndex.Of%3Fmp3+Korn&btnG=Google+Search&meta=

Or

From Google's Search bar, Type:
intitle:Index.of?mp3 Korn