2015年4月24日

Python 的 encode 和 decode

摘要: 记一下,备忘。Python 使用unicode,所以无论encode还是decode都是针对unicode来说的。encode:把unicode转为其他编码(gbk、utf8、gb2312等)。decode:把其他编码转为unicode码。比如字符串a为gb2312,想转为utf8:a.decode... 阅读全文

posted @ 2015-04-24 15:12 记不住 阅读(260) 评论(0) 推荐(0) 编辑

2015年4月22日

Tripwire配置和运行

摘要: #cd/usr/local/etc#lldrwxr-xr-x2rootroot40962012-10-1320:50./drwxr-xr-x13rootroot40962012-10-1217:16../-rw-r-----1rootroot9312012-10-1217:17noi-linux-l... 阅读全文

posted @ 2015-04-22 15:45 记不住 阅读(357) 评论(0) 推荐(0) 编辑

man twadmin

摘要: twadmin:Tripwireadministrativetool.OpenSoureTripwire(R)2.4.2.2.2builtfori686-pc-linux-gnuOpenSourceTripwire2.4Portionscopyright2000Tripwire,Inc.Tripwi... 阅读全文

posted @ 2015-04-22 15:44 记不住 阅读(200) 评论(0) 推荐(0) 编辑

Tripwire策略说明

摘要: 在/usr/local/doc/tripwire/目录下有个policyguide.txt文件,是策略示例。/etc/hosts->+pinugs意为如果/etc/hosts文件被改动,Tripwire将发出警告。!/etc/init.d前面的!意为不扫描/etc/init.d文件“/home/fr... 阅读全文

posted @ 2015-04-22 15:42 记不住 阅读(383) 评论(0) 推荐(0) 编辑

Tripwire安装

摘要: 系统Ubuntu10.10,linux-2.6.35,gcc4.4.5安装包tripwire-2.4.2.2-src.tar.bz2。解压,./configuremakemakeinstall按Enter继续,License肯定同意啊,按q退出,输入accept同意,按y继续,出现输入site口令,... 阅读全文

posted @ 2015-04-22 15:40 记不住 阅读(246) 评论(0) 推荐(0) 编辑

[部分翻译] tripwire(8) - Linux man page

摘要: Nametripwire-afileintegritycheckerforUNIXsystemsSynopsis//简介tripwire{-mi|--init}[options...]tripwire{-mc|--check}[options...][object1[object2...]]trip... 阅读全文

posted @ 2015-04-22 15:38 记不住 阅读(233) 评论(0) 推荐(0) 编辑

snort-2.9.3.1安装

摘要: Ubuntu10.10下载好snort-2.9.3.1.tar.gz包,开始安装:#./configure遇到ERROR:checkingforpfring_openin-lpcap...noERROR!Libpcaplibrary/headers(libpcap.a(or.so)/pcap.h)n... 阅读全文

posted @ 2015-04-22 15:35 记不住 阅读(1268) 评论(0) 推荐(0) 编辑

[转载] snort中文手册

摘要: 转自:http://man.chinaunix.net/network/snort/Snortman.htmSnort中文手册摘要snort有三种工作模式:嗅探器、数据包记录器、网络入侵检测系统。嗅探器模式仅仅是从网络上读取数据包并作为连续不断的流显示在终端上。数据包记录器模式把数据包记录到硬盘上。... 阅读全文

posted @ 2015-04-22 15:33 记不住 阅读(323) 评论(1) 推荐(0) 编辑

wireshark_1.2.11安装

摘要: Ubuntu10.10和wireshark_1.2.11-6+squeeze7_i386.deb#sudodpkg-iwireshark_1.2.11-6+squeeze7_i386.debdpkg:依赖关系问题使得wireshark的配置工作不能继续:wireshark依赖于libc-ares2(... 阅读全文

posted @ 2015-04-22 15:26 记不住 阅读(256) 评论(0) 推荐(0) 编辑

Ubuntu 12.04 安装tpm-emulator

摘要: 访问http://tpm-emulator.berlios.de/download.html,打开终端,输入svncheckoutsvn://svn.berlios.de/tpm-emulator/trunktpm-emulator自动下载到主文件夹下了。#cdtpm-emulator#mkdirb... 阅读全文

posted @ 2015-04-22 15:24 记不住 阅读(666) 评论(0) 推荐(0) 编辑

导航