对Apache动一点小手术/诱骗一般水货攻击者或自娱自乐
发表于:2007-06-08来源:作者:点击数:
标签:
[color=red:a6ff72be07]目的:[/color:a6ff72be07] [code:1:a6ff72be07]对Apache进行简单操作,以诱骗普通水货攻击者,或者自娱自乐!!![/code:1:a6ff72be07] [color=red:a6ff72be07]方法:[/color:a6ff72be07] [code:1:a6ff72be07]修改几个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
|
有意义的东西 :)
|
原文转自:http://www.ltesting.net