资源简介
Xshell.zip
代码片段和文件信息
def Main():
xsh.Session.Open(“C:\...\NetSarang\Xshell\Sessions\New Session.xsh“)
xsh.Screen.Synchronous = True #True or False
xsh.Session.Sleep(1000)
#*** WaitForString ***
xsh.Screen.WaitForString(“aaa“) # input “aaa“ in Terminal
#*** Send ***
xsh.Screen.Send(“cat /etc/passwd“)
xsh.Screen.Send(‘\r‘)
xsh.Session.Sleep(1000)
#*** Get Clear ***
ScreenRow = xsh.Screen.CurrentRow - 1
ReadLine = xsh.Screen.Get(ScreenRow 1 ScreenRow 40)
Items = ReadLine.split(‘:‘);
xsh.Dialog.MsgBox(Items[2])
xsh.Screen.Clear()
#*** Property ***
xsh.Screen.Synchronous = False
MsgProp = “Col:“ + str(xsh.Screen.CurrentColumn) + “ “
MsgProp = MsgProp + “Row:“ + str(xsh.Screen.CurrentRow) + “ “
MsgProp = MsgProp + “TermCol:“ + str(xsh.Screen.Columns) + “ “
MsgProp = MsgProp + “TermRow:“ + str(xsh.Screen.Rows)
xsh.Dialog.MsgBox(MsgProp)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-09-27 09:40 Xshell5_1\
文件 158936 2015-04-09 19:06 Xshell5_1\CrashRpt.dll
文件 977112 2015-04-09 19:06 Xshell5_1\CrashSender.exe
目录 0 2017-09-27 09:40 Xshell5_1\Languages\
文件 284672 2015-04-09 19:04 Xshell5_1\Languages\XagentCHS.dll
文件 285184 2015-04-09 19:04 Xshell5_1\Languages\XagentCHT.dll
文件 296960 2015-04-09 19:04 Xshell5_1\Languages\XagentDEU.dll
文件 297472 2015-04-09 19:04 Xshell5_1\Languages\XagentESN.dll
文件 297984 2015-04-09 19:04 Xshell5_1\Languages\XagentFRA.dll
文件 288256 2015-04-09 19:04 Xshell5_1\Languages\XagentJPN.dll
文件 286720 2015-04-09 19:04 Xshell5_1\Languages\XagentKOR.dll
文件 366592 2015-04-09 19:06 Xshell5_1\Languages\XshellCHS.dll
文件 367104 2015-04-09 19:06 Xshell5_1\Languages\XshellCHT.dll
文件 716800 2015-04-09 19:05 Xshell5_1\Languages\XshellCoreCHS.dll
文件 717824 2015-04-09 19:05 Xshell5_1\Languages\XshellCoreCHT.dll
文件 787456 2015-04-09 19:05 Xshell5_1\Languages\XshellCoreDEU.dll
文件 791552 2015-04-09 19:05 Xshell5_1\Languages\XshellCoreESN.dll
文件 793600 2015-04-09 19:05 Xshell5_1\Languages\XshellCoreFRA.dll
文件 735744 2015-04-09 19:05 Xshell5_1\Languages\XshellCoreJPN.dll
文件 730624 2015-04-09 19:05 Xshell5_1\Languages\XshellCoreKOR.dll
文件 396800 2015-04-09 19:06 Xshell5_1\Languages\XshellDEU.dll
文件 398336 2015-04-09 19:06 Xshell5_1\Languages\XshellESN.dll
文件 399360 2015-04-09 19:06 Xshell5_1\Languages\XshellFRA.dll
文件 374272 2015-04-09 19:06 Xshell5_1\Languages\XshellJPN.dll
文件 372224 2015-04-09 19:05 Xshell5_1\Languages\XshellKOR.dll
文件 254976 2015-04-09 19:05 Xshell5_1\Languages\XtransportCHS.dll
文件 254976 2015-04-09 19:05 Xshell5_1\Languages\XtransportCHT.dll
文件 256512 2015-04-09 19:05 Xshell5_1\Languages\XtransportDEU.dll
文件 256512 2015-04-09 19:05 Xshell5_1\Languages\XtransportESN.dll
文件 257024 2015-04-09 19:05 Xshell5_1\Languages\XtransportFRA.dll
文件 255488 2015-04-09 19:05 Xshell5_1\Languages\XtransportJPN.dll
............此处省略36个文件信息
- 上一篇:CQI-23 模塑系统评估
- 下一篇:robot fr
amework一键式安装包
相关资源
- 重构改善既有代码的设计高清版.pdf
- 30337《基于HyperLynx90的信号和电源完整
- 老虎淘客系统5.99.17代理系统2.97微擎系
- s轨迹无碳小车全套资料.rar
- zw_bbbbbbbbo-10475799-算法设计与分析习题
- 数据可视化源码.rar
- zw_手把手教你学DSP:基于TMS320F28335=
- MAS学习相关书籍.zip
- 华为MA5680T升级包MA5600V800R011C00.bin.zi
- 全国县级矢量数据shp20190822完善.rar
- 最优化导论第四版.rar
- 后端全插件.zip
- Optiwave.OptiSystem.v7.0.With.Crack-NULL.part2
- 现代信号处理zhang(第二版)清华大学
- 微机原理与接口技术——基于8086和
- ScreenReceiver46接收rtp流解析并解码播放
- part3.PDF
- 张贤达《现代信号处理》第二版.pdf
- GoogleChromePortable.7z
- pt1101memeda_10737163.zip
- (4)LCD显示(1).rar
- ProgrammingGameAIByExample.pdf
- SMBMS.rar
- 断刃小组批量getshell工具.zip
- 12467230STM32L073xx_User_Manual.chm
- OAuth2实战.pdf
- 电分期末.zip
- 胡伟武_计算机体系结构课件_2017.zip
- ComputerArchitectureAQuantitativeApproach5th.p
- Classificationoftime-seriesimagesusingdeepcnn.
评论
共有 条评论