Asemica---一款神奇的加密明文工具

Asemica會將明文加密成類似明文,而且一般人難以發(fā)現(xiàn)

環(huán)境準備

下載地址:

https://github.com/linenoise/asemica
┌─[thekingofnight@parrot]─[~/Tools/Cropty]
└──? $git clone https://github.com/linenoise/asemica

使用

┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──? $./asemica 
Asemica: an asemic Markov-chained cipher, v. 1.0
Usage: ./asemica (enc|dec) -c <corpus_file> [-i <input_file>] [-o <output_file>] [-f <format>] [--force] [--help]

OPTIONS:
   -c/--corpus:  specify corpus filename or URL
   -i/--input:   specify input filename (defaults to STDIN)
   -o/--output:  specify output filename (defaults to STDOUT)
   -f/--format:  specify output format (defaults to none)
   --force:      forces runtime on an insufficiently complex corpus
   --help:       displays this message
   -v/--verbost: increments verbosity setting (used for debugging)
AVAILABLE FORMATS:
   none:         doesn't format output; returns only word list
   email:        formats output to look like an informal email
   poem:         if you want your output to look like poetry
EXAMPLES
   echo "message" | ./asemica enc -c corpus.txt -o asemic.txt
   ./asemica dec -c corpus.txt -i asemic.txt

一些案例(參考手冊中的EXAMPLES)

┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──? $echo "Hi,I'm theKingOfNight!"|./asemica enc -C LICENSE.txt -o test.txt
┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──? $ls
asemica  LICENSE.txt  README.md  test.txt
┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──? $cat test.txt 
License June C Software States not anything users regenerate from conditions The Affero Public 
along any claim infringed making an code source a against work's Libraries dynamically subprograms 
the Conveying those and All example Source The If HOLDER ANY agreement commitment to QUALITY 
PERFORMANCE THE Conveying any license a Product example you add to New will useful WITHOUT OF 
License anyone conveys material e the Information to FOR The Conveying those However 
you add to FOR an if distribute or FAILURE THE AND Information a Conveying object whose code source 
as THE By Corresponding 
┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──? $./asemica dec -C LICENSE.txt -i test.txt 
Hi,I'm theKingOfNight!

openssl加密

openssl加密意味著沒有密鑰就不可以成功解密

┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──? $echo "Hi.I'm theKingOfNight and this is with openssl!"|openssl bf -pass pass:p4ssw0rd|./asemica enc -C LICENSE.txt -o test.txt 
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──? $cat test.txt 
the INCLUDING physical customarily for and OF Freedom share change versions give who a END 
TERMS courts apply the AS license attempt to New will apply law WHEN speak free precise and 
Corresponding fixed a based work any of However does require special OR Limitation Liability 
a Product by data DATA RENDERED OR Additional permissive terms prohibit from copies your from 
network violates rules protocols communication control Those whom convey at For compliance 
third of Major and and All liability these e to Nothing this acknowledges rights Anti Law most our 
it been and are by authors that be but differ detail address problems concerns version the GPL prohibit
 from copyright Free license also the By Corresponding includes convenient prominently feature displays
 appropriate of GPL your permission run copy a OF Corresponding under previous plus right grant patent
 and a END TERMS do This Therefore modifying private Propagation a In THE IS YOU an copy this But
 entire remains by manner by manner with NO password key unpacking or Access install for Corresponding 
