The cipher 'aes256-cbc' is required, but it is not available

本文详细介绍了如何通过下载并安装JCE扩展包来解决使用JSCH进行SSH连接时遇到的密钥不可用问题。包括下载JCE政策文件、解压并复制到JDK目录下等步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

When using jsch to connect SSH, encountered this:The cipher 'aes256-cbc' is required, but it is not available.

Environment: JDK 6

Solution: 

step 1: Download jce_policy-6.zip here: http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html

step 2: In the /JCE folder, you’ll get two JAR files – local_policy.jar and US_export_policy.jar Copy these two JAR files to the your JDK’s /jre/lib/security/ folder, replacing the similarly named files that are already there.



Veil/Evasion>: use 29 =============================================================================== Veil-Evasion =============================================================================== [Web]: https://www.veil-framework.com/ | [Twitter]: @VeilFramework =============================================================================== Payload Information: Name: Python AES Encryption Language: python Rating: Excellent Description: AES Encrypted shellcode is decrypted at runtime with key in file, injected into memory, and executed Payload: python/shellcode_inject/aes_encrypt selected Required Options: Name Value Description ---- ----- ----------- CLICKTRACK X Optional: Minimum number of clicks to execute payload COMPILE_TO_EXE Y Compile to an executable CURSORMOVEMENT FALSE Check if cursor is in same position after 30 seconds DETECTDEBUG FALSE Check if debugger is present DOMAIN X Optional: Required internal domain EXPIRE_PAYLOAD X Optional: Payloads expire after "Y" days HOSTNAME X Optional: Required system hostname INJECT_METHOD Virtual Virtual, Void, or Heap MINRAM FALSE Check for at least 3 gigs of RAM PROCESSORS X Optional: Minimum number of processors SANDBOXPROCESS FALSE Check for common sandbox processes SLEEP X Optional: Sleep "Y" seconds, check if accelerated USERNAME X Optional: The required user account USERPROMPT FALSE Make user click prompt prior to execution USE_PYHERION N Use the pyherion encrypter UTCCHECK FALSE Optional: Validates system does not use UTC timezone VIRTUALDLLS FALSE Check for dlls loaded in memory VIRTUALFILES FALSE Optional: Check if VM supporting files exist Available Commands: back Go back to Veil-Evasion exit Completely exit Veil generate Generate the payload options Show the shellcode's options set Set shellcode option [python/shellcode_inject/aes_encrypt>>]: set key MyAESKey123 [!] ERROR: You did not provide a valid option! [*] Ex: set LHOST 8.8.8.8 [python/shellcode_inject/aes_encrypt>>]:
03-08
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值