# 艰难绕过注册限制，入侵网站

**URL:** <https://forum.90sec.com/t/topic/3445>\
**Category:** 技术文章\
**Created:** [2012 年4 月 13 日 11:28 UTC](https://forum.90sec.com/t/topic/3445 "2012-04-13T11:28:13Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

作者： ![network](https://forum.90sec.com/user_avatar/forum.90sec.com/network/32/11349_2.png) [@network](https://forum.90sec.com/u/network)\
发布日期： [2012 年4 月 13 日 11:28 UTC](https://forum.90sec.com/t/topic/3445/1 "2012-04-13T11:28:13Z")

</div>

_本帖最后由 network 于 2012-4-13 22:00 编辑_

好久没来论坛发帖了 今天发个垃圾贴、

今天 友情一个建材采购网、记录下经过.  
先看了下环境 iis 6.0的  
又看了下robots.txt 可以打开  
[QQ截图1.jpg](https://forum.90sec.com/discuz-migration/attachments/e5a6ee2a307072a7a83afbc458d675d13a55e73e38197b0bebbaf55dbc19f362)

看到了用户登录地址 就想到了注册。如果有上传就爽歪歪咯  
跳转到前台，找到了用户注册地址。注册了一个名为network的用户  
登录到用户中心，看到了一个图片管理的栏目 果断的点开来看看  
[QQ截图2.jpg](https://forum.90sec.com/discuz-migration/attachments/132ab5add16202b028745cd9155b83f57021fc9776af87678334f09b393168de)  
看了下上传页面的代码  
[QQ截图3.jpg](https://forum.90sec.com/discuz-migration/attachments/7cc658588dacf3b78c1bbbe6ddf6cbaad5477a0e5d928957a4164a4a2629ace6)  
并没有利用的  
上传各种脚本文件 均提示不允许上传此类型。  
而且文件名是以时间来命名的  
看了下图片地址  
[QQ截图4.jpg](https://forum.90sec.com/discuz-migration/attachments/8867d743087579ba2d91be49648fce5c38c70b00b15bc425bc6a5aafbcdca439)  
我立马激动了 赶紧注册个.asp的用户 利用iis6.0的用户 拿下shell  
当然 这个只是我所想的

跳转到前台 开始注册ing  
现实总是残酷的[QQ截图5.jpg](https://forum.90sec.com/discuz-migration/attachments/75f64787ad826847fe8ea629322563618c47ee3a421397b5851c4019f0414eb1)

事实证明 程序员不是sb  
难道就这样被残酷的过滤掉了 难道就放弃么  
忽然间 我有种想爆菊花的冲动

看了下注册的源码  
当看到下面的代码时 我笑了.程序员果然不是sb 是个很有爱的小2B

[QQ截图6.jpg](https://forum.90sec.com/discuz-migration/attachments/0621252dcfce92ef7549b8b108fe4bfd25e1a37a70c970e98bdcb31414de2efd)  
既然如此 我又何必和他客气呢~在-后面添加了一个点  
[QQ截图7.jpg](https://forum.90sec.com/discuz-migration/attachments/675662342c75fb27d6a6229f35f9b1e82f729131ab3bbb2262e1145e3ea00067)  
成功的注册了 fuckyou.asp

跳转到后台 这个时候 上传图片 我知道  
这次他免不了被爆菊了、  
当图片提示上传成功那一刻 我又二了  
[QQ截图8.jpg](https://forum.90sec.com/discuz-migration/attachments/41325b15420d079aa3168de13c05e84a2eabffbcb37a9d209b67cb40e0ccfb4f)  
目录竟然没有执行权限！  
[QQ截图111.jpg](https://forum.90sec.com/discuz-migration/attachments/56caada0e5ae94bf3a038da3939cac1ffb35be912b48b6eb4d0215f38b64a922)  
我不知道你们是什么感觉 反正这一刻 我很生气。  
继续跳转到前台 扫了下目录 找到管理目录  
注册用户 继续突破注册了../管理目录/2.asp  
我不信管理目录能没执行权限 。  
轻车熟路的了上传了图片 抓了一下一下地址  
[1211111111.jpg](https://forum.90sec.com/discuz-migration/attachments/a443f723e46d70e2630e62db1d8b7c6cd76ccca8bc7235ce444d37d221f5bd53)  
菜刀连接 下  
OK了 结束战斗 文笔很差 多多包涵  
马赛克没打好 请注意素质！懒得重新打了 一边日一边写的 ，大牛一笑置之。

---

<div class="post-metadata">

作者： ![sincoder](https://forum.90sec.com/user_avatar/forum.90sec.com/sincoder/32/11422_2.png) [@sincoder](https://forum.90sec.com/u/sincoder)\
发布日期： [2012 年4 月 13 日 11:37 UTC](https://forum.90sec.com/t/topic/3445/2 "2012-04-13T11:37:05Z")

</div>

\*\*回复 [1#](http://www.90sec.org/redirect.php?goto=findpost&pid=22499&ptid=2072) _network_ \*\*

```
不错不错 哈哈哈

```

---

<div class="post-metadata">

作者： ![network](https://forum.90sec.com/user_avatar/forum.90sec.com/network/32/11349_2.png) [@network](https://forum.90sec.com/u/network)\
发布日期： [2012 年4 月 13 日 11:37 UTC](https://forum.90sec.com/t/topic/3445/3 "2012-04-13T11:37:34Z")

</div>

_本帖最后由 network 于 2012-4-13 19:43 编辑_

\*\*回复 [2#](http://www.90sec.org/redirect.php?goto=findpost&pid=22501&ptid=2072) _sincoder_ \*\*

```
呵呵 谢谢

```

---

<div class="post-metadata">

作者： ![feng2020](https://forum.90sec.com/user_avatar/forum.90sec.com/feng2020/32/2980_2.png) [@feng2020](https://forum.90sec.com/u/feng2020)\
发布日期： [2012 年4 月 13 日 12:05 UTC](https://forum.90sec.com/t/topic/3445/4 "2012-04-13T12:05:08Z")

</div>

挺有思路的，，没想用注册那里竟然用的是本地验证，哈哈，楼主挺细心的。。。

---

<div class="post-metadata">

作者： ![84756160](https://forum.90sec.com/letter_avatar_proxy/v4/letter/8/57b2e6/32.png) [@84756160](https://forum.90sec.com/u/84756160)\
发布日期： [2012 年4 月 13 日 12:26 UTC](https://forum.90sec.com/t/topic/3445/5 "2012-04-13T12:26:22Z")

</div>

很好很强大，要是我，肯定想不到 注册用户 继续突破注册了../管理目录/2.asp 这一步

---

<div class="post-metadata">

作者： ![qingfeng](https://forum.90sec.com/letter_avatar_proxy/v4/letter/q/eb8c5e/32.png) [@qingfeng](https://forum.90sec.com/u/qingfeng)\
发布日期： [2012 年4 月 13 日 12:34 UTC](https://forum.90sec.com/t/topic/3445/6 "2012-04-13T12:34:55Z")

</div>

日啊 。运气。  
我那哦目录不可写。。。。

---

<div class="post-metadata">

作者： ![haimohk](https://forum.90sec.com/letter_avatar_proxy/v4/letter/h/ce7236/32.png) [@haimohk](https://forum.90sec.com/u/haimohk)\
发布日期： [2012 年4 月 13 日 12:39 UTC](https://forum.90sec.com/t/topic/3445/7 "2012-04-13T12:39:14Z")

</div>

遇到再2点的就是注册了用户后要经过管理审核才可以登录，另外这个居然是本地验证，lz细心了。。

---

<div class="post-metadata">

作者： ![jhvxer](https://forum.90sec.com/letter_avatar_proxy/v4/letter/j/82dd89/32.png) [@jhvxer](https://forum.90sec.com/u/jhvxer)\
发布日期： [2012 年4 月 13 日 13:11 UTC](https://forum.90sec.com/t/topic/3445/8 "2012-04-13T13:11:16Z")

</div>

本地验证的，OP流量器有时候也很给力啊，尤其是突破上传的时候

---

<div class="post-metadata">

作者： ![network](https://forum.90sec.com/user_avatar/forum.90sec.com/network/32/11349_2.png) [@network](https://forum.90sec.com/u/network)\
发布日期： [2012 年4 月 13 日 13:24 UTC](https://forum.90sec.com/t/topic/3445/9 "2012-04-13T13:24:04Z")

</div>

\*\*回复 [8#](http://www.90sec.org/redirect.php?goto=findpost&pid=22510&ptid=2072) _0xcodede_ \*\*

```
嗯 但是火狐夜能实现

```

---

<div class="post-metadata">

作者： ![ydfq](https://forum.90sec.com/letter_avatar_proxy/v4/letter/y/f05b48/32.png) [@ydfq](https://forum.90sec.com/u/ydfq)\
发布日期： [2012 年4 月 13 日 13:40 UTC](https://forum.90sec.com/t/topic/3445/10 "2012-04-13T13:40:34Z")

</div>

够yy的，膜拜了。该死的15字，够不够

---

<div class="post-metadata">

作者： ![Cr05s0r](https://forum.90sec.com/user_avatar/forum.90sec.com/cr05s0r/32/11424_2.png) [@Cr05s0r](https://forum.90sec.com/u/Cr05s0r)\
发布日期： [2012 年4 月 13 日 14:17 UTC](https://forum.90sec.com/t/topic/3445/11 "2012-04-13T14:17:24Z")

</div>

ii6+本地验证+上传，思路不错，学习了。。。

---

<div class="post-metadata">

作者： ![ettack](https://forum.90sec.com/user_avatar/forum.90sec.com/ettack/32/11328_2.png) [@ettack](https://forum.90sec.com/u/ettack)\
发布日期： [2012 年4 月 13 日 14:28 UTC](https://forum.90sec.com/t/topic/3445/12 "2012-04-13T14:28:13Z")

</div>

利用用户名控制目录是亮点

---

<div class="post-metadata">

作者： ![network](https://forum.90sec.com/user_avatar/forum.90sec.com/network/32/11349_2.png) [@network](https://forum.90sec.com/u/network)\
发布日期： [2012 年4 月 13 日 14:35 UTC](https://forum.90sec.com/t/topic/3445/13 "2012-04-13T14:35:41Z")

</div>

\*\*回复 [4#](http://www.90sec.org/redirect.php?goto=findpost&pid=22505&ptid=2072) _流浪的风_ \*\*

```
呵呵 必须细心

```

---

<div class="post-metadata">

作者： ![network](https://forum.90sec.com/user_avatar/forum.90sec.com/network/32/11349_2.png) [@network](https://forum.90sec.com/u/network)\
发布日期： [2012 年4 月 13 日 14:36 UTC](https://forum.90sec.com/t/topic/3445/14 "2012-04-13T14:36:20Z")

</div>

\*\*回复 [7#](http://www.90sec.org/redirect.php?goto=findpost&pid=22508&ptid=2072) _海默_ \*\*

```
哈哈 经常遇到 更2的是打电话验证..

```

---

<div class="post-metadata">

作者： ![network](https://forum.90sec.com/user_avatar/forum.90sec.com/network/32/11349_2.png) [@network](https://forum.90sec.com/u/network)\
发布日期： [2012 年4 月 13 日 14:37 UTC](https://forum.90sec.com/t/topic/3445/15 "2012-04-13T14:37:04Z")

</div>

\*\*回复 [11#](http://www.90sec.org/redirect.php?goto=findpost&pid=22522&ptid=2072) _Cr05s0r_ \*\*

```
没什么学习不学习的、只是交流而已哦

```

---

<div class="post-metadata">

作者： ![user14](https://forum.90sec.com/user_avatar/forum.90sec.com/user14/32/11344_2.png) [@user14](https://forum.90sec.com/u/user14)\
发布日期： [2012 年4 月 13 日 16:22 UTC](https://forum.90sec.com/t/topic/3445/16 "2012-04-13T16:22:25Z")

</div>

嗯 不错啊！！！ 实在是不错！

---

<div class="post-metadata">

作者： ![user40](https://forum.90sec.com/user_avatar/forum.90sec.com/user40/32/11393_2.png) [@user40](https://forum.90sec.com/u/user40)\
发布日期： [2012 年4 月 14 日 03:04 UTC](https://forum.90sec.com/t/topic/3445/17 "2012-04-14T03:04:42Z")

</div>

不错的思路···顶你菊花 ···

---

<div class="post-metadata">

作者： ![Pang](https://forum.90sec.com/letter_avatar_proxy/v4/letter/p/4491bb/32.png) [@Pang](https://forum.90sec.com/u/Pang)\
发布日期： [2012 年4 月 14 日 03:23 UTC](https://forum.90sec.com/t/topic/3445/18 "2012-04-14T03:23:10Z")

</div>

嗯呢！不错哦···

---

<div class="post-metadata">

作者： ![pandas](https://forum.90sec.com/user_avatar/forum.90sec.com/pandas/32/11352_2.png) [@pandas](https://forum.90sec.com/u/pandas)\
发布日期： [2012 年4 月 14 日 03:45 UTC](https://forum.90sec.com/t/topic/3445/19 "2012-04-14T03:45:16Z")

</div>

好久都没有来看看了 支持兄弟的帖子~~~

---

<div class="post-metadata">

作者： ![929041889](https://forum.90sec.com/letter_avatar_proxy/v4/letter/9/b4bc9f/32.png) [@929041889](https://forum.90sec.com/u/929041889)\
发布日期： [2012 年4 月 14 日 04:40 UTC](https://forum.90sec.com/t/topic/3445/20 "2012-04-14T04:40:26Z")

</div>

只能说lz善于观察，一看就是老手，思路不错支持ing！！！

[下一页](https://forum.90sec.com/t/topic/3445.md?page=2)
