导航

 

2017年3月20日

摘要: #coding=utf8 from pyDes import * import base64 class Crypt_Error(): pass """ des方法,des(处理后的秘钥,加密方式,位移向量,位移方式,填充方式) """ def _get_key(key): if not key: key="U8y0R81k" elif len(... 阅读全文
posted @ 2017-03-20 15:34 slqt 阅读(510) 评论(0) 推荐(0) 编辑
 

2017年3月16日

摘要: DES加密模式详解 DES加密模式详解 http://www.cnblogs.com/Lawson/archive/2012/05/20/2510781.html http://www.blogjava.net/wayne/archive/2011/05/23/350879.html 加密算法常见的 阅读全文
posted @ 2017-03-16 15:38 slqt 阅读(12580) 评论(0) 推荐(2) 编辑
 
摘要: 20.1 binascii:二进制和ASCII互转作用:二进制和ASCII互相转换。 Python版本:1.5及以后版本 binascii模块包含很多在二进制和ASCII编码的二进制表示转换的方法。通常情况不会直接使用这些功能,而是使用像UU,base64编码,或BinHex封装模块。 binasc 阅读全文
posted @ 2017-03-16 10:55 slqt 阅读(13455) 评论(0) 推荐(0) 编辑
 

2017年3月6日

摘要: 解除原有源rpm -aq|grep yum|xargs rpm -e --nodepsrpm -aq|grep python-iniparse|xargs rpm -e --nodeps rpm -qa | grep yum检验是否删除干净下载四个包:wget http://mirrors.163. 阅读全文
posted @ 2017-03-06 14:00 slqt 阅读(199) 评论(0) 推荐(0) 编辑
 

2017年2月15日

摘要: yum install openssl-devel yum install pycrypto yum install python-devel 全部安装完毕后执行pip install paramiko 阅读全文
posted @ 2017-02-15 17:00 slqt 阅读(335) 评论(0) 推荐(0) 编辑
 

2016年12月28日

摘要: 以下步骤都在controller节点上执行 1、远程获取/etc/swift/swift.conf文件: 2、修改/etc/swift/swift.conf配置文件: 3、把/etc/swift/swift.conf这个文件从controller节点拷贝到每一个swift节点,然后在各个swift节 阅读全文
posted @ 2016-12-28 18:59 slqt 阅读(1082) 评论(0) 推荐(0) 编辑
 
摘要: 以下步骤需要在controller节点上进行操作: 切换到/etc/swift目录下进行如下操作: 一、创建account ring 1、创建account.builder文件 swift-ring-builder account.builder create 10 3 1 2、把每个节点添加到ri 阅读全文
posted @ 2016-12-28 18:52 slqt 阅读(627) 评论(0) 推荐(0) 编辑
 
摘要: 本文参照官方教程:http://docs.openstack.org/project-install-guide/object-storage/draft/environment-networking.html 我们要设置的swift节点名称为object1,主控节点和proxy节点都是contro 阅读全文
posted @ 2016-12-28 16:24 slqt 阅读(471) 评论(0) 推荐(0) 编辑
 

2016年10月9日

摘要: http://www.freebuf.com/articles/system/30037.html使用TCP/IP协议栈指纹进行远程操作系统辨识 Fyodor <fyodor@insecure.org> (insecure.org) 1998-10-18 最后修改:1999-4-10 译者neko 阅读全文
posted @ 2016-10-09 12:30 slqt 阅读(2062) 评论(0) 推荐(0) 编辑
 

2016年9月18日

摘要: 代码已经过测试 阅读全文
posted @ 2016-09-18 10:56 slqt 阅读(984) 评论(0) 推荐(0) 编辑