g_pLog = new CLog("log"); g_pLog->Enable(); g_pScrLog = new CLog("data"); g_pScrLog->Enable(); CString srelog= _T("log..."); g_pLog->WriteLogFile(srel... ...
分类:
其他好文 时间:
2018-08-25 15:34:53
阅读次数:
190
链接:https://www.nowcoder.com/acm/contest/158/B 求最长连续严格递增序列 线段树模板题,码力弱的一匹调了半天。。 代码: ...
分类:
其他好文 时间:
2018-08-25 11:39:05
阅读次数:
176
前有Mimikatz,今有mimipenguin,近日国外安全研究员huntergregal发布了工具mimipenguin,一款Linux下的密码抓取神器,可以说弥补了Linux下密码抓取的空缺。 详情通过转储过程和提取那些包含明文密码可能性很高的行(hang),充分利用内存中的明文凭证。通过检查 ...
分类:
其他好文 时间:
2018-08-24 23:36:03
阅读次数:
220
<form id="form1" name="form1" method="post" action=""> <select name="select" id="select" onchange="window.location=this.value;"> <option value="http:/ ...
分类:
其他好文 时间:
2018-08-24 00:35:51
阅读次数:
209
https://blog.csdn.net/sinat_36184075/article/details/54836053 https://blog.csdn.net/fdqw_sph/article/details/54233971 https://blog.csdn.net/major_zhan ...
分类:
编程语言 时间:
2018-08-23 16:55:07
阅读次数:
142
设置更改root密码安装mysql后默认是没有密码的(mysql5.7以后会随机产生一个root密码),需要手动去为mysql的root管理员创建密码初次使用mysql时,是没有mysql命令的,这是因为PATH路径中没有添加mysql的bash路径,需要我们使用exportPATH添加一下即可,这里我写入到了/etc/profile文件当中,这样每次开机启动时都会自动加载这个路径,生效这个路径下
分类:
数据库 时间:
2018-08-22 19:36:52
阅读次数:
306
import paramikoimport osclass Linux(object): # 通过IP, 用户名,密码,超时时间初始化一个远程Linux主机 def __init__(self, ip, username, password, timeout=30): self.ip = ip se ...
分类:
编程语言 时间:
2018-08-22 17:02:15
阅读次数:
207