[MySQL]回家弄了个曝库攻击
公司隔壁是一家做图像识别的企业,去年才成立的,我最喜欢这种新鲜事物了,今天特意看了看他们的网站,用thinkphp框架做的。thinkphp有一些致命点,兴许他们没工夫处理呢。那今天就来检查检查吧。 首先,各个目录的列表权限——他们没有做处理,Application,Data,Runtime等目录一览无余,安装包都原封不动地躺在那,我清楚地看到他们改动了哪些文件。不过这些意义不是特别大,没有看到什么有价值的东西,有几个数据库脚本也只是原始安装文件。 然后,在Runtime目录下有日志文件,这个略有用,看到了登录后台,看到了登录用户‘Administrator’,而且用户只有一个,看到了一系...标签: MySQL
[linux]arm-linux-ar not found
There's an error in compiling Qt_ARM that: arm-linux-ar not found vi src/3rdparty/webkit/Source/JavaScriptCore/Makefile.WebKit Set AR as absolute path like: AR = /opt/crosstool/gcc-4.4.3/bin/arm-linux-ar cqs It works.标签: linux
[linux]invalid conversion from 'void*' to 'HB_PositionRec_*'
I get some errors while compilling Qt_ARM: ../3rdparty/harfbuzz/src/harfbuzz-buffer.c: In function 'HB_Error hb_buffer_ensure(HB_BufferRec_*, HB_UInt)': ../3rdparty/harfbuzz/src/harfbuzz-buffer.c:77: error: invalid conversion from 'void*' to 'HB_PositionRec_*' ../3rdparty/harfbuzz/s...标签: linux
[linux] The tslib functionality test failed while installing qtlib
The tslib functionality test failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR and QMAKE_LIBDIR in /usr/local/Qt_ARM/mkspecs/qws/linux-arm-g++. 1.If installed tslib or not? If not,install it. 2.If defined tslib path exactlly in ...标签: linux
[linux]__sync_add_and_fetch is not defined
There's an error that "__sync_add_and_fetch is not defined" while I'm building Qt. Just because of gcc I used is version 3.4, It works after I changed gcc to version 4.6.标签: linux
[JS]How to set a navigation hight light dynamic
How to set a navigation hight light dynamic? There is a javascript solution: var url = window.location.pathname + window.location.search; url = url.replace(/(\/(p)\/\d+)|(&p=\d+)|(\/(id)\/\d+)|(&id=\d+)|(\/(group)\/\d+)|(&group=\d+)/, ""); $(".sNav").find("a[href='" + url...标签: JS
[JS]How to decode xml string
There's some part of my project. You must include the jquery first. var xmlDoc = $.parseXML( this.result ); var idx = 0; $(xmlDoc).find('Worksheet Table Row').each(function(){ }标签: JS
[JS]How to read local file in JS
How to read local file in JS? function jsReadFiles(files) { if (files.length) { var file = files[0]; var reader = new FileReader(); if (/text+/.test(file.type)){ reader.onload = function(){ $('body').append('<pre>' + this.result + '</pre>'); } ...标签: JS
[JS]拼图游戏外挂开发实战
我在玩诛仙3,这个游戏本身做得很好,很精致,同时它的官网会时不进推出些活动,今天晚上就是跨年了,完美给我们的礼物就是一个拼图游戏,好像拼得越快资历越好,我这人手拙眼穷,肯定是最慢的。但我有代码呀,呵呵! F12下去,打开了游戏页面的前端代码,看到它把一张图放到了5X5的矩阵里,形成25个小格子,其实每个格子就是一个DIV,每个DIV用background来显示图片,但图片是同一张,也就是原图,只是做了偏移,background-position不同而已…… &nb...标签: JS
[php]Judge client terminal is mobile or not
function isMobile(){ if (isset ($_SERVER['HTTP_X_WAP_PROFILE'])){ return TRUE; } if (isset ($_SERVER['HTTP_VIA'])){ return stristr($_SERVER['HTTP_VIA'], "wap") ? TRUE : FALSE; } if (isset ($_SERVER['HTTP_USER_AGENT'])) { $clientkeywords = array (...标签: php
日历
最新微语
- 心情不好的时候,换一种生活方式
2026-05-10 18:06
- 有的时候,会站在分叉路口,不知道向左还是右
2023-12-26 15:34
- 繁花乱开,鸟雀逐风。心自宁静,纷扰不闻。
2023-03-14 09:56
- 对于不可控的事,我们保持乐观,对于可控的事情,我们保持谨慎。
2023-02-09 11:03
- 小时候,
暑假意味着无忧无虑地玩很长一段时间,
节假意味着好吃好喝还有很多长期不见的小朋友来玩...
长大后,
这是女儿第一个暑假,
一个半月...
2022-07-11 08:54
分类
最新评论
- Goonog
i get it now :) - 萧
@Fluzak:The web host... - Fluzak
Nice blog here! Also... - Albertarive
In my opinion you co... - ChesterHep
What does it plan? - ChesterHep
No, opposite. - mojoheadz
Everything is OK!... - Josephmaigh
I just want to say t... - ChesterHep
What good topic - AnthonyBub
Certainly, never it ...