04 2014 档案

摘要:想看一部电影,下载好后,点开然后发现系统被装了一堆流氓软件,于是分析了压缩包的内容,发现些有趣的东西。 首先解压压缩包,进入解压后文件夹,发现都是链接(当时看到文件夹图标就点开了) 看看那个带有文件夹图标的属性 首先这是个快捷方式,然后运行一个命令 %windir%\system32\cmd.exe /c start 20140210\10.batcmd运行一个脚本,那... 阅读全文

posted @ 2014-04-28 22:03 C Pointer 阅读(357) 评论(0) 推荐(0)

摘要:学习fgets()函数时发现了一个问题,先贴代码 #include#include#includevoid convert(char buffer[]) //将字符转换大写{ int i; for(i=0;buffer[i]!='\0';i++) { buffer[i]=toupper(buffer[i]); }}int findstring() /... 阅读全文

posted @ 2014-04-28 21:44 C Pointer 阅读(580) 评论(0) 推荐(0)

摘要:#includeint getopt(int argc,char *const argv[],const char *optstring); extern char *optarg; extern int optind,opterr,optopt;optstring为一个字符列表,每个字符代表一个单字符选项全局变量:optarg:存数据optindopterr:控制是否向STDERR打印... 阅读全文

posted @ 2014-04-28 21:40 C Pointer 阅读(748) 评论(0) 推荐(0)

摘要:#include#include#include#include#includeint main(int argc,char* argv[]){ pid_t pid_id=0; char* pid; if(argc!=2) { fprintf(stderr,"Usage: kill pid \n"); exit(1); } pi... 阅读全文

posted @ 2014-04-26 01:47 C Pointer 阅读(263) 评论(0) 推荐(0)

摘要:直接上图 添加了一个名为"Ubuntu10.04-en"的共享文件夹 但是按照它说的命令 mount -t vboxsf share mount_point 打入,然后悲剧了 错误 "/sbin/mount.vboxsf: mounting failed with the error: Protocol error" 后来才发现,上图中的命令中的share改为共享文件夹的名称就挂载... 阅读全文

posted @ 2014-04-26 01:44 C Pointer 阅读(247) 评论(0) 推荐(0)

导航