資源簡介
cisco模擬器,可以仿真路由器以及交換機,如果設置了合適的CPU開銷,一般的臺式機可以模擬6到8臺cisco路由器或者交換機。可實現虛擬路由器的抓包,查看具體的報文交互內容。如果需要更多的bin,可以郵件聯系我

代碼片段和文件信息
#?configobj.py
#?A?config?file?reader/writer?that?supports?nested?sections?in?config?files.
#?Copyright?(C)?2005-2006?Michael?Foord?Nicola?Larosa
#?E-mail:?fuzzyman?AT?voidspace?DOT?org?DOT?uk
#?????????nico?AT?tekNico?DOT?net
#?ConfigObj?4
#?http://www.voidspace.org.uk/python/configobj.html
#?Released?subject?to?the?BSD?License
#?Please?see?http://www.voidspace.org.uk/python/license.shtml
#?scripts?maintained?at?http://www.voidspace.org.uk/python/index.shtml
#?For?information?about?bugfixes?updates?and?support?please?join?the
#?ConfigObj?mailing?list:
#?http://lists.sourceforge.net/lists/listinfo/configobj-develop
#?Comments?suggestions?and?bug?reports?welcome.
from?__future__?import?generators
“““
????>>>?z?=?ConfigObj()
????>>>?z[‘a‘]?=?‘a‘
????>>>?z[‘sect‘]?=?{
????...????‘subsect‘:?{
????...?????????‘a‘:?‘fish‘
????...?????????‘b‘:?‘wobble‘
????...?????}
????...?????‘member‘:?‘value‘
????...?}
????>>>?x?=?ConfigObj(z.write())
????>>>?z?==?x
????1
“““
import?sys
INTP_VER?=?sys.version_info[:2]
if?INTP_VER?(2?2):
????raise?RuntimeError(“Python?v.2.2?or?later?needed“)
import?os?re
from?types?import?StringTypes
from?warnings?import?warn
from?codecs?import?BOM_UTF8?BOM_UTF16?BOM_UTF16_BE?BOM_UTF16_LE
#?A?dictionary?mapping?BOM?to
#?the?encoding?to?decode?with?and?what?to?set?the
#?encoding?attribute?to.
BOMS?=?{
????BOM_UTF8:?(‘utf_8‘?None)
????BOM_UTF16_BE:?(‘utf16_be‘?‘utf_16‘)
????BOM_UTF16_LE:?(‘utf16_le‘?‘utf_16‘)
????BOM_UTF16:?(‘utf_16‘?‘utf_16‘)
????}
#?All?legal?variants?of?the?BOM?codecs.
#?TODO:?the?list?of?aliases?is?not?meant?to?be?exhaustive?is?there?a
#???better?way??
BOM_LIST?=?{
????‘utf_16‘:?‘utf_16‘
????‘u16‘:?‘utf_16‘
????‘utf16‘:?‘utf_16‘
????‘utf-16‘:?‘utf_16‘
????‘utf16_be‘:?‘utf16_be‘
????‘utf_16_be‘:?‘utf16_be‘
????‘utf-16be‘:?‘utf16_be‘
????‘utf16_le‘:?‘utf16_le‘
????‘utf_16_le‘:?‘utf16_le‘
????‘utf-16le‘:?‘utf16_le‘
????‘utf_8‘:?‘utf_8‘
????‘u8‘:?‘utf_8‘
????‘utf‘:?‘utf_8‘
????‘utf8‘:?‘utf_8‘
????‘utf-8‘:?‘utf_8‘
????}
#?Map?of?encodings?to?the?BOM?to?write.
BOM_SET?=?{
????‘utf_8‘:?BOM_UTF8
????‘utf_16‘:?BOM_UTF16
????‘utf16_be‘:?BOM_UTF16_BE
????‘utf16_le‘:?BOM_UTF16_LE
????None:?BOM_UTF8
????}
try:
????from?validate?import?VdtMissingValue
except?ImportError:
????VdtMissingValue?=?None
try:
????enumerate
except?NameError:
????def?enumerate(obj):
????????“““enumerate?for?Python?2.2.“““
????????i?=?-1
????????for?item?in?obj:
????????????i?+=?1
????????????yield?i?item
try:
????True?False
except?NameError:
????True?False?=?1?0
__version__?=?‘4.2.0‘
__revision__?=?‘$Id:?configobj.py?156?2006-01-31?14:57:08Z?fuzzyman?$‘
__docformat__?=?“restructuredtext?en“
#?NOTE:?Does?it?make?sense?to?have?the?following?in?__all__??
#?NOTE:?DEFAULT_INDENT_TYPE?NUM_INDENT_SPACES?MAX_INTERPOL_DEPTH
#?NOTE:?If?used?via?‘‘from?configobj?import...‘‘
#?NOTE:?They?are?effectively?read?only
__all__?=?(
????‘__version__‘
????‘DEFAULT_INDENT_TYPE‘
????‘NUM_INDENT_SPACES‘
????‘M
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄??????????0??2008-04-22?15:33??dynamips
?????目錄??????????0??2008-04-10?11:17??dynamips\dynagen-0.10.1
?????目錄??????????0??2008-04-10?11:17??dynamips\dynagen-0.10.1\docs
?????目錄??????????0??2008-04-10?11:17??dynamips\dynagen-0.10.1\docs\tutorial_files
?????目錄??????????0??2008-04-10?11:17??dynamips\dynagen-0.10.1\sample_labs
?????目錄??????????0??2008-04-10?11:17??dynamips\dynagen-0.10.1\sample_labs\ethernet_switch
?????目錄??????????0??2008-04-10?11:17??dynamips\dynagen-0.10.1\sample_labs\fr
?????目錄??????????0??2008-04-10?11:17??dynamips\dynagen-0.10.1\sample_labs\multiserver
?????目錄??????????0??2008-04-10?11:17??dynamips\dynagen-0.10.1\sample_labs\simple1
?????目錄??????????0??2008-04-10?11:17??dynamips\dynagen-0.10.1\sample_labs\simple2
?????目錄??????????0??2008-04-10?11:17??dynamips\dynamips-0.2.8-RC2-cygwin
?????文件?????117532??2007-09-09?18:42??dynamips\dynagen-0.10.1\configobj.py
?????文件???????2005??2007-09-09?18:42??dynamips\dynagen-0.10.1\configspec
?????文件??????46644??2007-09-09?18:42??dynamips\dynagen-0.10.1\console.py
?????文件??????18526??2007-09-09?18:42??dynamips\dynagen-0.10.1\COPYING
?????文件?????115726??2007-09-09?18:42??dynamips\dynagen-0.10.1\docs\tutorial.htm
?????文件??????29229??2007-09-09?18:42??dynamips\dynagen-0.10.1\docs\tutorial_files\image001.jpg
?????文件???????5686??2007-09-09?18:42??dynamips\dynagen-0.10.1\docs\tutorial_files\image002.gif
?????文件???????6859??2007-09-09?18:42??dynamips\dynagen-0.10.1\docs\tutorial_files\image003.gif
?????文件??????11666??2007-09-09?18:42??dynamips\dynagen-0.10.1\docs\tutorial_files\image004.gif
?????文件??????37620??2007-09-09?18:42??dynamips\dynagen-0.10.1\docs\tutorial_files\image005.jpg
?????文件??????42482??2007-09-09?18:42??dynamips\dynagen-0.10.1\docs\tutorial_files\image006.jpg
?????文件??????39909??2007-09-09?18:42??dynamips\dynagen-0.10.1\docs\tutorial_files\image007.jpg
?????文件??????41028??2007-09-09?18:42??dynamips\dynagen-0.10.1\docs\tutorial_files\image008.jpg
?????文件??????44408??2007-09-09?18:42??dynamips\dynagen-0.10.1\docs\tutorial_files\image009.jpg
?????文件??????40196??2007-09-09?18:42??dynamips\dynagen-0.10.1\docs\tutorial_files\image010.jpg
?????文件???????9570??2007-09-09?18:42??dynamips\dynagen-0.10.1\docs\tutorial_files\image011.gif
?????文件???????9504??2007-09-09?18:42??dynamips\dynagen-0.10.1\docs\tutorial_files\image012.gif
?????文件???????5961??2007-09-09?18:42??dynamips\dynagen-0.10.1\docs\tutorial_files\image013.gif
?????文件??????14968??2007-09-09?18:42??dynamips\dynagen-0.10.1\docs\tutorial_files\image014.gif
............此處省略34個文件信息
- 上一篇:廣聯達土方計算軟件破解版
- 下一篇:5930961黃瓜視頻.rar
評論
共有 條評論