- 浏览: 849620 次
- 性别:
- 来自: lanzhou
文章分类
最新评论
-
liu346435400:
楼主讲了实话啊,中国程序员的现状,也是只见中国程序员拼死拼活的 ...
中国的程序员为什么这么辛苦 -
qw8226718:
国内ASP.NET下功能比较完善,优化比较好的Spacebui ...
国内外开源sns源码大全 -
dotjar:
敢问兰州的大哥,Prism 现在在12.04LTS上可用么?我 ...
最佳 Ubuntu 下 WebQQ 聊天体验 -
coralsea:
兄弟,卫星通信不是这么简单的,单向接收卫星广播信号不需要太大的 ...
Google 上网 -
txin0814:
我成功安装chrome frame后 在IE地址栏前加上cf: ...
IE中使用Google Chrome Frame运行HTML 5
Let me begin this post by saying that I am not writing this so that you can read this and become a haCkEr. I am writing this post so you can learn to identify a vulnerability and try to avoid an embarrassment.
Google is an amazing search engine. The problem is that it is too good at what it does sometimes Here are some ways that google can reveal vulnerabilities on your website by mistake.
You allowed google to index a critical file:
This happens more often than you think. Wordpress for example houses important files under the wp-* folders and it is no one’s business except yours to look at these files. Other files like .htaccess htpasswd are critical to your site’s security (if you are using apache and ‘allow overrides’). Do not allow google to index them. You can prevent that by placing a robots.txt file on the root path of your website. More on that here.
The better option is to put in place a configuration that will not allow the sensitive file to be displayed in the first place. Not all robots will obey what you instruct using robots.txt. The FilesMatch directive on apache can help you protect your site.
You can double check that google can read your robots.txt using google analytics. You can check the files that google has indexed using the query’site:yoursitename.com
Google indexed a service page that is being served on a non regular port:
Examples of this are login pages or services that do not require a password. Searching for such pages can be done using the “inurl” keyword in searches. Here is an example inurl:8080. There are ways to tweak that search string to reveal more information about services on other ports. When you complement inurl:something_unique_in_the_url with a search using quotes, like inurl:1234 intitle:”Administration blah”, it can yield some very interesting results. Pick your favorite admin tool and replace the port and title with the admin home page equivalent. The search works on many major application / web servers.
Remember that google indexes your page. Even if you correct the problem, the damage is done and is still being done. With cached pages, a service that does not ask for user name and passwords (yes there are important services that do not require a username/password) will be completely indexed. Yikes ! The data that your service exposes is cached and indexed for everyone to see. Not what we want.
To avoid this simply shutdown services you do not need. If you need a service but you want that service to be private, block the port with a firewall.
You can optionally tell google bot and other bots not to index the page in question. But that is not really a solution. Be proactive and secure the service. A cached page can end up earning you some DOS attacks.
Google cracks MD5:
I realized that google could be used to crack weak passwords from this post. If the encryption is done without salting, the password will result in the same hash every time. A weak password can be guessed easily using this technique.
The lesson here is to use a strong password that no one will guess. The other lesson is to ensure that the links on your site do not pass along sensitive information. Here is the google search in case it interests you
Cached directory pages:
Your web server is quite capable of displaying a directory listing. What this means is that besides displaying HTML, if I were to request for a directory name instead, your web server will reveal the contents of the directory to me. Why is this bad ? It helps find more vulnerable files that are housed inside those directories. You can ask apache not to serve directory content by configuring the same in httpd.conf. The line of configuration will look something like this
Options Indexes FollowSymLinks
# More stuff here
Remove the word Indexes.
The related search query in google is intitle:”index of /”. Tweaking it will provide better results.
Before you make any configuration changes, always make a backup. Read about the changes you are making and understand what you are doing before you do it. Try these tricks on your site and check if it is secure. Be creative. Think about other sensitive terms like jsessionid, username, passwd, password, id etc.
Google is an amazing search engine. The problem is that it is too good at what it does sometimes Here are some ways that google can reveal vulnerabilities on your website by mistake.
You allowed google to index a critical file:
This happens more often than you think. Wordpress for example houses important files under the wp-* folders and it is no one’s business except yours to look at these files. Other files like .htaccess htpasswd are critical to your site’s security (if you are using apache and ‘allow overrides’). Do not allow google to index them. You can prevent that by placing a robots.txt file on the root path of your website. More on that here.
The better option is to put in place a configuration that will not allow the sensitive file to be displayed in the first place. Not all robots will obey what you instruct using robots.txt. The FilesMatch directive on apache can help you protect your site.
You can double check that google can read your robots.txt using google analytics. You can check the files that google has indexed using the query’site:yoursitename.com
Google indexed a service page that is being served on a non regular port:
Examples of this are login pages or services that do not require a password. Searching for such pages can be done using the “inurl” keyword in searches. Here is an example inurl:8080. There are ways to tweak that search string to reveal more information about services on other ports. When you complement inurl:something_unique_in_the_url with a search using quotes, like inurl:1234 intitle:”Administration blah”, it can yield some very interesting results. Pick your favorite admin tool and replace the port and title with the admin home page equivalent. The search works on many major application / web servers.
Remember that google indexes your page. Even if you correct the problem, the damage is done and is still being done. With cached pages, a service that does not ask for user name and passwords (yes there are important services that do not require a username/password) will be completely indexed. Yikes ! The data that your service exposes is cached and indexed for everyone to see. Not what we want.
To avoid this simply shutdown services you do not need. If you need a service but you want that service to be private, block the port with a firewall.
You can optionally tell google bot and other bots not to index the page in question. But that is not really a solution. Be proactive and secure the service. A cached page can end up earning you some DOS attacks.
Google cracks MD5:
I realized that google could be used to crack weak passwords from this post. If the encryption is done without salting, the password will result in the same hash every time. A weak password can be guessed easily using this technique.
The lesson here is to use a strong password that no one will guess. The other lesson is to ensure that the links on your site do not pass along sensitive information. Here is the google search in case it interests you
Cached directory pages:
Your web server is quite capable of displaying a directory listing. What this means is that besides displaying HTML, if I were to request for a directory name instead, your web server will reveal the contents of the directory to me. Why is this bad ? It helps find more vulnerable files that are housed inside those directories. You can ask apache not to serve directory content by configuring the same in httpd.conf. The line of configuration will look something like this
Options Indexes FollowSymLinks
# More stuff here
Remove the word Indexes.
The related search query in google is intitle:”index of /”. Tweaking it will provide better results.
Before you make any configuration changes, always make a backup. Read about the changes you are making and understand what you are doing before you do it. Try these tricks on your site and check if it is secure. Be creative. Think about other sensitive terms like jsessionid, username, passwd, password, id etc.
发表评论
-
谷歌副总裁称三年后台式电脑与搜索无关
2010-03-05 08:27 977谷歌声称,大约三年的时间,台式电脑将会逐渐被移动设备所取代。越 ... -
李开复:Vista 系统失败的真正内幕
2010-03-05 07:14 1062曾参与Windows Vista研发的李开复,在近日发表的博文 ... -
Android也创富:开发者月入1.3万美元
2010-03-04 12:48 873据国外媒体报道,一位名叫爱德华·金姆(Edward Kim ... -
星际争霸2的图形界面几乎全部使用Flash搭建?
2010-02-25 09:11 842国外一名玩家在使用工具破解了星际争霸2Beta版的资源包后发现 ... -
电脑DIY市场正在走向末路
2010-02-09 10:49 963作为多年来的DIY爱好者,写出上面的标题着实让自己感到有些难过 ... -
VMWare下安装MAC OS X Snow Leopard 10.6
2010-02-07 08:52 10735这是转载自远景论坛ycjcn 的帖子,大家可以点这查看原 ... -
Chrome操作系统13大要点
2009-11-22 05:38 1102·Chrome OS用户无法下载安装 ·Chrome OS将 ... -
揭开神秘面纱!谷歌Chrome OS操作系统大揭秘
2009-11-22 05:37 1192北京时间11月20日凌晨消息,谷歌于美国西部时间11月19日 ... -
家庭教育的20条金科玉律
2009-11-16 11:32 911一: 家长在家庭教育时一定要记住情感教育永远都大于道理教育。 ... -
微软修补Windows操作系统核心漏洞
2009-11-14 10:33 969微软于周二(11/9)公布了6大更新,修补15个安全漏洞, ... -
Update on the Windows 7 USB/DVD Tool
2009-11-14 10:32 1110As you've likely read and as ... -
暖气不热的100个原因
2009-11-14 00:05 1899暖气不热的原因比较复杂,并不是由几个或十几个原因就可 ... -
Phoenix Award BIOS将停产
2009-11-13 11:31 1177Phoenix/Award BIOS的总公司 ... -
Beware the Fake Google Chrome OS Download
2009-10-31 20:55 1013Google recently announced that ... -
吓坏微软 传Chrome OS测试版网络偷跑
2009-10-31 20:50 1127Google Chrome OS相信不少人已经不会陌生 ... -
Google Wave Federation: Why it Matters
2009-10-31 15:21 866According to The Next Web , th ... -
Google投资“暗光纤” 带宽成本几乎为零
2009-10-29 15:52 1040据国外媒体报道,拥有Y ... -
Build Your Own Dev Server with VirtualBox
2009-10-28 09:01 1040Sun’s VirtualBox is ideal for ... -
不能忽视的虚拟化技术漏洞
2009-10-25 08:48 1188恶意软件从一台虚拟机 ... -
不看后悔的行货iPhone资费大PK(转载)
2009-10-25 08:45 766眼看着就要到月底,i ...
相关推荐
《Google Hacks 2nd Edition》是一本专为探索和优化Google搜索引擎使用技巧而编写的指南,其第二版深入揭示了Google的强大功能和隐藏特性。这本书涵盖了从基本搜索技巧到高级搜索策略,帮助用户更有效地获取信息,...
### Google.Hacks:探索和利用全球信息资源的技巧和工具 #### 核心知识点概览 本书《Google.Hacks》是一本深入探索Google搜索引擎高级应用技术的书籍,它不仅介绍了如何高效地使用Google进行信息搜索,还展示了...
Google hacks is a collection of industrial-strength, real-world, tested solutions to practical problems
作者:Rael Dornfest, Paul Bausch and Tara Calishain 出版:O’Reilly Media 2006 ISBN:0596527063 格式:CHM; 5,7Mb; 543页
google hacks第四部分 原书名: Google Hacking for Penetration Testers, Volume 2 原出版社: Syngress 作者: (美)Johnny Long 译者: 李静[同译者作品] 丛书名: Google核心技术丛书
著名的google使用技巧,呵呵,不要干坏事呦。
<br>Written by Schuyler Erle and Rich Gibson, authors of the popular Mapping Hacks, Google Maps Hacks shares dozens of tricks for combining the capabilities of Google Maps with your own datasets....
You'll learn clever and powerful methods for using the advanced search interface and the new Google API, including how to build and modify scripts that can become custom business applications based ...
《Google Hacks 3rd Edition》是一本专为Google搜索引擎用户设计的经典指南,旨在帮助读者深入理解和充分利用这一全球最广泛使用的搜索工具。本书涵盖了各种高级搜索技巧、窍门和策略,旨在提高搜索效率,获取更精确...
而且作为该书的第三版,本书介绍了Google的很多新功能,包括: 1,使用Google聊天工具Google Talk 2,创建定制的Google Map,并且把它添加到自己的站点中 3,擦除搜索路径,保护浏览隐私 4,把Google查询转换为RSS...
《Google Apps Hacks Apr 2008》是2008年针对Google Apps的一系列技巧和优化策略的集合,旨在帮助用户充分利用这个强大的在线办公套件。Google Apps包括Gmail、Google Calendar、Google Docs、Google Drive等组件,...
Google Hacks是精心设计的Google搜索的汇总,这些搜索公开了Google搜索和地图服务的新颖功能。
根据提供的信息,“50 Android Hacks.pdf”似乎是一份关于Android系统高级技巧和优化方法的手册。虽然在给出的部分内容中并未直接提及具体的技术细节,但从文件标题、描述及标签可以推断出这份文档主要围绕Android...
《Google Hacks 探索和利用全球信息资源的技巧和工具》是一本专注于揭示Google搜索引擎隐藏功能和技术的书籍,尤其在第三版中,它涵盖了更多更新的搜索技巧和工具,帮助用户更高效、深入地挖掘互联网上的信息。...
360, blogging your life, keeping up with friends, and making new contacts Store, sort, blog, feed, track, and otherwise share photos with Flickr and RSS Make My Yahoo! your Yahoo!, and ...
Swing Hacks 是一个宝贵的学习资源,专门为Java Swing开发者提供了许多实用技巧和创新方法。Swing作为Java GUI(图形用户界面)库的核心部分,被广泛用于构建桌面应用程序。本资源由Swing的原始架构团队成员编写,...
Greasemonkey Hacks.chm
Google.Apps.Hacks