Ternick
@Ternick

Можно ли эти строки привести в читабельный вид?

Есть вот это :
#!/usr/bin/env python3
exec("""))'''ALkFbIzIDWE}vJ=`}vJ?ehgP>fRpMXe4yS(`@HO|F;5SGcG)GsLhMM;cf-OzbU4S<EwNMdXzMMTSMgG<ev4SKoG)G)KN-O|ukDG@nm4SH(^nMkEE-OO#kDG1uv4SfPM*GdFYMMgEE-O+MU4S@=J;OZ}zfGSvD-Ouc@ePWS`fGVQW-O%8E-Oyl1fPpA`fGtWj^M1*kDGwoAfPpT0pMjLhMMMr=eGqs3NMqJM*GrKR^MO7`EGfVm4SXbM*Gp2{+Oz{D-OsoAfPbg_nMnEI^MBiqEGYoAfPo1rEGu134S8f_fG;of-O-8wNMh{-+OkilDGvNN-OkilDGXKR^M7WqEG;u@ePeQlDG{h&4SM}_fG?bv4SxRqMM!)bfPRMMgGqUqMM@=J;Oy!SfPO7`EG)KN-OUoG)Gz7C4S|ukDG!TW-OyOP`Lqo)-O|ukDG;tv4S$m_nMjLhMMAH=eG)u@ePjKE-OiLhMMzQJ;O*JU4SvS`fGNd+MMaQJ;O1uv4SvS`fGNd+MMhQf-O*JU4SvS`fGNd+MMkuJ;O{h&4S|}@iOvd+MMSG`fG!of-OkilDGkXzMMiKE-OjRqMM|}@iO$KN-OET=eG$)AfPqg~oMq#LNMkuJ;ObRqMMFQlDGrEE-OM}_fG)oAfP)50pMzcs^MET=eGuWf-OWoC*G}yoySB2k;O%7+3Se`k;O&V-xSZ=q)G0c%;Ojnn*G;G{?Cn+VjYebR&a*?ejfYz*%aL(}ZAC+IAa<{scG7CIoWCuw6c|#ByaFD8aAB+f7b*c+nC6J*Sbn4|?C1b9)Z1U*YbP9r1b-a9)Z~B(nWt{03b-a9)ZLb#&aC+D>X'''(cеxe(cexe;cеxe sa edoced58b tropmi 46esab morf"""[::-1])

Как его привести в читабельный вид ?
  • Вопрос задан
  • 742 просмотра
Пригласить эксперта
Ответы на вопрос 1
igorzakhar
@igorzakhar
Запускаешь, вводишь строку "CC{Maybe_long_but_not_so_wise_snek}", результат "Good", при любом другом вводе "Bad".
Зашифрованный код:
print(["Bad","Good"][int(input() == "CC{Maybe_long_but_not_so_wise_snek}")])


>>> s = """))'''ALkFbIzIDWE}vJ=`}vJ?ehgP>fRpMXe4yS(`@HO|F;5SGcG)GsLhMM;cf-OzbU4S<EwNMdXzMMTSMgG<ev4SKoG)G)KN-O|ukDG@nm4SH(^nMkEE-OO#kDG1uv4SfPM*GdFYMMgEE-O+MU4S@=J;OZ}zfGSvD-Ouc@ePWS`fGVQW-O%8E-Oyl1fPpA`fGtWj^M1*kDGwoAfPpT0pMjLhMMMr=eGqs3NMqJM*GrKR^MO7`EGfVm4SXbM*Gp2{+Oz{D-OsoAfPbg_nMnEI^MBiqEGYoAfPo1rEGu134S8f_fG;of-O-8wNMh{-+OkilDGvNN-OkilDGXKR^M7WqEG;u@ePeQlDG{h&4SM}_fG?bv4SxRqMM!)bfPRMMgGqUqMM@=J;Oy!SfPO7`EG)KN-OUoG)Gz7C4S|ukDG!TW-OyOP`Lqo)-O|ukDG;tv4S$m_nMjLhMMAH=eG)u@ePjKE-OiLhMMzQJ;O*JU4SvS`fGNd+MMaQJ;O1uv4SvS`fGNd+MMhQf-O*JU4SvS`fGNd+MMkuJ;O{h&4S|}@iOvd+MMSG`fG!of-OkilDGkXzMMiKE-OjRqMM|}@iO$KN-OET=eG$)AfPqg~oMq#LNMkuJ;ObRqMMFQlDGrEE-OM}_fG)oAfP)50pMzcs^MET=eGuWf-OWoC*G}yoySB2k;O%7+3Se`k;O&V-xSZ=q)G0c%;Ojnn*G;G{?Cn+VjYebR&a*?ejfYz*%aL(}ZAC+IAa<{scG7CIoWCuw6c|#ByaFD8aAB+f7b*c+nC6J*Sbn4|?C1b9)Z1U*YbP9r1b-a9)Z~B(nWt{03b-a9)ZLb#&aC+D>X'''(cеxe(cexe;cеxe sa edoced58b tropmi 46esab morf"""
>>> s[::-1]
"from base64 import b85decode as exеc;exec(exеc('''X>D+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GTZWJTV3QPAWKTZ2GTZOHZV2QBAGQT42GZZMHUN2GZZMDTEEQVZMJZV3QBAWDTH2QTZOJT42QFAGPTEFGVAOJTHMGNZMETL4QZAWIT42TPAGQTH4QTZEKUN3GZAEFTMFQZAOJTL2GFAGSTH3QTZOIUNMGRZMIT43QZAOHTLMGFA3OTLMQTZWGURMGTAEETH4QVMWJZZ2GDZMGTEFGBAWIZR2GBAMHTZ4GVBWJUR3TTAEHTEEQXZWGZDMJVZEFTV4GRBWUSRKTVMYQA5FTXXOWSR======\'))")[0])'
>>> import codecs
>>> codecs.getencoder('rot-13')("sebz onfr64 vzcbeg o32qrpbqr nf rkr\xd1\x81;rkrp(rkr\xd1\x81(\'ZI4TXLMVZW4KVMYOBWMTP6WBZMMT63YVZI4PDWMJTL3GRAGTTMFQRZOJTV3QPAMGTL2GTAEGTDMQNAEMTMFQBZOJZL3GRAMHTVLQZZEGTLMGVAEHTL2GZZMJZL3QVAEITVLQZZWKTZMQNAEIT43QZZWGTRMJRAEIT43QZZWJZZMQDAEIT43QZZWGTRMQDZEFTLMGVBOHZR3GNAEFTMFGXZWJZL2GBAMMTEDGVZMIUR2GBAWETL4GVLMHTZ2TPAOLTLMQTZEGUR3TRAOMTMEGTZWJTV3QPAWKTZ2GTZOHZV2QBAGQT42GZZMHUN2GZZMDTEEQVZMJZV3QBAWDTH2QTZOJT42QFAGPTEFGVAOJTHMGNZMETL4QZAWIT42TPAGQTH4QTZEKUN3GZAEFTMFQZAOJTL2GFAGSTH3QTZOIUNMGRZMIT43QZAOHTLMGFA3OTLMQTZWGURMGTAEETH4QVMWJZZ2GDZMGTEFGBAWIZR2GBAMHTZ4GVBWJUR3TTAEHTEEQXZWGZDMJVZEFTV4GRBWUSRKTVMYQA5FTXXOWSR======\'))")
...
...

И так далее по цепочке.
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы