# 我只是一个卖菜的！ 菜b写文章

**URL:** <https://forum.90sec.com/t/topic/3650>\
**Category:** 技术文章\
**Created:** [2012 年6 月 7 日 04:42 UTC](https://forum.90sec.com/t/topic/3650 "2012-06-07T04:42:23Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

作者： ![komas1](https://forum.90sec.com/user_avatar/forum.90sec.com/komas1/32/11447_2.png) [@komas1](https://forum.90sec.com/u/komas1)\
发布日期： [2012 年6 月 7 日 04:42 UTC](https://forum.90sec.com/t/topic/3650/1 "2012-06-07T04:42:23Z")

</div>

我只是一个卖菜的。  
我来自农贸市场！  
目标：[http://www.xx.cn/](http://www.xx.cn/) 自称是广州最大的顶酒店[1.jpg](https://forum.90sec.com/discuz-migration/attachments/c2562878dfcec8949af9b7a9ab7fad68282f96d935961c1a39c7746320cc048f)顶房子的网站这个站在前几天搞过 但是最后朋友进去被管理员发现了，最开始是08的系统，现在改03了，最开始是ii7，但是系统改为03后，又踩了踩站，发现变ii6了，那也就发出来共享下！  
开始扫看看目录有什么利用的，直接先放御剑，然后看了看主站，没有利用的地方，回头再看看御剑的情况，行为很乐观[2.jpg](https://forum.90sec.com/discuz-migration/attachments/f3eed22b14422e5de7e77d3943b0020e6683ee4c86680d7bdd435a58e78b5fde)看到FCK，那个时候是ii7， ii7遇到FCK我是没戏唱，但是现在成为ii6，那我们也试试，选择[http://www.xx.cn/FCKeditor/editor/filemanager/connectors/test.html#](http://www.xx.cn/FCKeditor/editor/filemanager/connectors/test.html#)，网站只支持aspx，那就选择asp.net成功弹出[3.jpg](https://forum.90sec.com/discuz-migration/attachments/e7c7617ce1c7e0ba683493310122d4b9abdfa5ea44b5dd1f0ffe9182ee310947)那就试试ii6解析吧，上传xx.asp.xx.jpg， 得到地址[http://www.xx.cn/UserFiles/media/sc\_cer;.jpg](http://www.xx.cn/UserFiles/media/sc_cer;.jpg)， .变成\_下划线了，但是有过fck突破fck的人，就二次上传，那么再上传一次，成功[4.jpg](https://forum.90sec.com/discuz-migration/attachments/0bee14415bdf5ae870d896fbeb96736d9fab305df57b5850f264221b06771fc1)顺利拿到shell[5.jpg](https://forum.90sec.com/discuz-migration/attachments/ce3869d670efc18db2ac2990f359dc9581225ea7da1ab26f449fca9b963a052f)翻了翻，权限还停大的，ws组建也在，管理员的维护意识不强，提权就很简单了，就不做演示了，这是利用ii6 fck直接拿shell，但是当时是08系统，ii7，FCK当然就是废品没法利用了，御剑也不是现在出了一个sql.rar这个包了，但是当时什么都没扫到，fck也没法利用就没辙了，幸亏有朋友的帮助，扫到了一g.rar，我靠700MB，真他妈的大，但是我网速还比较可以，半个多小时就能下完，那就下吧，这段时间也看了看旁站是个114df的，粗略的看了看还是没法利用，下载好后看到全是广州酒店[6.jpg](https://forum.90sec.com/discuz-migration/attachments/146998b5a7ce2fd79d9bbd0f3cf69bc580777de4772e7fc3e5d2199a56547b9e)尼玛！随便翻了翻几处的源码的，坑爹了全是一样，看到web.config！ 124.172.234.184！ 幸好短时间记忆还记住了目标的也是124.172.234.184这个IP，还有sql账号密码，那就是先试试，人品好了点，顺利进入运行一下DOS出现了[7.jpg](https://forum.90sec.com/discuz-migration/attachments/e756c977d896c5e824467ea51ba357078dfad8bddb5a31624eff5de95695c140) Error Message:SQL Server 阻止了对组件 'xp\_cmdshell' 的 过程'sys.xp\_cmdshell' 的访问，因为此组件已作为此服务器安全配置的一部分而被关闭。系统管理员可以通过使用 sp\_configure 启用 'xp\_cmdshell'。有关启用 'xp\_cmdshell' 的详细信息，请参阅 SQL Server 联机丛书中的 "外围应用配置器"。 这样的错误，这种错误修复还是挺简单的，直接连接sql分离器，修复，成功[8.jpg](https://forum.90sec.com/discuz-migration/attachments/449c668109fbf513bf47cb2b68f00ecbc6b0f3151ad592cf3bf9681367fb5914)这就了事了，兴冲冲的去加账号，发现一加账号就卡死，然后就超时，猜会不会net有问题呢？就用sqltools上传，但是点击上传失败，文件管理也能随意打开，net user也能运气，其他命令也能运气，心里还是有种感觉 net user 都能运行，为何net user xx xx /add不行呢？过了一会，也不知道为什么，突然脑壳一亮，我尝试着 net user xx xx123！@#.asp /add 结果还是超市，接着又继续 net user xx xx123！@#.asp /ad 这样的命令也同时能加，结果命令成功！ 加入管理员组同样是 /ad，才恍然大悟，原来是密码策略道鬼 ![111.jpg](https://forum.90sec.com/discuz-migration/attachments/88c2478902dd87868c475953e6bc1132b583bfffab6e0e41006da436413d6c86)顺利进入08服务器了。

历史附件补充：

[历史附件 1（需登录并具有帖子访问权限）](https://forum.90sec.com/discuz-migration/attachments/88c2478902dd87868c475953e6bc1132b583bfffab6e0e41006da436413d6c86)

---

<div class="post-metadata">

作者： ![0xsec](https://forum.90sec.com/letter_avatar_proxy/v4/letter/0/94ad74/32.png) [@0xsec](https://forum.90sec.com/u/0xsec)\
发布日期： [2012 年6 月 7 日 04:48 UTC](https://forum.90sec.com/t/topic/3650/2 "2012-06-07T04:48:20Z")

</div>

楼主没打码小心 您的帖子长度不符合要求。 当前长度: 14 字节系统限制: 15 到 20000 字节

---

<div class="post-metadata">

作者： ![user26](https://forum.90sec.com/user_avatar/forum.90sec.com/user26/32/11370_2.png) [@user26](https://forum.90sec.com/u/user26)\
发布日期： [2012 年6 月 7 日 04:49 UTC](https://forum.90sec.com/t/topic/3650/3 "2012-06-07T04:49:02Z")

</div>

LZ..不打码。会有很多黑客去日的{:4\_30:}

---

<div class="post-metadata">

作者： ![SUNRISE](https://forum.90sec.com/user_avatar/forum.90sec.com/sunrise/32/11448_2.png) [@SUNRISE](https://forum.90sec.com/u/SUNRISE)\
发布日期： [2012 年6 月 7 日 05:54 UTC](https://forum.90sec.com/t/topic/3650/4 "2012-06-07T05:54:16Z")

</div>

{:4\_28:}看到咯，没有马赛克耶

---

<div class="post-metadata">

作者： ![komas1](https://forum.90sec.com/user_avatar/forum.90sec.com/komas1/32/11447_2.png) [@komas1](https://forum.90sec.com/u/komas1)\
发布日期： [2012 年6 月 7 日 06:47 UTC](https://forum.90sec.com/t/topic/3650/5 "2012-06-07T06:47:42Z")

</div>

所以请大家不要搞破坏

---

<div class="post-metadata">

作者： ![2558982655f](https://forum.90sec.com/letter_avatar_proxy/v4/letter/2/b9bd4f/32.png) [@2558982655f](https://forum.90sec.com/u/2558982655f)\
发布日期： [2012 年6 月 7 日 07:23 UTC](https://forum.90sec.com/t/topic/3650/6 "2012-06-07T07:23:07Z")

</div>

邪恶的马赛克 没有打

---

<div class="post-metadata">

作者： ![54966850](https://forum.90sec.com/letter_avatar_proxy/v4/letter/5/ed8c4c/32.png) [@54966850](https://forum.90sec.com/u/54966850)\
发布日期： [2012 年6 月 7 日 07:34 UTC](https://forum.90sec.com/t/topic/3650/7 "2012-06-07T07:34:28Z")

</div>

不打码，这站就要被人轮了

---

<div class="post-metadata">

作者： ![user8](https://forum.90sec.com/user_avatar/forum.90sec.com/user8/32/11330_2.png) [@user8](https://forum.90sec.com/u/user8)\
发布日期： [2012 年6 月 7 日 09:11 UTC](https://forum.90sec.com/t/topic/3650/8 "2012-06-07T09:11:51Z")

</div>

LZ..不打码。会有很多黑客去日的

---

<div class="post-metadata">

作者： ![Green\_leaves](https://forum.90sec.com/user_avatar/forum.90sec.com/green_leaves/32/11332_2.png) [@Green\_leaves](https://forum.90sec.com/u/Green_leaves)\
发布日期： [2012 年6 月 7 日 13:27 UTC](https://forum.90sec.com/t/topic/3650/9 "2012-06-07T13:27:06Z")

</div>

楼主这标题谦虚了，不过一直打码，没想到最后一张失误了。

---

<div class="post-metadata">

作者： ![user45](https://forum.90sec.com/user_avatar/forum.90sec.com/user45/32/11400_2.png) [@user45](https://forum.90sec.com/u/user45)\
发布日期： [2012 年6 月 8 日 01:16 UTC](https://forum.90sec.com/t/topic/3650/10 "2012-06-08T01:16:12Z")

</div>

{:4\_32:}可怜的楼主,在九区发被删ID了

---

<div class="post-metadata">

作者： ![user24](https://forum.90sec.com/user_avatar/forum.90sec.com/user24/32/11366_2.png) [@user24](https://forum.90sec.com/u/user24)\
发布日期： [2012 年6 月 8 日 08:46 UTC](https://forum.90sec.com/t/topic/3650/11 "2012-06-08T08:46:08Z")

</div>

幸会幸会{:4\_06:}

---

<div class="post-metadata">

作者： ![redfire](https://forum.90sec.com/letter_avatar_proxy/v4/letter/r/977dab/32.png) [@redfire](https://forum.90sec.com/u/redfire)\
发布日期： [2012 年6 月 8 日 18:40 UTC](https://forum.90sec.com/t/topic/3650/12 "2012-06-08T18:40:49Z")

</div>

站点亮了。。。学习下思路

---

<div class="post-metadata">

作者： ![user72](https://forum.90sec.com/letter_avatar_proxy/v4/letter/u/bbce88/32.png) [@user72](https://forum.90sec.com/u/user72)\
发布日期： [2012 年6 月 15 日 04:01 UTC](https://forum.90sec.com/t/topic/3650/13 "2012-06-15T04:01:56Z")

</div>

fck编辑器惹的货啊！！哎
