Rubutun ci gaba a cikin Bash (bash + md5) don kare 'wani abu' (+ Cikakken bayani)

Bayan 'yan kwanaki da suka wuce Na gaya musu game da FlatPress, aikace-aikacen yanar gizo (CMS) ta inda zasu iya samun bulogi ko wani abu makamancin haka ba tare da amfani da rumbunan adana bayanai ba, ko samun rikitarwa 🙂

Da kyau, ina da kwamfutar tafi-da-gidanka a FlatPress don bayanan sirri, abubuwan da bana so in manta su kuma shine dalilin da yasa nake rubuta su a cikin wannan shafin yanar gizon. Amma, kamar yadda da yawa daga cikinku sun riga sun sani ... Ina ɗan damuwa da tsaro, kuma, idan ya shafi tsaron Tunanina, ba ku da masaniyar yadda zan iya yin laulayi

Don haka na fuskanci matsala: Ta yaya amfani da FlatPress zan iya kare duk abubuwan da ke ciki?

Na yi tunanin aikace-aikace da yawa da ke ba da damar ɓoye bayanai, amma… babu wanda ya yi daidai yadda na ke so, don haka na ɗauki aikin shirye-shiryen abin da nake so da kaina.

Yanzu zan nuna muku rubutun da na yi, wanda yake yin haka:

An tsara rubutun don aiki a cikin KDE, idan basu dasu KDE maganganun maganganu ba za su bayyana a gare su ba.

1. Yana nuna akwatin tattaunawa yana tambaya idan kai KZKG ^ Gaara, idan ka latsa NO rubutun ya rufe, idan ka danna YES komai zai ci gaba kamar yadda ya saba. 2. Nuna akwatin rubutu yana tambaya menene kalmar sirri:

3. Idan kun danna Sake rubutun ya rufe, yanzu ya zama ɗayan dabarun rubutun 😉 ...

3.1. Dalilin shi ne cewa rubutun yana kwatanta kalmar sirri da muke rubutawa da wacce aka riga aka ayyana a cikin rubutun iri ɗaya, kuma idan kalmomin shiga sun daidaita to ya ci gaba da gudana, kuma idan kalmomin shiga basu daidaita ba to saƙon kuskure zai bayyana. Matsalar ita ce, idan muka sanya madaidaiciyar kalmar sirri a cikin rubutun kamar haka, duk wanda ya buɗe rubutun tare da editan rubutu zai iya ganin madaidaicin kalmar sirri sosai .. kuma wannan abokaina, rashin nasara ne wanda ba za a gafarta masa ba 🙂

3.2. Don kaucewa sanya kalmar wucewa kamar wannan a cikin rubutu bayyananne a cikin rubutun, nayi amfani da MD5. Wato, a farkon rubutun, na bayyana cewa madaidaicin kalmar sirri shine «2dac690b816a43e4fd9df5ee35e3790d«, Kuma wannan ita ce MD5 na:«daga Linux«. ... Ban fahimci komai ba !! 😀

Bari muyi bayani dalla-dalla kadan. Idan yanzu na rubuta zuwa fayil (misali ~ / wucewa.txt) na rubutu: daga Linux

Idan a cikin m zan rubuta: md5sum ~ / wucewa.txt

Zai dawo: 2dac690b816a43e4fd9df5ee35e3790d sum

Kuma ... kamar yadda zaku iya gani, wannan rukunin farko wanda yake da lambobi da haruffa da yawa ba tare da wani tsari ba, daidai yake da wanda na sanya a sama, kuma shine wanda yake cikin rubutun da aka ayyana.

Da kyau, wannan rukunin farko shine MD5 na daga Linux 😉

Idan suka sanya wadannan, zai dawo da shafi na 1 ne kawai, wanda shine yake ba mu sha'awa: md5sum ~/pass.txt | awk '{print $1}'

4. Don haka, aikin rubutun a cikin wannan takamaiman sashin shine:

4.1. Rubutun zai sanya kalmar sirri da kuka rubuta a cikin fayil na wucin gadi da ake kira tsawa.txt, kuma zai cire MD5 daga abun cikin wannan file ta hanyar amfani da umarnin:

md5sum temp.txt | awk '{print $1}'

