资源简介
linux远程连接工具,windows64位中文破解版,解压缩后可直接使用。
代码片段和文件信息
# $language = “python“
# $interface = “1.0“
# AddCommentToLogFile.py
#
# Description:
# This example script allows you to add a custom line of text to your
# SecureCRT log file. The user will be prompted for the text to add
# to the log file; logging will be stopped; the text provided by the
# user will be appended to the log file; then SecureCRT logging will
# be restarted.
#
# This method only works with connections associated with a Session
# configuration in which a log file is specified.
#
# Demonstrates:
# - How to prompt for user input using the SecureCRT InputBox() function.
# - How to access Session.LogFileName to determine the log file name
# stored for the current session.
# - How to use the Session.Logging property to determine if logging
# is currently active.
# - How to use the Python replace() method to substitute substrings
# within an existing string.
# - How to use the Python file object to open an existing text file
# and append data.
#
import datetime
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
def Main():
# Make this script tab safe
tab = crt.GetscriptTab()
if tab.Session.LogFileName == ““ :
crt.Dialog.MessageBox(“Error.\n\n\
This script requires a session configuration in which a \
log file is defined.\n\n\
Specify a Log file name in Session Options ““Terminal / \
Log File““ and run this script again.“)
return
# 1. Stop logging to free up the log file for writing by our script.
tab.Session.Log(False)
# 2. Prompt the user for the text to add to the log file.
now = str(datetime.datetime.now())
textToAdd = crt.Dialog.Prompt(
“Add comment to log file (use \\r\\n to separate multiple lines):\n\n\
Comment will be prefaced with current timestamp:\n“ + now + “\n“
“Add Comment To SecureCRT Log File\n“ + now + “: “)
# Prompt returns ““ if the user cancels
if textToAdd == ““:
return
# 3. Write data to the file. If you want to include a newline you must
# concatenate a \n character to the end of the line. Note also that you can
# wrap the comment with certain markers and not require the user to enter
# these markers when prompted. Although the prompt function only allows
# one line per entry you can set up a tag that can be used to represent
# a new line such as “\r\n“ and then replace this tag with a \n as we
# have done in this example:
textToAdd = “\n/********************************************/ \n\
* “ + now + “: \n* “ + textToAdd.replace(“\r\n“ “\n* “) + “\n\
/********************************************/ \n“
WriteToFile(tab.Session.LogFileName textToAdd)
# 4. Start up logging again making sure we append rather than overwrite.
tab.Session.Log(True True)
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
def WriteToFile(filename data):
# filename: Full path to file
# data: data to be written to the
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 8734 2017-03-23 09:48 SecureCRSecureFXPortable64\App\AppInfo\appicon.ico
文件 690 2017-03-23 09:48 SecureCRSecureFXPortable64\App\AppInfo\appicon_16.png
文件 1698 2017-03-23 09:48 SecureCRSecureFXPortable64\App\AppInfo\appicon_32.png
文件 585 2017-03-23 09:48 SecureCRSecureFXPortable64\App\AppInfo\appinfo.ini
文件 724480 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\Activator.exe
文件 1827328 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\ccme_ba
文件 384 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\ccme_ba
文件 1462272 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\ClientConfigUI70U.dll
文件 413184 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\CommonUI70U.dll
文件 889856 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\ConnectDialog70U.dll
文件 1891840 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\cryptocme2.dll
文件 384 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\cryptocme2.dll.manifest
文件 1607 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\cryptocme2.sig
文件 300032 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\FTP.dll
文件 310272 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\FTPSSL.dll
文件 5239 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\Keymaps\CRiSP.key
文件 2173 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\Keymaps\doorway.key
文件 9953 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\Keymaps\VShell.key
文件 1843 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\Keymaps\vt100.key
文件 2070 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\Keymaps\vt220-linux.key
文件 2537 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\Keymaps\vt220.key
文件 3735 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\Keymaps\vt400.key
文件 3957 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\Keymaps\wyse50.key
文件 889792 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\LicenseHelper.exe
文件 798720 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\LicenseUI70U.dll
文件 6915 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\Menus\allsystem.mnu
文件 8726 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\Menus\default.mnu
文件 4109 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\Menus\example.mnu
文件 7249 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\Menus\Japanese.mnu
文件 3882 2017-03-23 09:48 SecureCRSecureFXPortable64\App\VanDyke Clients\Menus\kiosk.mnu
............此处省略92个文件信息
相关资源
- SecureCRT v7.0 注册机
- SecureCRT-6.0.2安装包和SecureCRT-6.0.2注册
- SecureCRT 非常好用的串口工具
- 串口调试工具 SecureCRT
- win7超级终端SecureCRT
- SecureCRT7.3注册码
- SecureCRT 8.5.3 Build 1867(X64)原版 + ZW
- 3208CRT(新)
- CRT-591-Y 通讯协议_V1.2.doc
-
vcruntime140d.dll,ucrtba
sed.dll,32位和 - SecureCRT 8.0注册机
- awl-0.2.tar.gz TCP SYN洪水攻击 linux工具
- 利达CRT V4.03.002.rar
- SecureCRT windows xp 下的超级终端工具
- kali-linux工具包官方使用教程
- TCRT5000红外反射传感器循迹传感器.z
- OCRTessnet与Data
- 最好的linux工具 man汉化包
- securecrt6.5免费版
- SecureCRT破解版本,直接解压使用
- scrt-7.1.3-378.rhel6-64.x86_64.rpm
- SecureCRT 绿色版,支持win7支持64位和
- secureCRT for ubuntu14.04 and crack
- SecureCRT_English.zip
- SecureCRT-v6.58H 中文破解版
- SecureCRT-6.5.0绿色版-最稳定好用的经典
- busybox-1.18.4
-
vs2019丢失ucrtba
sed.dll-ucrtba sedx86_a - 3208Crt系统
- securecrt 32位官方安装包
评论
共有 条评论