Ungayisusa kanjani noma uyifihle ikhodi kusuka kumibhalo yethu ye-bash

Kwesinye isikhathi sihlela iskripthi ku- Bash futhi sifuna ikhodi yalokhu ukuthi ingabonakali, okungukuthi, ingabi umbhalo ocacile. Lapho sikhuluma ngokufihla ikhodi igama elifanele ngu obfuscate, kimi bengifuna ukucacisa ikhodi umbhalo engiwenze esikhathini esithile esidlule, insiza engiyitholile yalokhu ibizwa ngokuthi: shc

shc Kusivumela ukuthi sisebenzise ikhodi, nazi izinyathelo zokuyisebenzisa:

1. Okokuqala kufanele siyilande

Landa i-SHC v3.8.9

2. Lapho sesilulandile, sichofoza kwesokudla kufayela elicindezelwe bese ukhetha inketho ethi «Khipha lapha"noma into efanayo. Lokhu kuzosenza sibone ifolda ebizwa ngokuthi shc-3.8.9, lapha ngikukhombisa isithombe-skrini sokuqukethwe kwayo

3. KULUNGILE, ake sithi ifolda iku- /home/usuario/Downloads/shc-3.8.9 Yebo, sivula ukuphela bese siya kulowo mzila (cd "/home/usuario/Downloads/shc-3.8.9"), Futhi ukufakwa kuqala lapha.

 4. Ku-terminal etholakala (njengoba besengikutshelile) kufolda shc-3.8.9, ukuze ufake lolu hlelo lokusebenza sidinga ukwenza isixhumanisi esingokomfanekiso sefayela shc-3.8.9.c a shc.c ngakho senza lokhu okulandelayo:

ln -s shc-3.8.9.c shc.c

 4. Lapho isixhumanisi sesenziwe, senza kahle yenza ukufaka ngezimpande izimvume (sizosebenzisa iSudo):

 sudo make install

 4. Izosicela iphasiwedi yethu futhi izolinda isikhashana, izobe isilindele ukuthi sicindezele ukhiye [FUTHI] bese ucindezela [Faka], okusho ukuthi, siyaqinisekisa ukuthi sifuna ukufaka isoftware. Uma lokhu sekwenziwe kuzofakwa ngaphandle kwezinkinga. Ngikushiya isithombe-skrini sayo yonke inqubo yokulungiselela nokufaka:

 

Njengoba ukwazi ekugcineni ngithola iphutha, iphutha libhekise eqinisweni lokuthi ifolda ethile ayikho ohlelweni lwami, uma ubona lokhu, mane ungakuniki ukubaluleka ... noma kunjalo SHC ifakwe ngempumelelo 😉
Ngakho-ke bangakwazi ukugijima sudo make install es KUDINGEKA faka amaphakheji: gcc y ukwenza

5. Kwenziwe, lokhu kungenxa yokufakwa 😀

Lapho siyifakile, sidinga nje ukufunda ukuthi siyisebenzisa kanjani. Ake sithi sinombhalo ekhaya lethu obizwa ngokuthi script.sh nokuthi okuqukethwe kwayo kunjengokulandelayo:

#!/bin/bash
echo "Script de prueba para DesdeLinux.net"
exit

Lapho sisebenzisa lo mbhalo ngokusobala sizosikhombisa umyalezo ku-terminal: «Iskripthi sokuhlola seLaveLinux.net" noma cha? … Kepha, manje sesizosusa leyo khodi.

Ku-terminal sibeka okulandelayo bese sicindezela [Faka]:

shc -v -f $HOME/script.sh

Futhi ibhingo !! ngomumo 😀

Lokhu kusenzele amafayela amabili amasha kanye nombhalo wethu, manje sesinakho script.sh.x y script.sh.xc

script.sh.x - » Lo ngumbhalo wethu we-bash obusisiwe, lokhu lapho siwenza kuzokwenza ngokufana ncamashi nowokuqala esiwudalile, umehluko phakathi kwalokhu ukuthi owokuqala uma siwuvula ngomhleli wombhalo (nano, kate, gedit, njll) besikubona kahle okuqukethwe yikho, ngenkathi sivula script.sh.x sizobona ngokusobala ukuthi asiboni lutho ... LOL !!!, okungukuthi, ikhodi 'ibethelwe' 🙂

