创建共享内存python文件: import mmap import contextlib import time with contextlib.closing(mmap.mmap(-1, 100, tagname='SASU', access=mmap.ACCESS_WRITE)) as m: ...
分类:
编程语言 时间:
2020-02-06 15:04:49
阅读次数:
113
1.remote access control powerIpmitool -I lanplus -H 192.168.0.10 -U username -P Password chassis power offIpmitool -I lanplus -H 192.168.0.10 -U usern ...
分类:
其他好文 时间:
2020-02-06 14:35:44
阅读次数:
173
package com.apress.todo.repository; import com.apress.todo.domain.ToDo; import org.springframework.dao.EmptyResultDataAccessException; import org.spri ...
分类:
数据库 时间:
2020-02-06 14:17:06
阅读次数:
198
最近因为疫情,工作延期中,不想每天浪费时间,正好趁休息,整理一下工作中用的一下东西。 年前有个项目需要在微信中授权获取用户基本信息 微信授权使用的是OAuth2.0授权的方式。主要有以下步骤: 第一步:用户同意授权,获取code 第二步:通过code换取网页授权access_token 第三步:刷新 ...
分类:
微信 时间:
2020-02-05 20:29:32
阅读次数:
101
protected void Button1_Click(object sender, EventArgs e) { OleDbConnection conn = new OleDbConnection("provider=microsoft.jet.oledb.4.0;data source=|d ...
分类:
数据库 时间:
2020-02-05 13:31:34
阅读次数:
100
CLIENT SIDE ATTACKS - Trojan delivery method - using email spoofing Use gathered info to contract targets. (e.g. Maltego, Google ... etc.) Send an ema ...
分类:
数据库 时间:
2020-02-05 10:15:56
阅读次数:
126
CLIENT SIDE ATTACKS - Spoofing backdoor extension Change the extension of the trojan from exe to a suitable one. Make the trojan even more trustable. ...
分类:
数据库 时间:
2020-02-05 09:26:31
阅读次数:
75
Authorizing Kafka access over non-authenticated channel via Ranger This section answers some questions one is likely to encounter when trying to autho ...
分类:
数据库 时间:
2020-02-04 15:59:14
阅读次数:
83
1、找到目标进程Pid(ProcessEntry32结构体) 2、通过dwPid找到目标dll的模块句柄(MODULEENTRY32结构体) 3、根据找到的Pid打开目标进程hProcess = OpenProcess(PROCESS_ALL_ACCESS,FALSE,dwPid); 4、获取Fre ...
分类:
其他好文 时间:
2020-02-04 14:19:19
阅读次数:
75
1 #include <Aclapi.h> 2 BOOL EnableRegSAMPriv() 3 { 4 BOOL bRet = TRUE; 5 DWORD dRet = 0; 6 PACL pOldDacl = NULL, pNewDacl = NULL; 7 EXPLICIT_ACCESS e ...
分类:
其他好文 时间:
2020-02-04 14:16:40
阅读次数:
99