Method of canceling encryption between TMG and client

Source: Internet
Author: User

In the enterprise we often find that in a number of rows, there is no way to analyze the encryption data between TMG and FWC, in this case how we decrypt, this may be for us to analyze the packet is a very necessary work, the cancellation of encryption can be done by the following script:

Option Explicit ' scripting settings: Require all variables to be declared in advance

Dim Oroot:set oroot = CreateObject ("FPC". Root "" opens TMG configuration COM + component

Dim oarray:set Oarray = Oroot.getcontainingarray ' Open TMG Configuring array hive in COM + components

Dim oclntcfg:set oclntcfg = oarray.fwclientconfigsettings ' Open array hive TMG Client configuration information

This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/Servers/zs/

WScript.Echo "Oclntcfg.enablecontrolchannelencryption (Old):" & Oclntcfg.enablecontrolchannelencryption ' Setting values that display previous (old) TMG communication encryption in client configuration information

Oclntcfg.enablecontrolchannelencryption = Not (oclntcfg.enablecontrolchannelencryption) ' On/off the set value of communication encryption in current TMG client configuration information

WScript.Echo "Oclntcfg.enablecontrolchannelencryption" (New): "& Oclntcfg.enablecontrolchannelencryption" Displays the setting value of the current (new) TMG client configuration information for communication encryption or not

Oarray.save true ' saves the update settings

Save the above script as Togglerwsencryption.vbs

Run cscript C:\togglerwsencryption.vbs as Administrator on TMG after saving the script.

This article is from the "Clumsy birds have" blog, please be sure to keep this source http://tingdongwang.blog.51cto.com/1056852/822472

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.