摘要:
【恢复HDFS误删数据】 HDFS会为每一个用户创建一个回收站目录:/user/用户名/.Trash/,每一个被用户通过Shell删除的文件/目录,在系统回收站中都一个周期,也就是当系统回收站中的文件/目录在一段时间之后没有被用户回复的话,HDFS就会自动的把这个文件/目录彻底删除,之后,用户就永远也找不回这个文件/目录了。 根据上面的介绍,用户通过命令行即HDFS的shell命令删除某个文件,这个文件并没有立刻从HDFS中删除。相反,HDFS将这个文件重命名,并转移到操作用户的回收站目录中(如/user/hdfs/.Trash/Current, 其中hdfs是操作的用户名)。如果用户的回.. 阅读全文
posted @ 2014-02-13 23:24
Tekkaman
阅读(3907)
评论(0)
推荐(0)
摘要:
【一个缓冲区溢出示例】问:下面是一个简单的密码保护功能,你能在不知道密码的情况下将其破解吗? 1 #include 2 3 int main(int argc, char *argv[]) 4 { 5 int flag = 0; 6 char passwd[10]; 7 memset(passwd,0,sizeof(passwd)); 8 strcpy(passwd, argv[1]); 9 10 if(0 == strcmp("LinuxGeek", passwd))11 {12 flag = 1;13 }... 阅读全文
posted @ 2014-02-13 22:18
Tekkaman
阅读(612)
评论(0)
推荐(0)
摘要:
【SpringBoard】 Springboard, orHome Screen, is the standard application that manages theiOShome screen. Other tasks include starting WindowServer, launching and bootstrapping applications and setting some of the device's settings on startup. Onjailbroken devices, unsigned applications (application 阅读全文
posted @ 2014-02-13 22:05
Tekkaman
阅读(596)
评论(0)
推荐(0)
摘要:
【Symbol Table】 In order for GDB to be useful to us, it needs to be able to refer to variable and function names, not their addresses. Humans use names likemain()ori. Computers use addresses like0x804b64dor0xbffff784. To that end, we can compile code with "debugging information" which tells 阅读全文
posted @ 2014-02-13 21:23
Tekkaman
阅读(467)
评论(0)
推荐(0)
浙公网安备 33010602011771号