摘要: 在网上找了很久也没有找到解决方案,最后根据提示自己摸索如下:1.编辑/etc/sshd_config文件,注释掉#ForceCommand /usr/local/bin/ssh_session2.启动sshd服务:sudo launchctl load -w /System/Library/Laun... 阅读全文
posted @ 2015-03-02 18:10 nXqaL 阅读(3312) 评论(0) 推荐(0) 编辑
摘要: ARMCortexM3指令集在arm中hook我们需要用到bl这个转移指令.其效果和x86中的call有点类似.下面来说说armbcc的公式.(自己多次尝试总结的,如果有不对的地方希望大家能指点一下.)计算opcode:(dst-src)/4-2=opcode计算dst:src+(opcode+2)... 阅读全文
posted @ 2015-02-05 18:23 nXqaL 阅读(656) 评论(0) 推荐(0) 编辑
摘要: 对于编程开发的人来说,有个快速测试代码的地方是非常方便重要的,这里,我们收集了5个很好用的在线调试网站。1.codepad是一款简单的在线 IDE 编辑器服务,你只需要把代码粘贴进去就可以编译运行了,连工程也不需要新建,而且 codepad 支持的语言达到了9种,支持的语言有:C,C++,D,Has... 阅读全文
posted @ 2015-02-05 16:59 nXqaL 阅读(1125) 评论(0) 推荐(0) 编辑
摘要: 1、修改apk配置文件AndroidManifest.xml 修改配置文件子项,添加 android:debuggable="true" 属性,使apk处于可调式状态,打包回编即可。 2、调试启动apk(两种方式) 1)使用adbshell am(没用过) 使用格式为 【adb shell... 阅读全文
posted @ 2015-02-05 16:58 nXqaL 阅读(287) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-10-15 17:11 nXqaL 阅读(5) 评论(0) 推荐(0) 编辑
摘要: //获取当前屏幕的颜色质量 DEVMODE devMd; EnumDisplaySettings(NULL, ENUM_CURRENT_SETTINGS, &devMd);int color = devMd.dmBitsPerPel;//设置屏幕的当前质量 DEVMODE devMode; devMode.dmBitsPerPel = color; //设置颜色 devMode.dmSize = sizeof(devMode); devMode.dmFields = DM_BITSPERPEL; ChangeDisplaySettings(&devMode, 1); 阅读全文
posted @ 2013-09-17 11:40 nXqaL 阅读(162) 评论(0) 推荐(0) 编辑
摘要: Some things are so important that they can force us to overcome our fearsRemember when life's path is steep to keep your mind evenIn life it's not where you go , Is who you travel with 阅读全文
posted @ 2013-08-09 13:35 nXqaL 阅读(159) 评论(0) 推荐(0) 编辑
摘要: void FormatBinary(__int64 num,char buf[]){ int nCount = 0 ; while ( 1 ) { if( ( (__int64) 1 num) break ; if( ( num >> nCount ) & 1 == 1) { buf[nCount] = '1'; }else { buf[nCount] = '0' ; } nCount++; } fo... 阅读全文
posted @ 2013-06-29 20:16 nXqaL 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 1 org 0x7c00 ;告诉编译器程序加载到0x7c00位置 2 mov ax,cs 3 mov ds,ax 4 mov es,ax 5 Call DisPlayStr ;调用字符串显示例程 6 jmp $ ;无限循环 7 DisPlayStr: 8 mov ax,BootMessage 9 mov bp,ax ;es:bp = 串地址10 mov cx,16 ;cx = 长度11 mov ax,0130... 阅读全文
posted @ 2013-06-24 14:09 nXqaL 阅读(213) 评论(0) 推荐(0) 编辑
摘要: struct Point{ int x ; int y ;};class CBase{public: CBase(void); ~CBase(void);public: Point point ;public: virtual void Draw(); virtual void Paint(); void PulicSet() ;private: int nFinsh ;};//构造函数CBase::CBase(void){ nFinsh = 65535 ; point.x = 55 ; point.y =... 阅读全文
posted @ 2013-05-04 20:41 nXqaL 阅读(284) 评论(0) 推荐(0) 编辑