openssl passwd之openssl命令详解
生活随笔
收集整理的這篇文章主要介紹了
openssl passwd之openssl命令详解
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
1 介紹
2 用法
openssl passwd [-crypt] [-1] [-apr1] [-salt string] [-in file] [-stdin] [-noverify] [-quiet] [-table] {password}3 參數(shù)
-crypt: 生成標(biāo)準(zhǔn)的unix口令密文。默認(rèn)選項(xiàng)。-1: 用MD5基于BSD的密鑰算法。-apr1: Apache md5口令密文。-salt string: 用指定的字符串填充。當(dāng)從終端讀取一個密鑰時,則填充它。-in file: 從指定的文件中讀取密鑰。-stdin: 從stdin中讀取密鑰。-noverify: 當(dāng)從終端讀取口令時不去驗(yàn)證它。-quiet: 當(dāng)命令行提供的密鑰是縮短了的,則不輸出警告。-table: 用戶輸入的口令和結(jié)果用縮進(jìn)隔開。password: 需要處理的密鑰值。4 實(shí)戰(zhàn)演練
4.1 計算密碼哈希 openssl passwd
openssl passwd [options] [password]
利用OpenSSH可以創(chuàng)建本地賬戶
輸出:111tom$bZJJA4xvFoo.59Pm1fpOF1
5 DC-9 靶機(jī)運(yùn)用
DC-9 運(yùn)行測試
下面這篇有關(guān)DC-9有此知識點(diǎn)講解運(yùn)用dc-9
https://blog.csdn.net/crisprx/article/details/103985898
總結(jié)
以上是生活随笔為你收集整理的openssl passwd之openssl命令详解的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: linux用户和组的管理详解
- 下一篇: nginx http请求强转https