中国IT动力,最新最全的IT技术教程
最新100篇 | 推荐100篇 | 专题100篇 | 排行榜 | 搜索 | 在线API文档
首 页 | 程序开发 | 操作系统 | 软件应用 | 图形图象 | 网络应用 | 精文荟萃 | 教育认证 | 硬件维护 | 未整理篇 | 站长教程
ASP JS PHP工程 ASP.NET 网站建设 UML J2EESUN .NET VC VB VFP 网络维护 数据库 DB2 SQL2000 Oracle Mysql
服务器 Win2000 Office C DreamWeaver FireWorks Flash PhotoShop 上网宝典 CorelDraw 协议大全 网络安全 微软认证
硬件维护  CPU  主板  硬盘  内存  显卡  显示器  键盘鼠标  声卡音箱  打印机  机箱电源  BIOS  网卡  C#  Java  Delphi  vs.net2005
  当前位置:> 操作系统 > 服务器 > Web服务器
对Apache动一点小手术/诱骗一般水货攻击者或自娱自乐
作者:未知 时间:2005-09-13 17:26 出处:ChinaUnix.net 责编:chinaitpower
              摘要:对Apache动一点小手术/诱骗一般水货攻击者或自娱自乐

[color=red:a6ff72be07]目的:[/color:a6ff72be07]
    [code:1:a6ff72be07]对Apache进行简单操作,以诱骗普通水货攻击者,或者自娱自乐!!![/code:1:a6ff72be07]

[color=red:a6ff72be07]方法:[/color:a6ff72be07]
    [code:1:a6ff72be07]修改几个Apache的几个源代码文件,然后自己编译[/code:1:a6ff72be07]

[color=red:a6ff72be07]操作:[/color:a6ff72be07]
[b:a6ff72be07]一、文件操作[/b:a6ff72be07]
[color=red:a6ff72be07]file:srcdir/include/ap_release.h[/color:a6ff72be07]

[code:1:a6ff72be07]#define AP_SERVER_BASEVENDOR "这里填写开发组织名,例如:Microsoft Corp."
#define AP_SERVER_BASEPRODUCT "这里填写服务器软件名,例如:Microsoft-IIS"
#define AP_SERVER_MAJORVERSION "主版本,例如:5"
#define AP_SERVER_MINORVERSION "次版本,例如:0"
#define AP_SERVER_PATCHLEVEL "修正版本,例如:1"[/code:1:a6ff72be07]


[color=red:a6ff72be07]file:srcdir/include/os.h[/color:a6ff72be07]
[code:1:a6ff72be07]#define PLATFORM "这里填写操作系统的名称,例如:Win32"[/code:1:a6ff72be07]


[color=red:a6ff72be07]file:srcdir/os/PLATFORM/os.h[/color:a6ff72be07]
[code:1:a6ff72be07]#define PLATFORM "这里填写操作系统的名称,例如:Win32"[/code:1:a6ff72be07]


[color=red:a6ff72be07]file:srcdir/modules/generators/mod_info.c[/color:a6ff72be07]
[code:1:a6ff72be07]Search "Apache Server Information" replace with "这里填写在查看server-info现实的页面标题,例如:Microsoft-IIS Information"[/code:1:a6ff72be07]

[color=red:a6ff72be07]file:srcdir/modules/generators/mod_status.c[/color:a6ff72be07]
[code:1:a6ff72be07]Search "Apache Server Status" replace with "这里填写在查看server-status现实的页面标题,例如:Microsoft-IIS Status"[/code:1:a6ff72be07]

[b:a6ff72be07]说明:[/b:a6ff72be07]
[code:1:a6ff72be07]file:path/to/filename 表示要对这个文件进行操作
Search "A" replace with "B" 表示在文件之中搜索A,然后使用B替换[/code:1:a6ff72be07]

[b:a6ff72be07]二、编译操作[/b:a6ff72be07]
[code:1:a6ff72be07]按照一般正常步骤编译安装[/code:1:a6ff72be07]

[color=red:a6ff72be07]结果:[/color:a6ff72be07]
[b:a6ff72be07]/server-info:[/b:a6ff72be07]
[code:1:a6ff72be07]Microsoft-IIS Information
...
Server Version: Microsoft-IIS/5.0/5.0.1 (Win32) [/code:1:a6ff72be07]


[b:a6ff72be07]/server-status:[/b:a6ff72be07]
[code:1:a6ff72be07]Apache Server Status for 127.0.0.1
Server Version: Microsoft-IIS/5.0/5.0.1 (Win32) 
Server Built: Apr 3 2004 18:20:54 [/code:1:a6ff72be07]

[b:a6ff72be07]页面底部显示:(例如在以上两个测试和indexes情况之下)[/b:a6ff72be07]
[code:1:a6ff72be07]Microsoft-IIS/5.0/5.0.1 (Win32) Server at 127.0.0.1 Port 80[/code:1:a6ff72be07]

 jhsea3do 回复于:2004-04-03 21:52:03
真好玩,还有别的办法可以达到这个目的么?

 eScaPedd 回复于:2004-04-04 08:59:20
COOL

 wallace888 回复于:2004-04-04 10:43:16
很经典呀,谢谢HonestQiao!

 b2linux 回复于:2004-04-04 15:03:57
:lol:

 求知若渴 回复于:2004-04-04 19:42:23
:roll:

 gig2600 回复于:2004-04-04 20:21:16
不会吧
这样会招来很多无谓的扫描吗?

 li2002 回复于:2004-04-05 08:14:48
好玩

 swingcoder 回复于:2004-04-05 11:47:35
ServerTokens Prod
,ServerSignature Off 关了啥都没有了!

 linuxsky 回复于:2004-04-06 08:06:52
记得两年前我还把IIS改成了APACHE
也是为了骗别人。。HOHO

 platinum 回复于:2004-04-07 22:12:05
http://uptime.netcraft.com/up/graph/?host=platinum.3322.org
看看我的骗人结果,呵呵~~!

 cutecute 回复于:2004-04-08 10:01:36
very funny~~

 freeand 回复于:2004-04-08 22:57:26
[quote:eb5b4fdff1="platinum"]http://uptime.netcraft.com/up/graph/?host=platinum.3322.org
看看我的骗人结果,呵呵~~![/quote:eb5b4fdff1]

不过,还是看到你的系统是LINUX,呵呵

 free123 回复于:2004-04-12 08:18:15
[quote:6714d61abc="platinum"]http://uptime.netcraft.com/up/graph/?host=platinum.3322.org
看看我的骗人结果,呵呵~~![/quote:6714d61abc]
The site platinum.3322.org is running Microsoft-IIS/6.0.2 (Win32) PHP/4.3.4 mod_jk2/2.0.2 on Linux

骗得不象

 danlley 回复于:2004-04-13 14:44:59
:mrgreen:

 wind521 回复于:2004-04-13 20:16:16
有意义的东西 :)

关闭本页
 
首页 | 投资与合作 | 服务条款 | 隐私政策 | 收藏本站 | 设为首页 | 新用户注册 | 免责声明 | 使用帮助
Copyright ©2005-2008 chinaitpower.com All rights reserved. www.chinaitpower.com 版权所有