首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏FreeBuf

    截获TLS密钥——Windows Schannel

    SChannel SChannel也被称为Secure Channel 23,是一个windows子系统,当windows应用程序想要做任何与TLS相关的事情时,比如与远程服务器建立一个加密会话,或接受来自客户端的 TLS连接,就会使用Schannel, 从体系来看,SChannel实现了Security Support Provider Interface (SSPI)接口,是微软提供的SSP包之一。 所有这些对应用程序来说都是透明的,它只使用来自schannel.dll的函数。 应用程序端的schannel .dll在幕后(参见1中的图2.6和2.7)使用ALPC连接到lsass端的schannel .dll。 使用ghidra反编译schannel!

    5K10发布于 2021-03-09
  • 来自专栏第三方工具

    Linux curl支持http/https方法,Curl请求示例语法

    with www.baidu.com port 443 (step 1/3) * schannel: checking server certificate revocation * schannel 178 bytes * schannel: SSL/TLS connection with www.baidu.com port 443 (step 2/3) * schannel: failed to schannel: encrypted data length: 4032 * schannel: encrypted data buffer: offset 4032 length 4096 * schannel 103424 * schannel: decrypted data length: 1179 * schannel: decrypted data added: 1179 * schannel: decrypted offset 2843 length 102400 * schannel: schannel_recv cleanup * schannel: decrypted data returned 2843

    57510编辑于 2024-10-09
  • 来自专栏Windows技术交流

    2008R2 powershell启用tls1.2安装chocolatey

    Protocols\TLS 1.2\Client' -Force New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL 1.2\Server' -Force Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL function disable-ssl-2.0 { New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL Server' -Force New-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL 'DWORD' -Force New-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL

    1.8K50编辑于 2024-08-20
  • 来自专栏家劲

    在Windows Server 2008上部署免费的https证书

    \Protocols\TLS 1.2" md "HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server" md "HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\ Client" # Enable TLS 1.2 for client and server SCHANNEL communications new-itemproperty -path "HKLM :\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server" -name "Enabled 1.2\Server" md "HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\

    2.6K10发布于 2019-09-18
  • windows Server 2008 R2服务器IIS环境启用TLS 1.2

    选择其中一种就行了,手动设置 打开注册表,运行regedit,找到 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL \Protocols] [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols \SSL 2.0] [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL \Protocols\TLS 1.1] [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols

    1.1K10编辑于 2025-05-21
  • 来自专栏运维研习社

    服务器如何修复旧加密算法漏洞

    ,双击运行即可,其中还禁用了一些其他已经不安全的加密套件 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL /56]"Enabled"=dword:00000000 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL 128]"Enabled"=dword:00000000 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL 128]"Enabled"=dword:00000000 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL 128]"Enabled"=dword:00000000 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL

    4.8K10发布于 2021-03-17
  • 来自专栏JavaEE

    NIO前言:一、NIO与IO的区别二、通道和缓冲区三、NIO的网络通信总结:

    sChannel.shutdownOutput(); //4.接收服务端的反馈 int len = 0; while((len = sChannel.read (buf); //7.关闭通道 sChannel.close(); outChannel.close(); ssChannel.close 切换非阻塞模式 sChannel.configureBlocking(false); //3. 关闭通道 sChannel.close(); } //服务端 @Test public void server() throws IOException 切换非阻塞模式 sChannel.configureBlocking(false); //12.

    7K30发布于 2018-12-27
  • 来自专栏石的三次方

    NIO模型

    获取通道 SocketChannel sChannel = SocketChannel.open(new InetSocketAddress("127.0.0.1", 10001)); 切换非阻塞模式 sChannel.configureBlocking(false); //3. 关闭通道 sChannel.close(); } 「服务端:」 public static void main(String[] args) throws IOException 若“接收就绪”,获取客户端连接 SocketChannel sChannel = ssChannel.accept(); 切换非阻塞模式 sChannel.configureBlocking(false); //12.

    71800发布于 2021-01-05
  • 来自专栏Windows技术交流

    在线迁移工具建立https失败,可能有多种原因

    问题:在线迁移工具建立https失败curl -i https://cvm.tencentcloudapi.comcurl:(35) schannel: failed to receive handshake Trying 106.55.89.173:443...* Connected to cvm.tencentcloudapi.com (106.55.89.173) port 443 (#0)* schannel : disabled automatic use of client certificate* ALPN: offers http/1.1* schannel: failed to receive handshake , SSL/TLS connection failed* Closing connection 0* schannel: shutting down SSL/TLS connection with cvm.tencentcloudapi.com port 443curl: (35) schannel: failed to receive handshake, SSL/TLS connection failed排查:1、telnet cvm.tencentcloudapi.com

    19010编辑于 2025-12-17
  • 来自专栏用户7621540的专栏

    NIO最全教程,看这一篇就够了

    =-1){ buf.flip(); sChannel.write(buf); buf.clear(); } sChannel.shutdownOutput();//关闭发送通道,表明发送完毕 //接收服务端的反馈 int len=0; while((len=sChannel.read =ssChannel.accept(); ByteBuffer buf=ByteBuffer.allocate(1024); while(sChannel.read(buf =ssChannel.accept(); //11.切换非阻塞模式 sChannel.configureBlocking(false ); //12.将该通道注册到选择器上 sChannel.register(selector, SelectionKey.OP_READ

    87810发布于 2020-09-16
  • 来自专栏OSChina

    NIO

    = SocketChannel.open(new InetSocketAddress("127.0.0.1",9898)); //2.切换非阻塞模式 sChannel.configureBlocking (byteBuffer); byteBuffer.clear(); } //5.关闭通道 sChannel.close(); } //服务器端 @Test public 接收就绪"状态事件 SocketChannel sChannel = ssChannel.accept(); //10.切换非阻塞模式 sChannel.configureBlocking (false); //11.将通道注册到选择器上 sChannel.register(selector, SelectionKey.OP_READ); ByteBuffer buf = ByteBuffer.allocate(1*1024); int len = 0; try { while((len = sChannel.read

    91630发布于 2019-10-15
  • 来自专栏c++与qt学习

    NIO~~

    若“接收就绪”,获取客户端连接 SocketChannel sChannel = ssChannel.accept(); //11. 切换非阻塞模式 sChannel.configureBlocking(false); //12. bind就会抛出已绑定的异常 sChannel.bind(new InetSocketAddress(8082)); //连接服务器 sChannel.connect(new InetSocketAddress 切换非阻塞模式 sChannel.configureBlocking(false); //3. 切换非阻塞模式 sChannel.configureBlocking(false); //12.

    1.2K50编辑于 2022-05-06
  • 来自专栏JAVA

    Java IO:从基础到高级操作全览

    = ssChannel1.accept(); sChannel.configureBlocking(false); / } else if (key.isReadable()) { SocketChannel sChannel = (SocketChannel) key.channel (); System.out.println(readDataFromSocketChannel(sChannel)); sChannel.close(); } keyIterator.remove(); } } } private static String readDataFromSocketChannel(SocketChannel sChannel) throws IOException {

    36710编辑于 2024-11-20
  • 来自专栏Java那些事

    BATJ面试必会之Java IO 篇

    = ssChannel1.accept(); sChannel.configureBlocking(false); / } else if (key.isReadable()) { SocketChannel sChannel = (SocketChannel) key.channel (); System.out.println(readDataFromSocketChannel(sChannel)); sChannel.close(); } keyIterator.remove(); } } } private static String readDataFromSocketChannel(SocketChannel sChannel) throws IOException {

    75260发布于 2019-03-10
  • 来自专栏韩曙亮的移动开发专栏

    【FFmpeg】ffmpeg 命令查询一 ( 版本 | 编译配置 | 复用格式 | 编解码器 )

    enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-schannel enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-schannel enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-schannel enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-schannel enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-schannel

    5.2K30编辑于 2023-03-29
  • 来自专栏红蓝对抗

    内网渗透—春秋云镜篇之2022网鼎杯

    -target 172.22.15.18 -template 'Machine' 接下来按照正常流程走会出错 这里的话看大师傅们说是因为域控制器没有安装用于智能卡身份验证的证书,解决办法的话就是尝试 Schannel ,通过 Schannel将证书传递到 LDAPS, 修改 LDAP 配置 (例如配置 RBCD / DCSync), 进而获得域控权限。 尝试Schannel 首先将pfx导出为.key 和.crt 两个文件(空密码) openssl pkcs12 -in xr-dc01.pfx -nodes -out test.pem openssl

    54510编辑于 2024-02-29
  • 来自专栏后端码事

    JAVA NIO Socket通道

    处理就绪状态 if (selectionKey.isAcceptable()){ ServerSocketChannel schannel selectionKey.channel();//只负责监听,阻塞,管理,不发送、接收数据 SocketChannel socketChannel = schannel.accept 处理就绪状态 if (selectionKey.isAcceptable()){ ServerSocketChannel schannel selectionKey.channel();//只负责监听,阻塞,管理,不发送、接收数据 SocketChannel socketChannel = schannel.accept

    1.2K20发布于 2020-09-11
  • 来自专栏Java程序猿部落

    Java面试必问通信框架NIO,原理详解

    = ssChannel1.accept(); sChannel.configureBlocking(false); / / 这个新连接主要用于从客户端读取数据 sChannel.register(selector, SelectionKey.OP_READ); } else if (key.isReadable()) { SocketChannel sChannel = (SocketChannel) key.channel (); System.out.println(readDataFromSocketChannel(sChannel)); sChannel.close(); } keyIterator.remove(); } }

    1.4K20发布于 2019-05-31
  • 来自专栏网络安全技术点滴分享

    2015年5月微软安全更新深度解析:13项关键漏洞修复与防护指南

    ■ 安全公告与安全建议注意事项MS15-052(内核)与MS15-055(Schannel):Windows 8和Windows Server 2012的更新中,MS15-055(KB3061518)将替代 Windows 8.1全系列 MS15-055 Schannel

    23310编辑于 2025-08-23
  • 来自专栏红蓝对抗

    内网渗透—春秋云镜篇之2022网鼎杯

    -target 172.22.15.18 -template 'Machine' 接下来按照正常流程走会出错 这里的话看大师傅们说是因为域控制器没有安装用于智能卡身份验证的证书,解决办法的话就是尝试 Schannel ,通过 Schannel将证书传递到 LDAPS, 修改 LDAP 配置 (例如配置 RBCD / DCSync), 进而获得域控权限。 尝试Schannel 首先将pfx导出为.key 和.crt 两个文件(空密码) openssl pkcs12 -in xr-dc01.pfx -nodes -out test.pem openssl

    94910编辑于 2024-02-27
领券