|
[注意]论坛启用致谢功能
晕我还以为是自己以前没注意到这个功能呢 刚才见了 原来刚试用 |
|
[分享]看看国内的SB专家门出的SB题
感觉这个题目设置的答案是D 第二个出栈的是n 那就说明不是直接出栈的,是先把顶上的弹出几个再把某个元素出栈, 然后把先前弹出的几个再压回来~ 这样第一个出栈的就不是n了~ 然后剩下的你都可以这样搞谁知道第i个出栈的是那个啊 |
|
[讨论]论坛里有多少人是在校大学生
GUET 大三信安 貌似我们学校搞安全的不少 |
|
|
|
[讨论]关于谭浩强老师写的《C程序设计》
明显c 是基础 c++是面向对象的编程 不适合你理解程序~开始学还是c 这样以后学什么语言都好搞 如果你开始学c++那就不一定了 ,你再去看别的编程语言~根本不像你学过c再去看~ |
|
[讨论]关于谭浩强老师写的《C程序设计》
如果没一点基础或者基本上没什么基础的话,还是建议看谭浩强的那本,里面讲的很适合没什么基础的人学习,太多其他的教材写的也许是不错,但是都太少考虑初学者的学习过程了,让初学者很迷茫,总是面对着一大堆的疑问来学习,这样明显打击学习积极性跟效率,谭浩强的书也是从一个学的角度来写,很不错入门 谭浩强的书可是科技书籍买的最多的,也许对于现在的编程来说是有点什么可是你没接触过多少编程的话他的还是适合的 |
|
[题目][第一阶段 第三题]『深圳腾讯2010安全技术竞赛』
杯具 都到第二页了~ |
|
[原创]3种简单的键盘记录简单介绍
顶lz ,学习了 本人也是信安科班生在读~lz可否放上来个示例代码 |
|
[调查]网吧应用软件调查
学校周围都没网吧很久了,况且我们都是在自己电脑上上的,现在上个网都得身份证很久没去过网吧了 记不清了等想想先 |
|
[题目][第一阶段 第二题]『深圳腾讯2010安全技术竞赛』
额 这个题目~~ |
|
|
|
[原创]小工具刷Kx啦
话说我也做了个工具,不过我是调用ie来后台访问看雪论坛。确实可以有用,不过我最近大部分时间泡在论坛上,也没怎么用就够100kx币了 #include "stdafx.h" #include <shellapi.h> #include <windows.h> #include "Psapi.h" #pragma comment(lib, "psapi.lib") /* 因为使用了psapi库,所以前面需要include <psapi.h> 以及 #pragma comment(lib, "psapi.lib") VC6里面没有自带psapi库,可以下载 调用方式就是Kill("notepad.exe"); 这样就结束了notepad.exe 进程 */ BOOLEAN Kill(char* pName)//杀进程函数 { DWORD aProcesses[1024],dwSize,dwSize2; char szProcessName[MAX_PATH]={0}; //WINDEF.H #define MAX_PATH 260 DWORD Pid=0; unsigned int i; if (!EnumProcesses(aProcesses,sizeof(aProcesses),&dwSize)) { return FALSE; } dwSize2=dwSize/sizeof(DWORD); for (i=0;i<dwSize2;i++) { HANDLE hProcess = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ,FALSE,aProcesses[i]); if (hProcess) { HMODULE hMod; DWORD dwSize; if (EnumProcessModules(hProcess,&hMod,sizeof(hMod),&dwSize)) { GetModuleBaseName(hProcess,hMod,szProcessName,sizeof(szProcessName)); } if (strcmp(szProcessName,pName)==0) { Pid=aProcesses[i]; CloseHandle(hProcess); break; } } CloseHandle(hProcess); } HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS,FALSE,Pid); if(NULL!=hProcess) { TerminateProcess(hProcess,0); } CloseHandle(hProcess); return TRUE; } int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { MessageBox(NULL,TEXT("自动访问看雪论坛\n每五分钟自动打开看雪论坛"),TEXT("程序已运行"),MB_OK); ShellExecute(NULL,TEXT("open") ,TEXT("C:\\Program Files\\Internet Explorer\\iexplore.exe"),TEXT("http://bbs.pediy.com") , NULL,SW_SHOWNORMAL); //为了明显一些第一次是提示并且是ie正常打开看雪的,不是后台 Sleep(3000); Kill("iexplore.exe"); while (1) { //Sleep(8000); 8000 毫秒 just for text Sleep(300000); HINSTANCE hInstance =ShellExecute(NULL,TEXT("open") ,TEXT("C:\\Program Files\\Internet Explorer\\iexplore.exe"), TEXT("http://bbs.pediy.com") , NULL,SW_HIDE); // ShellExecute(NULL, "open", "http://bbs.pediy.com", NULL, NULL, SW_SHOWNORMAL); Sleep(3000); Kill("iexplore.exe"); Sleep(1000); Kill("iexplore.exe"); STARTUPINFO si; PROCESS_INFORMATION pi; GetStartupInfo(&si); CreateProcess( "C:\\Program Files\\Internet Explorer\\iexplore.exe http://bbs.pediy.com ", NULL, NULL,NULL,FALSE,0,NULL, NULL,&si,&pi); } return 0; } /* ShellExecute函数原型及参数含义如下: ShellExecute( hWnd: HWND; {指定父窗口句柄} Operation: PChar; {指定动作, 譬如: open、print} FileName: PChar; {指定要打开的文件或程序} Parameters: PChar; {给要打开的程序指定参数; 如果打开的是文件这里应该是 nil} Directory: PChar; {缺省目录} ShowCmd: Integer {打开选项} ): HINST; {执行成功会返回应用程序句柄; 如果这个值 <= 32, 表示执行错误} //返回值可能的错误有: = 0 {内存不足} ERROR_FILE_NOT_FOUND = 2; {文件名错误} ERROR_PATH_NOT_FOUND = 3; {路径名错误} ERROR_BAD_FORMAT = 11; {EXE 文件无效} SE_ERR_SHARE = 26; {发生共享错误} SE_ERR_ASSOCINCOMPLETE = 27; {文件名不完全或无效} SE_ERR_DDETIMEOUT = 28; {超时} SE_ERR_DDEFAIL = 29; {DDE 事务失败} SE_ERR_DDEBUSY = 30; {正在处理其他 DDE 事务而不能完成该 DDE 事务} SE_ERR_NOASSOC = 31; {没有相关联的应用程序} //ShowCmd 参数可选值:SW_HIDE = 0; {隐藏} SW_SHOWNORMAL = 1; {用最近的大小和位置显示, 激活} SW_NORMAL = 1; {同 SW_SHOWNORMAL} SW_SHOWMINIMIZED = 2; {最小化, 激活} SW_SHOWMAXIMIZED = 3; {最大化, 激活} SW_MAXIMIZE = 3; {同 SW_SHOWMAXIMIZED} SW_SHOWNOACTIVATE = 4; {用最近的大小和位置显示, 不激活} SW_SHOW = 5; {同 SW_SHOWNORMAL} SW_MINIMIZE = 6; {最小化, 不激活} SW_SHOWMINNOACTIVE = 7; {同 SW_MINIMIZE} SW_SHOWNA = 8; {同 SW_SHOWNOACTIVATE} SW_RESTORE = 9; {同 SW_SHOWNORMAL} SW_SHOWDEFAULT = 10; {同 SW_SHOWNORMAL} SW_MAX = 10; {同 SW_SHOWNORMAL} */ |
|
[原创]再写手工打造可执行程序
竟然可以这样~晕~楼主对pe 的熟悉程度实在是无话可说啊,download之,研究之 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值