
沉思厅
射下北极星
每天多一分钟学习,生命就多一份精彩。
展开
-
Libpcap library/headers not found....
<br />编译snort2.4,问题仍然没有解决,Mark一下。。。<br /> <br />首先出现的问题:<br /> <br /> ERROR! Libpcap library/headers not found, go get it fromhttp://www.tcpdump.orgor use the --with-libpcap-* options, if you have it installedin unusual place<br /> <br />因为少了libpcap库原创 2011-03-17 16:11:00 · 3884 阅读 · 2 评论 -
C语言在TXT文件中搜索字符串
方法一:bool CBrowseDir::SearchTXT(const char *filename){ string filename1( filename ); string keyword( "word" ); ifstream in( filename1.c_str()); if( in ) { ostringstream os原创 2016-09-07 16:30:03 · 12252 阅读 · 1 评论 -
Ubuntu10.04 更新源 安装ia32-libs成功
Ubuntu10.04更新源sudo gedit /etc/apt/sources.listdeb http://mirror.bjtu.edu.cn/ubuntu lucid main restricted universe multiversedeb http://mirror.bjtu.edu.cn/ubuntu lucid-security main restricted universe转载 2016-09-13 09:52:11 · 1448 阅读 · 0 评论 -
*.pyc文件无法执行
python生成*.pyc文件后执行出错的问题:$./*.py 运行成功;$./*.pyc 运行失败;解决: 运行.pyc文件要通过python *.pyc来执行:$python *.pyc 运行成功;原创 2016-08-22 14:26:20 · 3526 阅读 · 0 评论 -
chapcrack编译过程中的python错误
from passlib.utils import desImportError: No module named passlib.utilsapt-get install python-passlibfrom dpkt import pcapImportError: No module named dpktsudo apt-get install python-dpktfrom M2Crypt原创 2016-08-22 11:44:57 · 860 阅读 · 0 评论 -
Ubuntu下安装Freetds,并编程连接MSSQL
1. 环境 Ubuntu14.04.05 freetds-stable.tar.gz2. 安装freetds 下载freetds : http://www.freetds.org 解压 : tar zxvf freetds-stable.tar.gzcd freetds1.00sudo ./configure --prefix=/usr/local/freet原创 2016-08-29 11:35:26 · 3885 阅读 · 0 评论 -
Pyinstaller : ImportError: No module named pefile
使用Pyinstaller对.py程序打包成.exe pyinstaller3.2 python2.7windows环境下安装pyinstaller3.2 : 先安装pywin32-217.win32-py2.7.exe; 解压pyinstaller3.2 后直接可以执行:python pyinstaller.py -F -w C:\mypy\mypy.pypython pyinstal原创 2016-06-19 16:29:08 · 7213 阅读 · 1 评论 -
firefox不安全连接
firefox47.0 突然不能打开https://www.baidu.com等网站。显示不安全链接。解决: firefox输入:about:support 点击:显示文件夹 删除:cert8.db文件 重启firefox。原创 2016-07-14 14:29:07 · 5456 阅读 · 0 评论 -
python强制类型转换(dpkt)
http://dpkt.readthedocs.io/en/latest/_modules/dpkt/ppp.html#PPPclass PPP(dpkt.Packet): 类型为:dpkt.ppp.PPPppp_packet = (dpkt.ppp.PPP)(udp_packet.data[6:])ppp_packet = (dpkt.ppp.PPP)(udp_packet.data[8:])原创 2016-06-28 20:52:46 · 1522 阅读 · 0 评论 -
jsfuck编码---idf实验室“一种编码而已”笔记
[][(![]+[])[!![]+!![]+!![]]+({}+[])[+!![]]+(!![]+[])[+!![]]+(!![]+[])[+[]]][({}+[])[!![]+!![]+!![]+!![]+!![]]+({}+[])[+!![]]+({}[[]]+[])[+!![]]+(![]+[])[!![]+!![]+!![]]+(!![]+[])[+[]]+(!![]+[])[+!![]]原创 2016-06-08 16:03:51 · 3235 阅读 · 1 评论 -
C语言生成调用DLL
一、生成DLL文件 生成DLL文件需要用到两个文件,一个头文件,dll.h,和一个源文件,dll.c头文件dll.h内容: #ifndef _DLL_DEMO_H_ #define _DLL_DEMO_H_ #ifdef DLLDEMO_EXPORTS #define DLL_DEMO _declspec( dllexport ) #else #d原创 2018-01-02 09:55:46 · 6633 阅读 · 0 评论