cornsea

上一页 1 2 3 4 5 6 ··· 8 下一页

2012年10月19日 #

Python的几种实现介绍

摘要: 目前有几种比较流行的Python语言实现(其实就是编译和解释器):CPython: 最主要的实现,很多Python的新功能都会出现在这里,讨论和维护也最充分,对Python和编译有兴趣的推荐阅读这个代码。IronPython: 可以看作是Python在.net平台的实现,直接把python的bytecode翻译成.net的IL。PyPy: 用Python语言实现的Python。。。。:), 主要用来实现一些语言特性. Talk is cheap, just do it.Python For .net: 用的Cpython代码,但是编译出来后是一个.net的managed 应用程序。JPytho 阅读全文

posted @ 2012-10-19 10:25 cornsea 阅读(306) 评论(0) 推荐(0) 编辑

2011年10月4日 #

postgresql and freeradius

摘要: 1. 配置数据库 sudo su postgres -c 'createuser radius --no-superuser --no-createdb --no-createrole -P' sudo su postgres -c 'createdb radius --owner=radius' create database with the following tables: /etc/freeradius/sql/postgresql/schema.sql /etc/freeradius/sql/postgresql/nas.sqlINSERT INTO 阅读全文

posted @ 2011-10-04 22:03 cornsea 阅读(427) 评论(0) 推荐(0) 编辑

2011年6月28日 #

查看证书内容

摘要: openssl x509 -in ipop3d.pem -noout -text 阅读全文

posted @ 2011-06-28 15:18 cornsea 阅读(239) 评论(0) 推荐(0) 编辑

2011年4月12日 #

awk 输出一列

摘要: awk < data.txt '{ print $6 }' > raw.txt 阅读全文

posted @ 2011-04-12 12:38 cornsea 阅读(847) 评论(0) 推荐(0) 编辑

2011年3月23日 #

cmpxchg原子操作过程

摘要: R = cmpxchg(A, C, B) - Assign A = B if A == C - Return A at the time of the call, unconditionally 阅读全文

posted @ 2011-03-23 00:11 cornsea 阅读(1962) 评论(0) 推荐(0) 编辑

2011年3月20日 #

无线客户端通过开放无线接入点上网全过程

摘要: 802.11是现在部署非常广泛的也是支持的客户端最多的无线上网协议。支持802.11协议的客户端想要通过无线路由上网时,首先必须要知道有哪些无线接入点存在,这就想你想通过有线上网必须要先找到网口一样。在找到无线接入点之后,客户端要和接入点进行绑定,并在得到接入点的认可之后,才能获得权限访问网络。整个过程涉及到很多内容,包括客户端和接入点之间协商数据传输速度,协商认证方式等。为了搞清楚整个客户端通过接入点连接网络的整个过程,我用wireshark工具抓了笔记本和一个开放接入点之间的网络包,简单分析后,使用mscgen工具描绘了大概的交互过程。抓包的过程是这样的:首先打开wireshark指定从w 阅读全文

posted @ 2011-03-20 22:18 cornsea 阅读(1234) 评论(0) 推荐(1) 编辑

2011年3月19日 #

aircrack documentation

摘要: For whatever reason the official aircrack website is no longer available. We are making this page available along with the last release of aircrack; aircrack-2.41 for download here:http://www.wirelessdefence.org/Contents/AircrackMain.htmAs of March 2006 theAircrack-ng projecthave taken on the develo 阅读全文

posted @ 2011-03-19 23:12 cornsea 阅读(721) 评论(0) 推荐(0) 编辑

2011年3月16日 #

快速检索关键字shell命令

摘要: 例子:想要在所有.c 文件中检索MSGH_ENH_SEC_FILEfind . -name *.c -exec grep -n MSGH_ENH_SEC_FILE /dev/null {} \; 阅读全文

posted @ 2011-03-16 17:53 cornsea 阅读(1271) 评论(0) 推荐(1) 编辑

2011年3月11日 #

一些理解源代码的工具

摘要: 1. Understand 可以帮助你看函数的以来关系,进行静态分析等 http://www.scitools.com/index.php2. ncc/codeviz http://students.ceid.upatras.gr/~sxanth/ncc/ http://www.csn.ul.ie/~mel/projects/codeviz/ 快速生成函数调用图3. kcachegrindcallgraph http://kcachegrind.sourceforge.net/cgi-bin/show.cgi/KcacheGrindCallGraph4. dms http://www.sema 阅读全文

posted @ 2011-03-11 22:15 cornsea 阅读(704) 评论(0) 推荐(0) 编辑

2011年2月23日 #

为什么linux下的traceroute默认选项不能工作呢?

摘要: 问题:在命令行下输入: traceroute www.google.com屏幕打印是这样的:traceroute to www.google.com (66.249.89.104), 30 hops max, 60 byte packets1 * * *2 * * *3 * * *4 * * *5 * * *没有得到任何中间路由器的信息。分析:traceroute的基本原理就是发出TTL字段为1-n的ip包,然后等待路由器的ICMP超时回复,进而记录下来经过的路由器。通过man traceroute 可以看到,traceroute可以在ip包中放三种数据:1) 使用UDP包(默认选项是-U)2 阅读全文

posted @ 2011-02-23 09:46 cornsea 阅读(2266) 评论(0) 推荐(1) 编辑

上一页 1 2 3 4 5 6 ··· 8 下一页

导航