script.sh.xc - » Lo ngumbhalo wethu kodwa ngolimi lwe-C ... singakususa lokhu ngaphandle kokukhathazeka ngoba asikudingi ngempela, okungenani, bengingeke ngidinge nakancane 🙂

Akukho okunye okuningi ongakufaka empeleni ohlangothini lwezobuchwepheshe, vele ucacise ukuthi ngokwazi kwami ​​ngalokhu (ukufihla noma ukufaka ikhodi ye-bash script) akwephuli amalayisense noma okuthile okunjalo. Ngikucacisa lokhu ngoba ezinyangeni ezimbalwa ezedlule kuFacebook lapho ngishilo ukuthi ngifunde ukufihla ikhodi ye-bash, abanye abasebenzisi bangixwayisa ukuthi lokhu kwephula amalayisense noma okuthile okunjalo ... kahle, ngokwazi kwami, amalayisense awaphuliwe ngalokhu 😉

Ngiyabonga kakhulu ku- UMatias Gaston ngokukhuluma ngale nsiza kimi esikhathini esedlule

Akukho okunye engingakufaka, ukungabaza noma umbuzo, isikhalazo noma isiphakamiso ungazise.

Sanibonani


Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Amazwana ayi-44, shiya okwakho

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.

  1.   Xykyz kusho

    Akukhona ukuthi amalayisense ephuliwe, ukuthi iyeka ukuba yisoftware yamahhala ...

    1.    KZKG ^ Gaara kusho

      Yebo kunjalo. Iqiniso ukuthi kunemibhalo ethile yomuntu siqu engingafuni abanye bayibone, ngokwesibonelo ngoba omunye wale mibhalo unephasiwedi embhalweni osobala we-MySQL yangakini, noma okunye okufana nalokho.

      1.    UMorpheus kusho
        1.    KZKG ^ Gaara kusho

          Empeleni ngigcina amaphasiwedi ami 'afihliwe' ngisebenzisa i-SHA (https://blog.desdelinux.net/como-saber-la-suma-md5-o-sha-de-una-palabra-oracion-o-archivo/), lapho-ke kuskripthi ngigcina i-hashi ye-password futhi engikwenzayo ukuqhathanisa iphasiwedi efakwa ngumsebenzisi (ngiyisindisa nge-read), ngithola isamba se-SHA bese ngiqhathanisa zombili ekugcineni 🙂

          Noma kunjalo, ngiyabonga kakhulu ngesixhumanisi, sengivele ngiyibuyekeza 😀

          Phendula ngokucaphuna

        2.    Masisebenzise iLinux kusho

          Impela! I-Shell Prompt ebuza i-password iyindlela enhle.
          Halala! UPaul.

          1.    msx kusho

            Kepha ayinikezeli ukwenziwa okuzenzakalelayo nokungagadiwe njengoba kwenza ngenye indlela. 🙂

      2.    UWillians vivanco kusho

        Ukubeka amaphasiwedi nokunye ukufinyelela noma ukufaka idatha engcupheni kuskripthi kuyiphutha elikhulu. Lolu lwazi kufanele lulondolozwe kwelinye ifayili, ngezimvume zalo ezifanele, ngakho-ke ngeke kudingeke ukuthi usebenzise iskripthi sakho se-bash. Kulula huh?

        1.    KZKG ^ Gaara kusho

          Inkinga yokuba nedatha (okuguquguqukayo kokungena ngemvume, ama-confs, njll) kwelinye ifayela ukuthi lapho 'uhlelo' noma 'uhlelo lokusebenza' ludinga amafayela ama-2 ukuthi asebenze, kanti uma ngigcina 'ngivikelekile' ngangokunokwenzeka konke kufayela elilodwa, kahle bengizodinga lokho kuphela ... ifayili elilodwa.

          1.    UMorpheus kusho

            Kungumkhuba omuhle ukuhlukanisa uhlelo lokusebenza nedatha.
            Noma kunalokho kuwumkhuba omubi ukufaka ikhodi yedatha kanzima!
            http://es.wikipedia.org/wiki/Hard_code
            Akuhlangene nokuphepha kokufaka ikhodi nedatha kufayela elifanayo. Futhi nangaphezulu, okuphambene uma unamaphasiwedi wakho lapho !!

          2.    UWillians vivanco kusho

            Izindleko zokufunda imininingwane ebucayi kusuka kwelinye ifayela azinakulinganiswa nezindleko zeprosesa ezidingekayo ukuze "uthole" ikhodi yakho.

            Ngakolunye uhlangothi, ulahla yonke paradigm yentuthuko ye-modular, ukubheja kumodeli ye-monolithic, ngaphezu kokufakazelwe, kunezinkinga eziningi kunezixazululo.

          3.    msx kusho

            Futhi ukuthi uma usebenzisa izimvume ezizofaka amanye amaqembu / abasebenzisi, uzodinga ne-password yokuqala ukwenza iskripthi sokuqala.

          4.    msx kusho

            @KZKG ukuphawula okungenhla kuphendula ukuphawula kwakho
            @morpheus: kuhlobene ngokuphelele nesidingo esithile.

    2.    UMorpheus kusho

      Kepha kukhona isoftware yamahhala ehlanganiswe kanambambili (okungaphezulu kwe-obfuscate). Iqiniso lokuthi likhululekile lisho ukuthi nalo linomthombo, kepha alihlangene nakancane nokubambelela (noma ukuhlanganisa, okubalulekile uma ngifuna ukwenza uhlelo lwe-C, ngokwesibonelo)

      1.    UWillians vivanco kusho

        Endabeni yesoftware yamahhala ehlanganisiwe, kungumbuzo wesidingo solimi olusetshenziswayo (uma uhlela ku-C, kufanele uqoqe ukuze uhlelo lwakho lokusebenza lusebenze). Futhi okufanayo, njalo, uma kuyi-Free Software ngempela, ikhodi yomthombo izotholakala.

  2.   Hyuuga_Neji kusho

    humm Ngisho isilinganiso esithile sokungabi nandaba nokwabelana ngekhodi lol ukubona ukuthi bangaki abagcina beqala "ukwengeza amakhodi abo" ukusenza sincike kakhulu ezixazululweni zabo ...

    1.    KZKG ^ Gaara kusho

      Angisho ukuthi ikhodi kufanele itholwe noma cha ... Nginikeza amathuluzi, ngalinye ukuwasebenzisa ngokuya ngezidingo zawo.

      1.    umhlaziyi kusho

        Ikhodi ye-Obfuscate kuleli khasi?

        Ngicabanga ukuthi kuwumqondo omuhle ukuqhelelana nabafundi, ngoba ngicabanga ukuthi abantu abaningi abavakashela le bhulogi bangabalandeli besoftware yamahhala, ngakho-ke asihlanganyeli nomkhuba wekhodi yokuthola ulwazi.

        1.    msx kusho

          Ngokusobala awusifundanga isizathu esenza ukuthi i-KZKG iphikisane nokuthi kungani ichaza isidingo sayo sokwengeza umbhalo wayo.

          Siyabonga i-KZKG ngokwabelana ngokutholile kwakho!

  3.   Gabriel kusho

    Ngakho-ke amagciwane aqala ukusakazeka eLinux ...

    Ngokwami ​​ANGEKE ngisebenzise noma yimiphi imibhalo etholakele. Hhayi nje kuphela ngenxa yezingozi zokuphepha ezihilelekile, kepha ngoba uma iskripthi sakho siligugu kakhulu kuwe ongabelana ngakho kungcono usibeke ku- * ulo; Ngingamthola umuntu ofuna ukwabelana ngolwazi lwabo.

    1.    KZKG ^ Gaara kusho

      Ngabe wake wasebenzisa umbhalo obhalwe obfuscated?, Awu, kukuhle KAKHULU kuwe, ANGEKE ngisebenzise iskripthi esifihliwe ... imininingwane ukuthi, ANGIKE ngabelane ngesikripthi esifihlekile, kude naso, futhi kukhona umngane othandekayo lapho iphutha likhona njengamanje

      Noma nini lapho ngenza okuthile eBash ngiyabelana ngakho ngaphandle kokukala noma ukungikhathaza, engivele ngikwenzile ezindabeni eziningi lapha 😀

      Uyemukelwa kubhulogi, kuyintokozo ukukufunda 😉

  4.   Percaff_TI99 kusho

    UGabriel, KZKG ^ UGaara usevele wabelana ngolwazi, akenzi iphakheji ye-linux enezikripthi ezifakiwe ezingaba ukwephulwa kwelayisense, iveza kuphela izinhlelo zokusebenza umuntu angazisebenzisa noma cha ukuzisebenzisela zona, akudingekile ukuthi abe luhlaza, ngamagciwane ku-linux akulula kangako, nayi i-athikili enhle ngakho https://blog.desdelinux.net/virus-en-gnulinux-realidad-o-mito/.
    I-KZKG ^ Gaara Ngingathanda ukuthi ubhale okuthunyelwe mayelana nama-encfs ne-cryptography usebenzisa izithombe, kuyisihloko engisithanda kakhulu.
    Halala !!!

    1.    KZKG ^ Gaara kusho

      Siyabonga 🙂
      Empeleni, akukhona ukuthi nginolwazi olwanele ngama-encfs kanye ne-cryptography, okungenani angizizwa ngithembele ngokwanele ukuthi ngibhale futhi ngicabange ukungabaza abasebenzisi abangaba nakho 😀
      Kulesi sihloko akukhona ukuthi ngingumsebenzisi othuthukile ...
      Okukhulu engikwenzile ukusebenzisa i-GPG ukubhala ngemfihlo amafayela, futhi ngokuqondene nezithombe, engikwenze kakhulu 'ukufaka' noma ukufihla ifayela ngaphakathi kwesithombe, kukwenza kucace ukuthi lapho isithombe sivulwa ngombukeli wesithombe, konke kukhonjiswa kahle, ngabe yilokhu okushoyo?

      Ngiyaphinda futhi, ngiyabonga kakhulu ngokuphawula kwakho 🙂

  5.   phumlani kusho

    Uma ngikhumbula kahle, kukhona ubuqhawe be-C obfuscated C, kepha akukufanele ukusebenzisa i- "obfuscator" kepha kufanele bayifihle imithombo yabo bengekho emuva.

    Ngokuqondene ne-shc nezikripthi zakho ezinamaphasiwedi… indlela embi kakhulu yokusebenza!

    I-athikili ethakazelisayo, njengenjwayelo.

    1.    KZKG ^ Gaara kusho

      Yebo, abangaphezu koyedwa sebengitshele i-LOL !!
      Ngiyabonga ngokuphawula kwakho 🙂

  6.   eVeR kusho

    Ngokuyisisekelo, uma wabelana ngohlelo ngaphandle kokwabelana ngombhalo obonakalayo uzobe wephula i-GPL, edinga ukuthi noma yini eyenziwe ngohlelo lwe-GPL kube yi-GPL. Kungakho i-SHC ikhiqiza i-C, ngoba leyo yikhodi ongabelana ngayo.

    Phendula ngokucaphuna

  7.   Masisebenzise iLinux kusho

    Ngiyavumelana nokuphawula kwabanye abafundi: akukhona nje kuphela ukuthi akuyona inqubo enhle yokugcina idatha nokubhala konke ndawonye, ​​kodwa futhi akulungele ukwakhiwa kwesoftware yamahhala.
    Ukwanga! UPaul.

    1.    KZKG ^ Gaara kusho

      Sawubona Pablo 🙂
      Nginomunye umbhalo obhalwe obala osebenza ngaphakathi kwi-laptop yami, ngiyawenza ngoba angifuni nje ukuthi uma othile ngasizathu simbe ekwazi ukukopisha umbhalo wami kwenye ikhompyutha, angifuni nje ukuthi bakwazi ukubona ukuthi uthini iqukethe, kuyindlela 'yokuphepha' engiyithathayo.

      Kodwa-ke, lapha eDesdeLinux ngenza konke okusesidlangalaleni noma cishe konke engikuhlela eBash okungathakazelisa.

      Ngamafuphi, akukhona ukuthi manje sengiyisephulamthetho se-SWL sokuqhakambisa umbhalo othile, ngokwenza lokhu ngezinjongo zomuntu siqu 😀

      Ngiyabingelela mngani

  8.   ikhodi kusho

    Imininingwane enhle. Ngaphandle kwezingxabano ezenziwa kumazwana, kubonakala kimi ulwazi lokuqhubeka nokuphenya okuthe xaxa.

    Ngicabanga ukuthi umbhali nganoma yisiphi isikhathi ku-athikili usitshela ukuthi kuhle noma kubi kwenziwa noma uma kufanele sikwenze noma kungafanele sikwenze, umane asitshele ithuluzi okungenziwa ngalo uma kungasiza othile .

    A ukubingelela.

    ikhodi

    1.    F3niX kusho

      Kumabhulogi weLinuxeros yonke into inempikiswano, haha ​​bekulokhu kunjalo.

      1.    msx kusho

        @ F3niX Ngizosika isithombe-skrini ngamazwana akho ukusibeka ngaso sonke isikhathi lapho othile enza ukusho okungaqondakali ngale ndaba.

        Qaphela: ake sibone ukuthi ngingakuthola nini kuzinkundla ze-irc nezaseChakra 😉

    2.    KZKG ^ Gaara kusho

      NGEMPELA !!
      Ngimane ngikhombise / ngifundise / ngichaze okuthile okusha engikufundile, kukuwe ukuthi usebenzise lolu lwazi noma cha, angikuphoqeleli ukuthi usuke kulo.

      Ngokwazi kwami, ukwabelana ngolwazi kuyinto enhle, akunjalo? 0_oU

      Ngiyabonga ngokuphawula kwakho, kuhle ukwazi ukuthi kukhona abangaphezu koyedwa noma ababili abaqonda injongo eyiqiniso yale ndatshana.

  9.   Percaff_TI99 kusho

    Lapho ungibeke endaweni eminyene ye-xD, emasontweni ambalwa edlule bengilungisa iposi elizobizwa ngokuthi «Ukufakwa nokuhlolwa kweCrux» futhi yize ukufakwa kwenziwe ngempumelelo, ngingumsebenzisi ojwayelekile futhi angazi ukuthi ngizokwazi yini ukubhekana nokungabaza okuvela kubantu besithathu, inhloso ukusebenza njengethuluzi lokuxoxisana ngobuhle nokushiyeka kwale distro kanye nezisombululo ezingaba khona zezinkinga ezingase zivele zisisize phakathi bonke abasebenzisi kanye nabafundi. Uma ngiyiqeda futhi ngiyithumela ukuthi ibuyekezwe, nina (Abaphathi) niyonquma. Ngokuqondene nokubhalwa ngokufihliwe kwezithombe, bekufana, ngiyabonga KZKG ^ Gaara ngokuphendula

    Ukubingelela!

    1.    KZKG ^ Gaara kusho

      Kulungile ngenjabulo, ngizothumela iposi ngalokho 😉

  10.   Makubex Uchiha kusho

    i-tuto bro enhle ngiyithole ilusizo kakhulu: 3
    kulabo abafuna ukuyifaka ku-manjaro linux nakokuphuma kwe-archlinux iphakethe liku-aur negama: shc

    Phendula ngokucaphuna

  11.   Marcos kusho

    Uxolo, mngani, benginombhalo omncane oguqula IZINCWADI ZONYANGO UKUZE UBE izinhlamvu ezincane ezazisekhodini lokunamathisela

    iskripthi sisebenza ngokujwayelekile lapho singafakwanga

    #! / bin / bash
    i-xclip -o> R1.txt
    ikati R1.txt | tr [: phezulu:] [: ezansi:]
    ulahlile ngaphandle ""
    rm R1.txt

    kepha lapho ngifuna ukusebenzisa iskripthi esifakiwe
    kungitshela

    ./M2m.sh: Ukusebenza akuvunyelwe
    Kuqediwe (kubulewe)

    Ngicela usize

    1.    KZKG ^ Gaara kusho

      Ingabe unayo i-xclip efakiwe?

  12.   I-SynFlag kusho

    Kumele kuqashelwe ukuthi empeleni iyi-bash compiler, njengoba kukhona abahlanganisi be-bat noma i-.php.
    Angazi ukuthi ikhodi ekhiqizayo ibhalwe ngokufihliwe futhi ibethelwe futhi ayimelani ne-decompiler, kungadingeka ukuzama, ngoba akuyona inkambu yami angisho yebo noma cha, kodwa lokho engikubonayo ukuthi iyakwenza iyahlanganiswa i-bash, ku-.c kungukuthi Ungabona ikhodi, okuthi, ngaphakathi kwe-obfuscated, ngibona ukuthi isemigqeni ebukeka njengegobolondo elixhaphazayo, angazi noma ngabe bethonyiwe ngempela yini, ngoba, cela iphasiwedi noma engingazi, master.config lapho igama elingukhiye langaphambilini.

  13.   UJuan David kusho

    Bangani kuyenzeka ukuthi lapho ngenza umbhalo wami udale iskripthi esisha ngokuphela kwe-ex, ngiyasisebenzisa futhi kuphelele. Kepha uma ngiyisa kwenye ikhompyutha ene-linuz ayisebenzi, isivele inazo zonke izimvume, ngakha isiqalisi ngiyitshele ukuthi uhlelo lokugcina, kepha ayisebenzi, ngicela ulinde impendulo ngokushesha

    1.    KZKG ^ Gaara kusho

      Ngabe uyihlanganisile futhi uyisebenzisa kuhlelo olunokwakhiwa okufanayo? Ngamanye amagama, izokunikeza iphutha uma uyihlanganisele ukuyifaka obfuscate kusistimu engama-32-bit, bese uzama ukuyisebenzisa ngohlelo lwama-64-bit, noma okuphambene nalokho. Uyaqonda?

      1.    UJuan David kusho

        Cha, kepha sengivele nginikeze ukufomatha ikhompyutha efanayo, ngohlelo olufanayo lokusebenza futhi ayisebenzi, ayithumeli ngisho nephutha.
        Ngikubiza ngekhonsoli enjengale: Sudo /home/operations/script.x futhi ngithola leli phutha

        /home/operaciones/script.x: e } 8- q , K

        icala lonke

        1.    KZKG ^ Gaara kusho

          Zama ukuyiqhuba NGAPHANDLE kokuhlanganiswa ukuze ubone ukuthi ngabe kuyiphutha yini kukhodi

    2.    Nick kusho

      Ukuze ukwazi ukusebenzisa iskripthi esifakiwe kwamanye amakhompyutha kufanele usihlanganise nenketho «-r Relax security. Yenza kanambambili ongasabalalisa kabusha ', ngaphandle kwalokho izosebenza kuphela emshinini lapho iskripthi satholwa khona nge-SHC.
      Isibonelo:

      shc -r -f script.sh

  14.   i-william kusho

    Sawubona, nginombuzo, i-shc ingafakwa kunoma yiluphi uhlobo lokusatshalaliswa kweLinux?, Isibonelo isigqoko esibomvu, ukufakwa bekungaba kanjani kulokhu?
    Gracias!

  15.   mthoko kusho

    Sanibonani nonke, imibono yenu ingisizile kakhulu, kepha nginenkinga elandelayo, lapho i-obfuscation ingangisebenzeli ohlelweni olufanayo kepha ngobuciko obuhlukile, okusho ukuthi, uma ngiyenza ngama-bits angama-32 ayikwazi ukusebenza ngama-bits angama-64 . Ngabe ukhona owaziyo ukuthi ngabe ingasebenza ngokwakhiwa okuhlukile (ama-32 no-64 bits)?