4.2. Idan MD5 na kalmar sirrin da kuka dan rubuta BA daidai take da wacce ta bayyana ba (ma'ana, wacce aka rubuta a rubutun) zata rufe kuma ta bada kuskure: 4.3. Idan kalmar wucewa tayi daidai, cikakke ... rubutun yaci gaba 😀

5. Lokacin da kalmar wucewa ta yi daidai, rubutun zai yi jerin matakai, a harkata:

5.1. Zai shigar da fayil din / gida / rabawa / tallatawa / - » cd / gida / rabawa / tallatawa /

5.2. Ana kiran babban fayil din FlatPress "ni", kuma an matse shi a cikin .RAR an kiyaye shi da kalmar sirri (kalmar sirri iri daya ce kamar yadda ya kamata a saita a baya), don haka rubutun zai lalata wannan fayil din (me.rar) - » rar x.rar -hp $ MWORD

rare x - »Abinda yakeyi shine lalata fayiloli da manyan fayiloli suna kiyaye tsari iri ɗaya da suke dashi.

ni.rar - »Wannan shine file din da nake son kwance shi.

-hp $ MWORD - »Anan nake gaya muku cewa dole ne kuyi amfani da kalmar sirri don cire fayil din, kuma kalmar sirri itace mai canzawa $ MWORD (wannan kalmar sirri itace kalmar da muka shigar a baya)

5.3. Don haka, idan ba a buɗe shi da kyau ba, zan share fayil ɗin me.rar ... me ya sa? Da kyau, saboda ba shi da ma'ana cewa .rar akwai idan ina aiki tare da fayilolin da nake da su a ciki, kuma waɗannan fayilolin suna canzawa saboda Ina rubuta sabbin abubuwa a shafin - » rm ni.rar

5.4. Dole ne in canza izini don komai yayi aiki da kyau - » chmod 777 -R ni / (Ka tuna cewa babban fayil ɗin ni / shine abin da ke ƙunshe da ni.rar)

5.5. Zai nuna mani taga wanda yake gaya min cewa ina da dakika 10 in bude "mai binciken" browser. WTF!, Menene ma'anar wannan? ...

5.5 (a). Mai sauƙi, mai sauƙin… 🙂… Na buɗe burauzar (a wannan yanayin rekonq) kuma ina aiki a kan sabon matsayi, amma lokacin da na rufe burauzar, rubutun na sake matse ni / babban fayil ɗin a cikin .rar (saura a cikin ni.rar).

Wannan yana yiwuwa saboda rubutun yana bincika kowane dakika 3 idan Rekonq ya buɗe ko a'a, idan ya gano cewa a buɗe yake, rubutun baya yin komai, amma idan ya gano cewa BA buɗe yake ba, yana aiwatarwa: rar a me.rar -hp $ MWORD me / * && rm -R ni /

Wanda yake nufin zai matse folda ni / en ni.rar (kuma zai sanya kalmar sirri, wanda zai zama daidai da yadda muka gani), kuma da zarar ka matsa shi kuma idan babu kuskure, zai share babban fayil ɗin ni / tare da dukkan abubuwan da ke ciki.

5.5 (b). Ta yaya wannan zai taimaka mana? ... mai sauƙi, wannan yana hana mu tuna cewa dole ne mu sake kare abubuwanmu, tunda kawai muna buƙatar dakatar da aiki akan shi (rufe burauzar) kuma rubutun zai yi duk sauran aikin 😉

6. Shirya, wannan duk anyi bayanin ta gaba daya 🙂

... kodayake akwai sauran bayani detail

Rubutun yana da kariya mafi girma, kariya wanda aka kashe (yayi sharhi) waɗannan layukan ne:

if [ "$USER" != "$ME" ]; then
rm *.sh
kdialog --error "Sorry but u are not me. Auto-destroying..." --title "Im Me..."
exit
fi

Abin da yake yi mai sauki ne. Canjin $ USER ne mai canzawar duniya gabaɗaya na tsarin, idan a cikin tashar sa:

echo $USER

Za ku ga abin da mai amfani da ku ya nuna muku ... da kyau, dabarun waɗannan layukan yana da sauƙi.

Idan $ USER bai yi daidai da canjin $ ME ba (kuma ni ne na bayyana shi a rubutun, kuma ita ce: "gaara") rubutun zai share duk fayilolin .sh wadanda suke cikin wancan jakar, wato zata lalata kanta ne 😉

Wannan don hana wani gudanar da rubutun akan wata kwamfutar hehehehe.

Kuma da kyau, bana tsammanin akwai ƙarin bayani don yawa, Na bar rubutun:

.SH sauke fayil
Duba rubutun a Manna mana

Na san cewa da yawa zasu same shi mai matukar rikitarwa, amma a zahiri yana tsoratarwa fiye da yadda yakamata ... rubutun yana da ƙirar aiki mai sauƙi, don manufa mai sauƙi.

Na yi wannan ne don saduwa da takamaiman buƙata tawa, na raba ta da fatan cewa wani layin ko ra'ayin da aka bayyana anan na iya zama fa'ida ga wani 😉

Af, ana nufin rubutun don KDE, saboda maganganun (windows) da yake nunawa daga KDE ne (ta amfani da KDialog), amma ana iya dacewa da Gnome / Unity / Cinnamon / Mate ta amfani Zuciya, ko amfani da shi 100% a cikin m ta amfani da maganganun umarni kawai.

Kuma a, rubutun har yanzu yana da wasu kurakurai, misali idan rubutun ya zazzage .rar, sannan wani ya rufe (ya kashe) da karfi, abin da .rar zai ƙunsa ba shi da kariya, akwai wasu bayanai da suka rage da za a goge ... amma hey, dole ne mu sarrafa cewa babu wanda zai iya duba kwamfutar mu 😀

Don gamawa Ina so in fayyace cewa NI BA dan shirye-shirye bane, kasa sosai, banyi wa kaina irin wannan ba, ina tunanin zaku iya inganta layi a cikin lambar, ko amfani da wani aiki don inganta aikin rubutun ... amma na ce, Ni ba mai shiryawa bane 😉

Duk wata tambaya da suke da ita game da ita suna gaya mani, kodayake rubutun bazai yi musu aiki ba saboda basa bukatar sa, koyaushe suna iya koyan wasu shawarwari it

gaisuwa

PD: Na san hakan kari zai ce ni ma na wuce gona da iri ... ko kuma ina bata lokacina, amma ba haka bane. Ina son wani abu takamaimai, takamaiman tsarin tsaro, kuma na tsara shi da kaina… yaya geeky kenan? OL LOL !!


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

41 comments, bar naka

Bar tsokaci

Your email address ba za a buga.

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.

  1.   Haka m

    Wannan abin ban sha'awa ne, amma ina tsammanin tambayar ee / a'a tana da nisa ga xD
    Kuma me kuke tsammani, maimakon amfani da rar wanda yake mallakar kuma baya bayar da tsaro na gaskiya, maye gurbin shi da gpg, wanda shine software na tsaro fiye da tabbatarwa tsawon shekaru, kuma ya wanzu a kusan dukkanin ɓarna 😉
    Wani abu, zaku iya wuce md5sum da kirtani, baku buƙatar ƙirƙirar fayil na ɗan lokaci. Anan nima ina baku shawarar ku tafi sha wanda yafi aminci, gwada a tashar: shasum

    Murna!

    1.    KZKG ^ Gaara m

      Barka dai kuma mun gode da sharhinku 😀
      GPG tana bani damar hada kundin adireshi tare da dukkan abinda yake ciki? Da gaske ne nayi amfani da shi don fayilolin mutum, ba don kundayen adireshin da ke ƙunshe da ƙananan fayiloli da fayiloli ba.

      ooo… babban game da shasum, ban san shi ba 😀
      Zan ci gaba da gyara rubutun don amfani da wannan, kuma… Ee !! gaskiya ne, tare da sauƙi: amsa kuwwa "$ PASSWORD" | shasum Na riga na sami kirtani, a zahiri babu buƙatar rubuta shi zuwa fayil :)

      Na gode kwarai da bayaninka, na riga na koyi wani sabon abu 🙂
      gaisuwa

    2.    mayan84 m

      daidai ne abin da nake tambaya ...

      1.    KZKG ^ Gaara m

        Abin da kuke buƙata shi ne gano yadda za a sanya GPG ɓoye fayil kuma a ba shi kalmar sirri a kan layi ɗaya ... misali:
        gpg -e file.tar.gz –kama kalmar wucewa komai

        Duk wani ra'ayin yadda za'a yi shi? 🙂

        1.    Haka m

          Don ɓoye kundin adireshin c / gpg, dole ne fara fara tattara shi da tar.
          to, saboda wannan yanayin, ya dace a yi amfani da ɓoye-ɓoye, tare da ma'aunin -c (duba wikipedia don banbanci tsakanin ɓoye da ɓoye asymmetric).
          wannan zai zama wani abu kamar:
          tar -czf manufa.tgz source_directory / && echo $ passwd | gpg –batch –matse-matakin 0 -c –passphrase-fd 0
          wannan zai kirkiri wani matattarar fayil mai suna "nlo.tgz" da kuma rufaffen fayil mai suna "nlo.tgz.gpg". Dukansu kundin adireshi da damfara kansa yakamata a cire don tsaro (lura da shred command)

          warware:
          amsa kuwwa $ passwd | gpg –batch -d –passphrase-fd 0 encryption_file.tgz.gpg | kwalta -xz
          hakan zai cire fayilolin a cikin kundin adireshi na yanzu (sannan za'a iya amfani da mv don matsar dasu zuwa wani wuri)

          Duk wata tambaya, amsa wannan sharhin 🙂

          gaisuwa!

          1.    Haka m

            ehm, a kula da yanayi biyu (-) da kuma guda daya (-)… shin akwai hanyar da za'a rubuta wani abu kamar dai lambar ce don kada tsarin ya canza?
            prueba de codigo -- -
            [lambar] lambar gwaji - - [/ lambar]

          2.    Haka m

            Na ciyar da shi karin magana

            damfara da ɓoye:
            tar -czf destino.tgz directorio_fuente/ && echo $passwd | gpg –batch –compress-level 0 -c –passphrase-fd 0
            Lura cewa a nan akwai matakai biyu: da farko ƙirƙirar fayil ɗin da aka matse sannan sannan, idan babu kuskure, ci gaba da ɓoyayyen (ɗaura tare da &&)

            warware kuma kasa kwancewa:
            echo $passwd | gpg –batch -d –passphrase-fd 0 archivo_cifrado.tgz.gpg | tar -xz

            gaisuwa!

          3.    KZKG ^ Gaara m

            Haka ne, a zahiri jiya a gida na karanta mutumin gpg kuma akwai komai da nake buƙata necesitaba
            A zahiri ban yi shi haka ba, ban yi amfani da amsa kuwwa ko matsewa ba, na yi rubutu game da wannan, kawai na buga shi.

            Na gode sosai don taimakon aboki, da gaske nake.

  2.   Josh m

    Abin al'ajabi! Ina neman wani abu kamar haka kuma na ci karo da labarinku. Zan gwada shi don kare bayanan na. Idan ya zo ga tsaron kwamfuta, ba za ku taɓa zama mai yawan tashin hankali ba. na gode

    1.    KZKG ^ Gaara m

      Godiya haha.
      Shin kun fahimci yadda rubutun yake, dama?

      Da alama yafi rikitarwa fiye da yadda yake a zahiri.

      Godiya ga sharhi, da gaske 😀

      gaisuwa

      PS: Lallai, tsaro bai isa ba hahaha.

      1.    Josh m

        Ya ɗan sa ni ɗan fahimta kafin in fahimce shi (na karanta shi sau 3) tunda ban daɗe ina amfani da linux ba. Amma yana da sauki sosai kuma koyaushe yana da kyau koya abubuwa kamar wannan. Gaisuwa da sake godiya.

        1.    KZKG ^ Gaara m

          Abu mai mahimmanci shine fahimtar shi hehe. Nayi kokarin bayyana komai dalla dalla sosai, amma ina ganin nayi matukar yawa hahaha.
          Godiya gare ku 🙂

  3.   aurezx m

    Kai, kyakkyawan rubutun 🙂

    PS: Paranoia ya wuce 9000! xD

    1.    KZKG ^ Gaara m

      hahahahahahaha hakane ni… LOL !!

  4.   Rafael m

    Kallon rubutun ku ina ganin za'a iya yi da xdialog in baku da kde :)! Murna

    1.    KZKG ^ Gaara m

      Oh, ban san game da xdialog ba ... Dole ne in kalla don gani 😀
      Godiya ga bayanin.

  5.   mayan84 m

    a maimakon rar me zai hana ayi amfani da tar.xz / gz da gpg?

    1.    Rafael m

      saboda kun riga kun sameshi a rar inda kuke da CMS ɗinku

  6.   Citux m

    Madalla da @ KZKG ^ Gaara kwanakin baya ina tunanin wani abu makamancin haka, amma ina cikin jarabawa saboda haka ban sami lokacin komai ba, kuma kwatsam sai naga labarinku….
    Zan gwada shi mako mai zuwa 🙂

    1.    KZKG ^ Gaara m

      Na gode, kowane bayani a nan ni 😀

  7.   yayaya 22 m

    xD Ban fahimci komai ba amma idan ina son yadda ake amfani da kdialog daidai a cikin rubutun, yadda ake samun saƙo a cikin sanarwar KDE

    1.    KZKG ^ Gaara m

      Don samun saƙonni a cikin sanarwar KDE gwada gwada fakitin: libnotify-bin
      Sannan a cikin tashar da kuka sanya:
      notify-send "texto texto texto"

      Kuma zaku ga yadda sanyi 😀 cool kuma, wannan yana aiki don KDE, Gnome, Unity, Cinnamon, Mate da Xfce 😉

      Koyaya, a cikin wannan rubutun bana amfani da sanarwar kamar haka, amma kawai windows ɗin KDialog. A cikin nau'in m:
      kdialog

      Kuma zaka ga taimako a can 😉

      Gaisuwa 😀

      1.    yayaya 22 m

        Na gode sosai o /

  8.   Joel antonio vasquez m

    Barka dai, mai kyau matsayi, kawai shawara ne, yana da kyau cewa tare da md5 ba'a gani da ido ba, amma wasu masu son sani suna iya amfani da teburin bakan gizo don ganin idan kalmar sirri da aka juya zuwa md5 tana ciki, ina bada shawarar amfani da bcrypthttp://bcrypt.sourceforge.net/), Shawara ce kawai, zaka iya ɗaukar ta kowane lokaci, Gaisuwa.

    1.    KZKG ^ Gaara m

      Godiya 😀
      A zahiri, MD5 ba cikakke bane kuma akwai waɗanda sukayi nasarar samun kalmomin shiga, zan duba wannan aikace-aikacen 😉

      Godiya ga bayaninka.

  9.   mayan84 m

    tare da ma'auni ɗaya kawai a cikin kdialog yana tambayarka kalmar sirri
    kuma tare da asymmetric ta amfani da maɓallin jama'a.

    Dole ne in fayyace cewa ba ni da wata alama ta mai shirye-shirye.

    1.    KZKG ^ Gaara m

      Ee, Na riga na sami damar ɓoyewa tare da GPG (a gaskiya kawai na sanya rubutu game da wannan) hehe.

  10.   Caro m

    KZKG ^ Gaara koyaushe karanta post ɗin ku.
    Gina ɗaya don amfani tare da XFCE.
    Kiss. Mai tsada

    1.    KZKG ^ Gaara m

      Barka dai da farko, barka da zuwa shafin 😀
      hahaha na gode, Na san cewa wani lokacin yakan zama mai wahala saboda na rubuta wasu abubuwa na fasaha, amma koyaushe ina kokarin bayyana komai a bayyane kamar yadda zai yiwu 🙂

      Zan ɗan gwada tare da XDialog ko Zenity don ganin ko tana aiki da Xfce haha, zan yi gwaje-gwajen a cikin untuan Mutuntu virtual

      gaisuwa

  11.   Elynx m

    Mutum mai amfani, godiya!

    Na gode!

  12.   Damian rivera m

    Na gode, zai taimaka min sosai don kare wasu fayiloli

    Dole ne in daidaita shi da zenity saboda ba ni da kde a wannan lokacin: \

    Anan na bar kwarangwal din da zan yi amfani da shi wanda ya dace da zenity

    http://paste.desdelinux.net/4641

    Muna sake godiya da gaisuwa 😀

    1.    KZKG ^ Gaara m

      oooo babba, na gode sosai 😀 😀
      Na tuna wani ya nemi wannan amma don Xfce, tare da Zenity zai yi aiki a Xfce dama?

      1.    Damian rivera m

        Ee, kawai cewa an bar umarnin don ƙara umarnin da za a aiwatar, bayan wuce kalmar wucewa ta shasum ko md5

        Dole ne a canza shi zuwa buƙatu daban-daban ga kowane mutum, don kare abubuwa daban-daban ta hanyoyi daban-daban tare da umarni daban-daban

        Ko wataƙila ƙara wani ɓangare (GUI) don ƙirƙirar tsarin tsaro na fayil ɗinmu

        Gaisuwa 😀

        1.    Damian rivera m

          Ina da lokaci da xfce (a cikin Archlinux) kuma na riga na daidaita rubutun yadda yake, don xfce ta amfani da zenity (Ina tsammani) tunda wanda na bari a sama shine ƙashin da nayi amfani dashi

          http://paste.desdelinux.net/4644

          Shin za'a iya shirya shi idan yana da kwaro daga manna?

          Abinda ya faru shine ina da kwalliya da yawa kuma ban sani ba ko zaiyi aiki cikin tsabta xfce, misali a cikin xubuntu

          Gaisuwa 😀

  13.   Matias Gaston m

    Abin sha'awa che !!! Kyakkyawan gudummawa !!!!!!

    Ba ni da sabuwa sosai a shirye-shiryen shirye-shirye, ina koyon BASH da kaɗan kadan ... amma wasu abubuwa sun faru a kaina kuma suna iya zama ko ba su da amfani a gare ku.
    Lokacin da kake faɗin cewa rubutaccen rubutun yana da kalmar sirri kuma ba za'a gafartawa ba wani ya buɗe shi ya karanta shi daga can ... kuna ba da shawarar wannan dabarar duka ta saka MD5 a matsayin matakin kariya.

    Wanne yana da kyau a matsayin matakin farko na sanya rayuwa cikin wahala ga mai son shigowa, amma bincika waɗannan ra'ayoyin (waɗanda har ana iya amfani da su ɗaya a ɗaya ɗayan)

    IDEA 1) Mene ne idan ka adana kalmar sirri a cikin fayil a kan mashin dinka, kuma ba ka karɓe shi a cikin rubutun ba?

    EJ: a cikin txt sa madannin ka adana shi cikin / gida / /bla/bla/key.txt
    A rubutunka ka kira mabuɗin kamar KEY = "$ (cat $ HOME / blah / bla / key.txt)", to sai ka jefa idan $ questionkey = $ KEY, to .. da dai sauransu

    Ta wannan hanyar, kuna cimma abubuwa 3 +1 fa'ida:
    1) Cewa kalmar sirri bata taba kasancewa cikin rubutun ba. (Ka guji MD5)
    2) Hanyar da kalmar sirri take, ya dogara da sunan mai amfani. (Duk wanda yake son buɗe shi, ya tura shi ko'ina) A cikin kashi 99.9% na rubutun zai gaza.
    3) Idan kana son ƙarin tsaro, cire duk izini ga fayil ɗin key.txt don duk sauran masu amfani banda naka.
    4) Amfani: Saukin canza kalmar shiga duk lokacin da kake so, ba tare da yin rubutun rubutu ba. Saboda tabbatarwa ta waje ce ta hanyar fayil.

    IDEA 2) Yaya game da ɓatar da dukkan rubutun bash, don haka ba za a iya buɗewa ba?

    Oneaya daga cikin hanyoyin da zaku iya yin wannan shine don amfani da gaskiyar cewa kuna buƙatar tattarawa a cikin C.
    Bayan haka, yana gabatar da rubutun a cikin lambar C wanda duk abin da takeyi shine kiran wancan Rubutun (amma wannan yana cikin shirin). A halin yanzu na tattarawa ... komai ya rage a ciki kuma fitowar ku abin aiwatarwa ne ... kuma babu sauran rubutun. Akwai wani mutum da ya riga ya yi "rubutun" wanda ke yin aikin obfuscation, wanda ke da amfani sosai.

    Infoarin bayani a nan: http://es.wikibooks.org/wiki/El_Manual_de_BASH_Scripting_B%C3%A1sico_para_Principiantes/Compilar_%28ofuscar%29_BASH_scripts_con_C_-_SHC

    IDEA 3) Me za'ayi idan kun sanya yanayin kamala a cikin rubutun inda yake buƙatar kalmar sirri ta mai gudanarwa?

    Misali, aiwatar da wani sharaɗi ta amfani da "sudo" sannan ci gaba da rubutun, idan ba a dakatar dashi ba.
    Ta wannan hanyar, duk kariyar zata faɗi a matsayin gada akan kalmar sirrin ka.

    Da kyau, ba komai ...
    Murna !!!!!!!! kuma rike BASH.

    1.    KZKG ^ Gaara m

      HAHAHAHA Na gode 😀
      A gaskiya yanzu ina amfani da SHA512 saboda ya fi MD5 kyau: https://blog.desdelinux.net/como-saber-la-suma-md5-o-sha-de-una-palabra-oracion-o-archivo/
      Hakanan GPG a matsayin hanyar kariya maimakon matsi da .RAR: https://blog.desdelinux.net/como-proteger-datos-con-gpg-de-forma-simple/

      Matsalar saka kalmar shiga cikin wani fayil daban, shin hakan zai sanya kalmar a wani wurin, haka ne, amma zai kasance a cikin rubutu mai sauki? Idan zan ɓoye shi (wanda aka ba da shawarar), na bar shi a cikin rubutun iri ɗaya, da kyau ... Ina shakka sooooo da yawa cewa wani zai iya karya SHA512 hahahaha (duba mahaɗin na 1 kuma za ku fahimta 😉)

      Game da izini, idan wani yayi amfani da LiveCD to zasu iya buɗe .txt ta amfani da tushen LiveCD, don haka izini ba shine mafi kyawun zaɓi ba.

      Game da ɓoye lambar Bash ... ee, na yi tunani game da wannan kuma ra'ayin GIRMA ne, matsalar ita ce ban san yadda zan yi ba, a zahiri ban ma san ko za a iya yin HAHAHA ba.

      Oh jira ... yanzu na karanta sauran bayanan O_O ... hehe, ban san zaka iya yin haka ba. Ba ni da masaniya game da C ko C ++, amma yana da kyau a gwada lol.

      Game da ra'ayin 3, ba mummunan ba 😀

      Na yi gyare-gyare da yawa ga rubutun tun lokacin da na buga wannan rubutun, 2 su ne waɗanda na ambata a cikin mahaɗin a farkon wannan bayanin, wani kuma shi ne cewa idan kun canza kowane hali a cikin rubutun, an share shi. Kuma yanzu dole ne in gwada wannan don ƙaddamar da lambar hahahaha.

      Godiya ga bayaninka kuma… ee, a riƙe, bash !!! HAHA

    2.    KZKG ^ Gaara m

      WTF !!!
      Na riga na yi amfani da SHC… GE-NI-AL !!!! O_O

  14.   Ateyus m

    Kyakkyawan rubutun, hey kuma idan kayi amfani da tushen mai dubawa, don iya gudanar da rubutun azaman sudo ./script

    Dole ne kawai ku ƙara wannan lambar a farkon

    http://paste.desdelinux.net/4663

    Gaisuwa

  15.   Neo61 m

    KZKG ^ Gaara, abokina, ina tsammanin fadada bayani ba shine matsalar ba, hakan yana da kyau ne ga wadanda bamu da wannan ilimin sosai. Labaran da basa koyarwa an buga su anan, suna bada bayanai ne kawai game da wani abu da yake. Don haka kar ku ba kanku uzuri kuma a sami ƙarin tare da ƙarin bayani.

  16.   nisanta m

    Don abubuwa kamar wannan na yi amfani da su http://www.truecrypt.org/

  17.   Abel m

    Shin wani zai iya raba rubutun? Ina son sani kuma duk hanyoyin haɗin suna ƙasa. 🙁

    Gode.