conveyed this are by data DATA or Access copy or Access copy License June C misrepresentation 
the By copyright Notwithstanding other the HOLDERS OR OTHER for The Information this The A 
based the A Conveying Program WITH Major or BEING to Installation for and Corresponding 
along this GPL that a OF Corresponding under License a PURPOSE or Each an code or Access legal 
displayed works licenses under patent the If are on copy includes definition includes right grant under 
d the AS from copy Corresponding Regardless what individual permit your any EITHER that If do 
convey machine Corresponding Regardless whether court agreement otherwise propagate work a 
Library may be in code any from any HOLDER a OF KIND 
┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──? $./asemica dec -C LICENSE.txt -i test.txt 
3??4@?o?&???
┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──? $./asemica dec -C LICENSE.txt -i test.txt |openssl bf -d -pass pass:worngpassword
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
bad decrypt
140679471490112:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:537:
L;?@?`?{??U?[?@%S?~uu??????f?A??J?
                                  ?,?e??'??
┌─[?]─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──? $./asemica dec -C LICENSE.txt -i test.txt |openssl bf -d -pass pass:p4ssw0rd
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
Hi.I'm theKingOfNight and this is with openssl!

郵件格式

┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──? $echo "Hi.I'm theKingOfNight and this is with email!"|./asemica enc -C LICENSE.txt -f email -o test.txt 
┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──? $cat test.txt 
This,

   Any PARTY the GPL prohibit practice patent covenant to Nothing this For an code source a.  Against party BEEN or FAILURE THE A In License by Free you actual.  That are granted to These e to FOR an?  If cannot given distinguishing number the Conveying covered means kind?  Propagation copying provided inform peers the Information a Conveying Copies your have!  Can it any and Corresponding in You apply way could it any HOLDER ANY!  Agreement commitment to FOR copy Corresponding as by access a.  OF Freedom price each an code in.  Appropriate Notices that The AS license June C?

   Individual of Freedom change works Inclusion a Product.  Example may it code A In area products individuals use modify is consumer doubtful shall resolved.  Favor coverage a available server Corresponding Regardless how?  Contact by License by exceptions above LIABLE infringement grant sublicenses a Product example Source The.  If HOLDER reinstated do convey copies the A In business distributing under copyright for The.  For The GPL needed generate and Information how Apply!  Follow later versions such When speak free precise and Information this The Ancillary of.

For,
Copies
┌─[thekingofnight@parrot]─[~/Tools/Cropty/asemica]
└──? $./asemica dec -C LICENSE.txt -i test.txt 
Hi.I'm theKingOfNight and this is with email!

參考

https://www.youtube.com/watch?v=_sqNuho32-M
https://github.com/linenoise/asemica

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個濱河市鬼廓,隨后出現(xiàn)的幾起案子弃甥,更是在濱河造成了極大的恐慌,老刑警劉巖拆融,帶你破解...
    沈念sama閱讀 219,427評論 6 508
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件淘太,死亡現(xiàn)場離奇詭異,居然都是意外死亡辈灼,警方通過查閱死者的電腦和手機份企,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,551評論 3 395
  • 文/潘曉璐 我一進店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來巡莹,“玉大人司志,你說我怎么就攤上這事〗嫡” “怎么了俐芯?”我有些...
    開封第一講書人閱讀 165,747評論 0 356
  • 文/不壞的土叔 我叫張陵,是天一觀的道長钉鸯。 經(jīng)常有香客問我,道長邮辽,這世上最難降的妖魔是什么唠雕? 我笑而不...
    開封第一講書人閱讀 58,939評論 1 295
  • 正文 為了忘掉前任,我火速辦了婚禮吨述,結(jié)果婚禮上岩睁,老公的妹妹穿的比我還像新娘。我一直安慰自己揣云,他們只是感情好捕儒,可當我...
    茶點故事閱讀 67,955評論 6 392
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著邓夕,像睡著了一般刘莹。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上焚刚,一...
    開封第一講書人閱讀 51,737評論 1 305
  • 那天点弯,我揣著相機與錄音,去河邊找鬼矿咕。 笑死抢肛,一個胖子當著我的面吹牛,可吹牛的內(nèi)容都是我干的碳柱。 我是一名探鬼主播捡絮,決...
    沈念sama閱讀 40,448評論 3 420
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼莲镣!你這毒婦竟也來了福稳?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 39,352評論 0 276
  • 序言:老撾萬榮一對情侶失蹤剥悟,失蹤者是張志新(化名)和其女友劉穎灵寺,沒想到半個月后曼库,有當?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 45,834評論 1 317
  • 正文 獨居荒郊野嶺守林人離奇死亡略板,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 37,992評論 3 338
  • 正文 我和宋清朗相戀三年毁枯,在試婚紗的時候發(fā)現(xiàn)自己被綠了。 大學時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片叮称。...
    茶點故事閱讀 40,133評論 1 351
  • 序言:一個原本活蹦亂跳的男人離奇死亡种玛,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出瓤檐,到底是詐尸還是另有隱情赂韵,我是刑警寧澤,帶...
    沈念sama閱讀 35,815評論 5 346
  • 正文 年R本政府宣布挠蛉,位于F島的核電站祭示,受9級特大地震影響,放射性物質(zhì)發(fā)生泄漏谴古。R本人自食惡果不足惜质涛,卻給世界環(huán)境...
    茶點故事閱讀 41,477評論 3 331
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望掰担。 院中可真熱鬧汇陆,春花似錦、人聲如沸带饱。這莊子的主人今日做“春日...
    開封第一講書人閱讀 32,022評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽勺疼。三九已至教寂,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間执庐,已是汗流浹背孝宗。 一陣腳步聲響...
    開封第一講書人閱讀 33,147評論 1 272
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留耕肩,地道東北人因妇。 一個月前我還...
    沈念sama閱讀 48,398評論 3 373
  • 正文 我出身青樓,卻偏偏與公主長得像猿诸,于是被迫代替她去往敵國和親婚被。 傳聞我的和親對象是個殘疾皇子,可洞房花燭夜當晚...
    茶點故事閱讀 45,077評論 2 355

推薦閱讀更多精彩內(nèi)容