Advanced tsab ntawv hauv Bash (bash + md5) los tiv thaiv 'ib yam dab tsi' (+ Cov ncauj lus kom ntxaws)

Ob peb hnub dhau los Kuv hais qhia lawv txog FlatPress, lub vev xaib thov (CMS) los ntawm qhov lawv tuaj yeem muaj blog lossis ib yam zoo sib xws yam tsis tas siv cov ntawv sau, lossis nkag nyuaj dhau 🙂

Yog, Kuv muaj rau kuv lub laptop a FlatPress rau tus kheej sau ntawv, yam uas kuv tsis xav hnov ​​qab thiab yog vim li cas kuv thiaj sau lawv hauv tus kheej blog no. Tab sis, raws li ob peb ntawm koj yuav tsum tau paub ... Kuv yog qee qhov tsis paub txog kev nyab xeeb, thiab, yog tias nws hais txog kev ruaj ntseg ntawm MY qhov kev xav, koj tsis muaj lub tswv yim li cas paranoid Kuv tuaj yeem yog 😀

Yog li kuv tau ntsib qhov teeb meem: Yuav ua li cas siv FlatPress Kuv tuaj yeem tiv thaiv tag nrho cov ntsiab lus ntawm nws?

Kuv xav txog ob peb daim ntawv thov uas tso cai rau cov ntaub ntawv rau qhov tseem ceeb, tab sis… tsis muaj ib qho twg uas kuv xav tau, yog li kuv tau ua lub luag haujlwm ntawm lub cajmeem dab tsi kuv xav tau kuv tus kheej.

Tam sim no kuv yuav qhia koj ib tsab ntawv uas kuv ua, uas tsis ua hauv qab no:

Tus ntawv raug tsim los ua ua haujlwm hauv KDE, yog tias lawv tsis muaj KDE lub thawv kaw lus yuav tsis tshwm sim rau lawv.

1. Nws qhia tau hais tias lub thawv qhib nug yog tias koj yog KZKG ^ Gaara, yog tias koj nias TSIS TAU tsab ntawv kaw, yog tias koj nias YOG TAU txhua yam tseem ua raws li ib txwm ua. 2. Muab ib lub thawv ntawv los nug tus password:

3. Yog tias koj nias Cancel tsab ntawv kaw lawm, tam sim no los ib qho ntawm cov ntawv ntxias 😉 ...

3.1. Lub ntsiab yog tias cov ntawv sau sib piv lo lus zais uas peb sau nrog ib qho uas twb tau txiav txim siab nyob hauv tib tsab ntawv, thiab yog tias cov passwords sib phim nws tseem yuav khiav, thiab yog tias cov passwords tsis sib xws ces cov lus yuam kev yuav tshwm Qhov teeb meem yog tias, yog tias peb muab lo lus zais kom raug nyob sab hauv tsab ntawv ib yam li ntawd, txhua tus uas qhib tsab ntawv nrog cov ntawv xov xwm tuaj yeem pom lo lus zais kom raug pom tseeb .. thiab qhov no kuv cov phooj ywg, nws tsuas yog qhov tsis ua tiav tsis ua tiav.

3.2. Txhawm rau zam tus password li qhov no hauv cov ntawv sau hauv cov ntawv sau, Kuv siv MD5. Ntawd yog, thaum pib ntawm tsab ntawv, kuv tshaj tawm tias lo lus zais kom raug yog «2dac690b816a43e4fd9df5ee35e3790d«, Thiab qhov no yog MD5 ntawm:«los ntawm linux«. ... Kuv tsis to taub dab tsi !! … 😀

Cia peb qhia me ntsis ntxiv. Yog tias tam sim no kuv sau rau hauv ntawv (Piv txwv, ~ / pass.txt) ntawm cov ntawv nyeem: los ntawm linux

Yog tias hauv qhov xaus kuv sau: md5sum ~ / pass.txt

Nws yuav rov qab: 2dac690b816a43e4fd9df5ee35e3790d sum

Thiab ... raws li koj tau pom, thawj kab ntawv thib ib uas muaj ntau tus naj npawb thiab cov tsiaj ntawv tsis muaj qhov pom tseeb, yog qhov sib txawv ntawm qhov uas kuv tau tso saum toj no, thiab nws yog tus nyob hauv tsab ntawv tshaj tawm.

Zoo, thawj kem ntawd yog MD5 ntawm los ntawm linux ????

Yog tias lawv tso rau hauv qab no, nws yuav rov qab tsuas yog 1 kab ntawv, uas yog qhov peb nyiam: md5sum ~/pass.txt | awk '{print $1}'

4. Yog li, kev ua haujlwm ntawm tsab ntawv hauv feem tshwj xeeb no yog:

4.1. Cov ntawv sau yuav tso tus password uas koj tau sau cia hauv ntawv hu ua ib ntus temp.txt tau, thiab nws yuav rho MD5 los ntawm cov ntsiab lus ntawm cov ntawv ntawd los ntawm kev siv lo lus txib:

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

4.2. Yog hais tias MD5 ntawm lo lus zais koj nyuam qhuav sau sau TSIS yog tib yam li qhov nws tau hais tseg (uas yog, ib qho sau hauv tsab ntawv) nws yuav kaw thiab muab qhov yuam kev: 4.3. Yog tias lo lus zais ntais ntawv, zoo tag nrho ... tsab ntawv txuas ntxiv mus 😀

5. Thaum lo lus zais ntais ntawv, tsab ntawv yuav ua ntau cov kauj ruam, hauv kuv tsev neeg:

5.1. Nws yuav nkag mus rau lub nplaub tshev / tsev / qhia tawm / tuav / - » cd / tsev / sib koom / hosted /

5.2. Lub FlatPress nplaub tshev hu ua "kuv", thiab nws yog compressed rau hauv .RAR tiv thaiv nrog ib tus password (tus password tseem zoo ib yam li nws yuav tsum tau tsim ua ntej), yog li ntawv yuav decompress qhov ntawv ntawd (me.rar) - » rar x me.rar -hp $ MWORD

rar x ua - »Qhov nws ua yog decompress files thiab folders khaws tib qho kev txiav txim uas lawv muaj.

kuv.rar - »Nov yog cov ntawv uas kuv xav hle.

-hp $ MWORD - »Ntawm no kuv qhia koj tias koj yuav tsum siv tus password los unzip cov ntaub ntawv, thiab tus password yog qhov tseem ceeb $ MWORD (tus nab npawb no yog tus password uas peb tau nkag ua ntej)

5.3. Yog li, yog tias nws tau unzipped zoo, Kuv tsiv mus rau lwv cov ntaub ntawv me.rar ... vim li cas? Zoo, vim tias nws tsis ua rau kev nkag siab tias tus .rar tshwm sim yog tias kuv ua haujlwm nrog cov ntaub ntawv uas kuv muaj sab hauv, thiab cov ntaub ntawv hloov vim tias kuv sau tej yam tshiab hauv blog - » rm kuv.rar

5.4. Kuv yuav tsum hloov cov kev tso cai rau txhua yam kom ua haujlwm tau zoo - » chmod 777 -R me / (nco ntsoov tias daim nplaub tshev rau kuv / yog dab tsi muaj nyob rau hauv compressed me.rar)

5.5. Nws yuav qhia kuv lub qhov rai uas qhia kuv tias kuv muaj 10 lub vib nas this los qhib "" "browser". WTF !, Qhov no txhais tau li cas? ...

5.5 (a). Yooj yim, yooj yim heev… 🙂… Kuv qhib qhov browser (qhov no rekonq ua) thiab kuv ua haujlwm ntawm kev tshaj tawm tshiab, tab sis thaum kuv kaw qhov browser, cov ntawv sau rov qab rau kuv / nplaub tshev dua hauv .rar (tseem nyob hauv me.rar).

Qhov no ua tau vim tias tsab ntawv tshawb xyuas txhua 3 vib nas this yog tias Rekonq qhib lossis tsis yog, yog tias nws pom tias nws qhib, tsab ntawv tsis muaj dab tsi, tab sis yog nws pom tias nws tsis qhib, nws txiav txim siab: rar a me.rar -hp $ MWORD me / * && rm -R me /

Uas txhais tau tias nws yuav hlob lub nplaub tshev kuv / en kuv.rar (thiab nws yuav sau ib lo lus zais, uas yuav zoo tib yam li qhov peb twb tau pom lawm), thiab ib zaug koj ceev nws thiab yog tias tsis muaj qhov yuam kev, nws yuav muab daim nplaub tshev rho tawm kuv / nrog tas nrho nws cov ntsiab lus.

5.5 (b). Qhov no pab tau peb li cas? ... yooj yim, qhov no zam peb kom peb yuav tsum nco ntsoov tias peb yuav tsum tiv thaiv peb cov ntsiab lus ntxiv, vim peb tsuas yog yuav tsum tau tsum tsis txhob ua haujlwm ntawm nws (kaw qhov browser) thiab cov ntawv yuav ua txhua yam haujlwm uas tseem tshuav 😉

6. Npaj txhij, qhov no tau piav txhua qhov nyob rau hauv dav dav 🙂

... txawm hais tias tseem muaj ib qho ntxiv nthuav dav 😀

Cov ntawv sau muaj kev tiv thaiv ntau dua, kev tiv thaiv uas xiam oob khab (tawm lus) yog cov kab no:

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

Nws ua dab tsi yog yooj yim. Qhov sib txawv $ USER yog lub ntiaj teb sib txawv ntawm lub kaw lus, yog tias hauv cov davhlau ya nyob twg muab:

echo $USER

Koj yuav pom dab tsi koj tus neeg siv qhia koj ... zoo, cov laj thawj ntawm cov kab no tau yooj yim.

Yog tias $ USER tsis phim qhov $ ME kuj sib txawv (thiab nws tau tshaj tawm los ntawm kuv hauv tsab ntawv, thiab nws yog: "gaara") tsab ntawv yuav rho tawm tag nrho cov ntaub ntawv .sh uas nyob hauv daim nplaub tshev ntawd, uas yog, nws yuav self-destruct 😉

Qhov no yog los tiv thaiv lwm tus los txhob khiav cov ntawv hauv lwm lub computer hehehehe.

Thiab zoo, Kuv tsis xav tias muaj ntau yam ntxiv los piav, Kuv tawm tsab ntawv:

.SH file download
Saib tsab ntawv no hauv peb Cov Paste

Kuv paub tias ntau tus neeg yuav pom nws tsis tshua muaj kev nyuaj, tab sis nws tiag tiag scares ntau dua qhov nws yuav tsum tau ... cov ntawv sau muaj qhov yooj yim tiag tiag ua haujlwm logic, rau lub hom phiaj yooj yim.

Kuv tau ua qhov no kom tau raws li qhov xav tau tiag tiag ntawm kuv, Kuv qhia nws vam tias qee lwm kab lossis lub tswv yim piav qhia ntawm no tuaj yeem siv rau lwm tus neeg.

Los ntawm txoj kev, tsab ntawv yog npaj rau KDE, vim hais tias cov thawv ntawv (lub qhov rais) nws qhia tau yog los ntawm KDE (siv KDialog), tab sis nws tuaj yeem yoog rau Gnome / Unity / Cinnamon / Mate siv Xiv, los yog siv nws 100% hauv davhlau ya nyob twg los ntawm kev siv lub thawv hais kom ua.

Thiab yog lawm, txawm tias tsab ntawv muaj qee qhov tsis xws luag, piv txwv li yog tsab ntawv nthuav tawm ntawm .rar, thiab tom qab ntawd ib tug neeg yuam kev kaw (tua) tus ntawv, cov ntsiab lus ntawm .rar yuav tsis muaj kev tiv thaiv, muaj qee cov ntsiab lus uas tseem yuav tsum tau polished. ... tab sis hav, peb kuj yuav tsum tswj hwm tias tsis muaj leej twg tuaj yeem tshawb xyuas peb lub khoos phis tawm

Kom tiav Kuv xav hais meej tias Kuv TSIS yog tus tsim tawm, ntau qhov tsawg, Kuv tsis xav txog kuv tus kheej xws li, Kuv xav txog tias koj tuaj yeem ua kom tau txoj kab hauv txoj cai, lossis siv qee qhov kev ua haujlwm los txhim kho kev ua haujlwm ntawm tsab ntawv ... tab sis kuv hais tias, Kuv tsis yog tus programmer

Ib qho lus nug twg uas lawv muaj txog lawv lawv qhia kuv, txawm hais tias tsab ntawv yuav tsis pab lawv vim tias lawv tsis xav tau, lawv tuaj yeem kawm qee yam ntxiv los ntawm nws 😀

regards

PD: Kuv paub tias elav ua nws yuav hais tias kuv yog neeg tsis txaus siab dhau ... lossis tias kuv nkim kuv lub sijhawm, tab sis nws tsis zoo li ntawd. Kuv xav tau qee yam, tshwj xeeb kev ruaj ntseg, thiab kuv programmed nws kuv tus kheej ... yuav ua li cas geeky yog li? … LOL !!


Cov ntsiab lus ntawm tsab xov xwm ua raws li peb cov ntsiab cai ntawm kev tswj hwm kev ncaj nceesCov. Tshaj tawm ib qho yuam kev nyem no.

41 lus, tawm koj li

Tso koj saib

Koj email chaw nyob yuav tsis tsum luam tawm. Yuav tsum tau teb cov cim nrog *

*

*

  1. Lub luag haujlwm rau cov ntaub ntawv: Miguel Ángel Gatón
  2. Lub hom phiaj ntawm cov ntaub ntawv: Tswj SPAM, kev tswj xyuas tawm tswv yim.
  3. Sau raws cai: Koj kev tso cai
  4. Kev sib txuas lus ntawm cov ntaub ntawv: Cov ntaub ntawv yuav tsis raug xa mus rau lwm tus neeg thib peb tsuas yog los ntawm kev txiav txim siab raug cai.
  5. Cov ntaub ntawv khaws cia: Cov Ntaub Ntawv khaws tseg los ntawm Occentus Networks (EU)
  6. Txoj Cai: Txhua lub sijhawm koj tuaj yeem txwv, rov qab thiab tshem tawm koj cov ntaub ntawv.

  1.   hackan said

    Qhov no nthuav, tab sis kuv xav tias cov lus nug ntawm yog / tsis yog heev fart xD
    Thiab koj xav li cas, es tsis txhob siv rar uas yog tswv thiab tsis muaj kev nyab xeeb tiag, hloov nws nrog gpg, uas yog software ruaj ntseg tshaj qhov muaj tseeb nyob rau xyoo, thiab muaj nyob rau hauv kev siv txhua qhov cuam tshuam.
    Ib qho ntxiv, koj tuaj yeem hla md5sum txoj hlua, koj tsis tas yuav tsim cov ntawv ib ntus. Ntawm no kuv tseem pom zoo koj mus rau sha uas muaj kev nyab xeeb dua, sim hauv lub davhlau ya nyob twg: shasum

    Txaus siab!

    1.    KZKG ^ Gaara said

      Nyob zoo thiab ua tsaug rau koj cov lus 😀
      GPG pub ​​kuv teeb pob cov ntawv nrog txhua yam nws cov ntsiab lus? Nws yog tias kuv tau siv nws tsuas yog siv rau ib tus neeg cov ntaub ntawv, tsis yog rau phau ntawv teev npe uas muaj subdirectories thiab cov ntaub ntawv.

      ooo… zoo heev txog shasum, Kuv tsis paub nws 😀
      Kuv yuav hloov kho tsab ntawv los siv cov no ib, thiab… yog !! muaj tseeb, nrog tsuas: ncha "$ PASSWORD" | ntxog Kuv twb tau txais txoj hlua, nyob rau hauv cov nyhuv tsis tas yuav sau nws mus rau ib daim ntawv :)

      Ua tsaug ntau rau koj cov lus, kuv tau kawm tej yam tshiab 🙂
      regards

    2.    siv 84 said

      yog qhov uas kuv twb thov ...

      1.    KZKG ^ Gaara said

        Dab tsi koj yuav xav tau yog los xyuas seb yuav ua li cas GPG encrypt ib qho ntaub ntawv thiab dhau nws tus password ntawm tib kab ... piv txwv li:
        gpg -e file.tar.gz –password elpassword txawm yog

        Ib lub tswv yim twg yuav ua rau nws? 🙂

        1.    hackan said

          Txhawm rau nkag cuv npe c / gpg, koj yuav tsum xub ntim nws nrog tar.
          tom qab ntawd, rau qhov xwm txheej no, nws yooj yim siv kev ntsuas encryption, nrog -c parameter (saib wikipedia rau qhov sib txawv ntawm symmetric thiab asymmetric encryption).
          qhov no yuav yog ib yam dab tsi zoo li:
          tar -czf destination.tgz source_directory / && echo $ passwd | gpg –batch –compress-qib 0 -c –passphrase-fd 0
          qhov no yuav tsim kom muaj cov ntawv teev cov ntaub ntawv hu ua "destination.tgz" thiab qhov sau ntawv "encrypted file" hu ua "destination.tgz.gpg". ob qhov chaw cov ntawv qhia thiab cov compress nws tus kheej yuav tsum tau muab tshem tawm kom muaj kev nyab xeeb (xyuas cov shred hais kom ua)

          rau decrypt:
          ncha $ passwd | gpg –batch -d –passphrase-fd 0 encryption_file.tgz.gpg | tar -xz
          uas yuav rho tawm cov ntaub ntawv hauv cov ntawv qhia tam sim no (tom qab ntawd mv yuav siv tau txav mus rau lwm qhov)

          Muaj lus nug, teb cov lus no 🙂

          Kev txais tos !!

          1.    hackan said

            ehm, saib ntsoov rau ob qho hyphen (-) thiab ib qho hyphen (())… puas muaj ib txoj hauv kev los sau ib yam dab tsi uas yog tias nws yog code kom cov qauv tsis hloov?
            prueba de codigo -- -
            [code] xeem code - - [/ code]

          2.    hackan said

            Kuv siv nws ntau verbose

            hlob thiab encrypt:
            tar -czf destino.tgz directorio_fuente/ && echo $passwd | gpg –batch –compress-level 0 -c –passphrase-fd 0
            Nco ntsoov tias ntawm no yog ob kauj ruam: ua ntej tsim lub compressed cov ntaub ntawv thiab tom qab ntawd, yog tias tsis muaj qhov yuam kev, txuas ntxiv nrog kev siv encryption (tswj nrog & &)

            decrypt thiab unzip:
            echo $passwd | gpg –batch -d –passphrase-fd 0 archivo_cifrado.tgz.gpg | tar -xz

            nyob zoo!

          3.    KZKG ^ Gaara said

            Yog, yeej tau nag hmo nyob hauv tsev Kuv nyeem tus txiv neej gpg thiab muaj txhua yam kuv xav tau necesitaba
            Qhov tseeb kuv tsis tau ua nws li ntawd, Kuv tsis tau siv ncha lossis qog, Kuv tau tshaj tawm txog qhov no, Kuv tsuas yog tso nws.

            Ua tsaug ntau rau cov phooj ywg pab, kuv ua qhov ntawd.

  2.   Josh said

    Zoo kawg nkaus! Kuv tsuas yog nrhiav rau qee yam zoo li ntawd thiab kuv tuaj hla koj tsab xov xwm. Kuv yuav sim nws los tiv thaiv kuv cov ntaub ntawv. Thaum nws los txog rau kev nyab xeeb lub computer, koj yeej tsis tuaj yeem dhau kev saib xyuas ib puag ncig. Ua tsaug rau koj

    1.    KZKG ^ Gaara said

      Ua tsaug haha.
      Koj puas tau nkag siab tias tsab ntawv ua haujlwm zoo li cas, puas yog?

      Nws zoo nkaus li ntau ntau tshaj li qhov tseeb nws yog lol.

      Tsaug rau qhov saib, tiag tiag 😀

      regards

      PS: Tseeb, kev ruaj ntseg yeej tsis txaus hahaha.

      1.    Josh said

        Nws raug nqi me ntsis kom nkag siab txog nws (Kuv nyeem nws 3 zaug) txij li thaum kuv tsis tau siv linux ntev. Tab sis nws yooj yim heev thiab nws ib txwm zoo los kawm tej yam zoo li no. Kev txais tos thiab ua tsaug dua.

        1.    KZKG ^ Gaara said

          Qhov tseem ceeb yog kom nkag siab txog nws hehe. Kuv sim piav txhua yam tsis meej, tab sis kuv xav tias kuv ncua ntev dhau hahaha.
          Tsaug rau koj 🙂

  3.   arosx ua said

    Wow, tus ntawv yeej zoo heev 🙂

    PS: Paranoia Hla 9000! xD

    1.    KZKG ^ Gaara said

      hahahahahahaha uas yog kuv ... LOL !!

  4.   Rafael said

    Saib ntawm koj tsab ntawv Kuv xav tias nws tuaj yeem ua tiav nrog xdialog hauv qhov xwm txheej koj tsis muaj kde :)! Cheers

    1.    KZKG ^ Gaara said

      Auj, Kuv tsis paub txog xdialog ... Kuv yuav tsum khaws ib lub qhov muag ntawm nws 😀
      Tsaug rau cov ntaub ntawv.

  5.   siv 84 said

    hloov rar vim li cas thiaj tsis siv tar.xz / gz thiab gpg?

    1.    Rafael said

      Nws yog vim tias koj twb muaj nws hauv rar qhov chaw koj muaj koj CMS

  6.   Citux said

    Zoo heev @ KZKG ^ Gaara hnub dhau los Kuv tau xav txog qee yam zoo li ntawd, tab sis kuv nyob hauv kev kuaj mob yog li kuv tsis muaj sijhawm rau ib yam dab tsi, thiab mam li nco dheev kuv pom koj tsab xov xwm….
    Kuv mam sim nws lub lim tiam tom ntej no

    1.    KZKG ^ Gaara said

      Ua tsaug, tej ntsiab lus nov kuv yog

  7.   tug 22 said

    xD Kuv tsis nkag siab dab tsi uu tab sis yog tias kuv xav siv kdialog kom raug rau hauv cov ntawv sau, yuav ua li cas kom tau txais cov lus hauv kem

    1.    KZKG ^ Gaara said

      Txhawm rau txais cov lus nyob rau hauv cov ntawv ceeb toom KDE sim sim txhim kho lub pob: libnotify-rau
      Tom qab ntawd hauv lub davhlau ya nyob twg koj muab:
      notify-send "texto texto texto"

      Thiab koj yuav pom txias npaum li cas 😀… thiab, qhov no ua haujlwm rau KDE, Gnome, Kev sib sau, Cinnamon, Mate thiab Xfce 😉

      Txawm li cas los xij, hauv cov ntawv no kuv tsis siv cov ntawv ceeb toom xws li, tab sis tsuas yog KDialog qhov rais. Nyob rau hauv lub davhlau ya nyob twg yam:
      kdialog

      Thiab koj yuav pom kev pab nyob ntawd

      Txais tos 😀

      1.    tug 22 said

        Ua tsaug ntau o /

  8.   Joel antonio vasquez said

    Nyob zoo, zoo tshaj tawm, tsuas yog qhia tswv yim, nws tsis ua li cas nrog md5 tsis pom nrog lub qhov muag tsis pom, tab sis qee qhov xav paub yuav siv lub rooj zaj sawv kom pom tias lo lus zais hloov mus rau md5 nyob sab hauv, Kuv xav qhia siv bcrypt (http://bcrypt.sourceforge.net/), nws tsuas yog kev tawm tswv yim, koj tuaj yeem nqa nws rau txhua lub sijhawm, Kev txais tos.

    1.    KZKG ^ Gaara said

      Ua Tsaug 😀
      Qhov tseeb lawm, MD5 tsis zoo tag nrho thiab muaj cov neeg uas tau tswj kom tau txais cov lej (password), Kuv yuav saib daim ntawv thov no 😉

      Tsaug rau koj cov lus.

  9.   siv 84 said

    nrog lub symmetric ib qho tsuas yog hauv kdialog nws nug koj txog tus lej
    thiab nrog rau cov asymmetric ib tug siv tus yuam sij pej xeem.

    Kuv yuav tsum qhia meej tias kuv tsis muaj kab ntawm cov programmer.

    1.    KZKG ^ Gaara said

      Yog lawm, kuv twb tau tswj hwm los cim nrog GPG (qhov tseeb kuv tsuas yog tso tus tshaj tawm txog qhov no) hehe.

  10.   Caro said

    KZKG ^ Gaara nco ntsoov nyeem koj cov ntawv.
    Tsim ib qho khoom siv nrog XFCE.
    Hnia. Nqi

    1.    KZKG ^ Gaara said

      Nyob zoo thiab ua ntej txhua yam, txais tos kom blog 😀
      hahaha ua tsaug, Kuv paub tias qee zaum nws nyuaj vim tias kuv sau qee yam txuj ci kev kawm, tab sis kuv ib txwm sim piav txhua yam kom meej meej li tsim nyog

      Kuv yuav sim me ntsis nrog XDialog lossis Zenity kom pom tias nws ua haujlwm rau Xfce haha, Kuv yuav ua qhov kev ntsuam xyuas hauv virtual Xubuntu 🙂

      regards

  11.   Elynx said

    Tus txiv neej pab tau, tsaug!

    Ua tsaug!

  12.   Damian rivera said

    Ua tsaug, nws yuav pab kuv ntau yam los tiv thaiv qee cov ntawv

    Kuv yuav tsum yoog nws rau zenity vim tias kuv tsis muaj kde thaum lub sijhawm: \

    Ntawm no kuv tawm hauv lub cev pob txha uas kuv yuav siv yoog raws zenity

    http://paste.desdelinux.net/4641

    Ua tsaug dua thiab txais tos 😀

    1.    KZKG ^ Gaara said

      oooo zoo kawg, ua tsaug ntau 😀 😀
      Kuv nco txog qee tus neeg thov rau qhov no tab sis rau Xfce, nrog Zenity nws yuav ua haujlwm hauv Xfce txoj cai?

      1.    Damian rivera said

        Yog, tsuas yog hais tias lo lus txib tau sab laug ntxiv cov lus txib kom raug tua, tom qab dhau tus password ntawm shasum lossis md5

        Nws yuav tau hloov pauv mus rau cov kev xav tau sib txawv rau txhua tus neeg, los tiv thaiv cov khoom sib txawv hauv cov kab sib txawv nrog cov lus txib sib txawv

        Los sis tej zaum ntxiv lwm ntu (GUI) los tsim kev ruaj ntseg teeb tsa ntawm peb cov ntawv

        Txais tos 😀

        1.    Damian rivera said

          Kuv muaj sij hawm thiab xfce (hauv Archlinux) thiab kuv twb tau yoog tsab ntawv tag lawm, rau xfce siv zenity (kuv xav tias) txij li qhov uas kuv tau tso sab saud tsuas yog pob txha uas kuv siv xwb

          http://paste.desdelinux.net/4644

          Nws tuaj yeem ua tiav yog tias nws muaj kab los ntawm kev muab tshuaj?

          Ua li cas yog tias kuv muaj ntau lub graphical shells thiab kuv tsis paub tias nws yuav ua haujlwm hauv huv xfce, piv txwv li hauv xubuntu

          Txais tos 😀

  13.   Matias Gaston said

    Nthuav che !!! Txoj kev koom tes zoo !!!!!!

    Kuv heev tshiab rau lub cajmeem, Kuv kawm BASH me ntsis los ntawm tsawg ... tab sis qee yam tshwm sim rau kuv thiab lawv yuav lossis tsis zoo rau koj.
    Thaum koj hais tias cov ntawv txaij sau muaj tus password nrog thiab nws yuav yog qhov tsis muaj peev xwm xaiv tau rau ib tus neeg qhib nws thiab nyeem nws los ntawm tod ... koj hais tawm tag nrho cov kev dag no ntawm kev muab MD5 los ua kev tiv thaiv.

    Uas yog qhov zoo nkauj zoo yog thawj kauj ruam hauv kev ua lub neej tsis yooj yim rau cov neeg tsis tuaj yeem, tab sis txheeb xyuas cov tswv yim hauv qab no (uas tuaj yeem siv ib qho nyob rau sab saum toj)

    IDEA 1) Yuav ua li cas yog tias koj khaws cov password hauv ntawv ntawm koj lub tshuab, thiab tsis host nws hauv tsab ntawv?

    EJ: nyob rau hauv txt muab tus yuam sij thiab txuag nws hauv / tsev / /bla/bla/key.txt
    Hauv koj tsab ntawv koj hu tus yuam sij li KEY = "$ (miv $ HOME / blah / bla / key.txt)", tom qab ntawd koj muab pov yog tias $ questionkey = $ KEY, ces .. thiab lwm yam.

    Hauv txoj kev no, koj ua tiav 3 yam +1 kom zoo dua:
    1) Qhov password tsis nyob hauv ntawv. (Koj zam rau MD5)
    2) Txoj hauv kev nyob qhov twg lo lus zais, nyob ntawm lub npe username. (Tus neeg twg uas xav mus qhib nws, rov ua nws qhov twg los xij) Hauv 99.9% ntawm cov ntaub ntawv yuav poob.
    3) Yog tias koj xav tau kev nyab xeeb ntau dua, tshem tag nrho cov kev tso cai rau daim ntawv key.txt rau lwm cov neeg siv tshwj tsis yog koj li.
    4) Qhov zoo: Qhov chaw hloov kom hloov tus password thaum twg koj xav tau, tsis tas yuav tsum sau tsab ntawv. Vim tias cov pov thawj nyob sab nraud los ntawm ib daim ntawv.

    IDEA 2) Yuav ua li cas hais txog obfuscating tag nrho bash tsab ntawv, yog li nws tsis tuaj yeem txawm qhib?

    Ib txoj hauv kev los ua qhov no yog coj kom zoo dua qhov tseeb hauv C koj yuav tsum xam.
    Tom qab ntawd, nws qhia cov ntawv nyob rau hauv C tus lej uas txhua yam nws ua yog hu ua Cov Ntawv ntawd (tab sis qhov ntawd nyob hauv qhov kev pabcuam). Thaum lub sijhawm sau ntawv ... txhua yam nyob sab hauv thiab koj cov zis yog qhov ua ... thiab tsis muaj tsab ntawv ntau ntxiv. Muaj ib tus neeg uas twb tau ua ib "tsab ntawv" uas ua cov txheej txheem ua obfuscation, uas yog qhov tseeb heev.

    Xav paub ntau ntxiv ntawm no: 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) Yuav ua li cas yog tias, koj tso lub zwj ceeb virtual nyob rau hauv tsab ntawv uas nws xav tau cov neeg tswj hwm lo lus zais?

    Piv txwv li, coj cov mob uas siv "sudo" thiab tom qab ntawd txuas ntxiv nrog cov ntawv, yog tias tsis tsum.
    Nyob rau hauv no txoj kev, tag nrho cov kev tiv thaiv yuav poob raws li tus choj hla koj tus ROOT lo lus zais.

    Zoo, tsis muaj dab tsi ntxiv ...
    Hu nkauj !!!!!!!! thiab tuav NYIAJ.

    1.    KZKG ^ Gaara said

      HAHAHAHA Ua tsaug 😀
      Qhov tseeb tam sim no kuv tab tom siv SHA512 vim tias nws zoo dua MD5: https://blog.desdelinux.net/como-saber-la-suma-md5-o-sha-de-una-palabra-oracion-o-archivo/
      Raws li GPG raws li kev txhais tau tias muaj kev tiv thaiv tsis txhob cuam tshuam nrog .RAR: https://blog.desdelinux.net/como-proteger-datos-con-gpg-de-forma-simple/

      Qhov teeb meem nrog tso tus password rau lwm cov ntaub ntawv txawv, yog tias tom qab ntawd nws yuav tso tus password rau lwm qhov chaw, yog, tab sis nws puas yuav nyob hauv ntawv ntshiab? Yog tias kuv yuav tsum tau yauv nws (uas yog qhov pom zoo), Kuv tso nws hauv tib tsab ntawv, zoo ... Kuv tsis ntseeg siab ntau tus neeg tuaj yeem tawg SHA512 hahahaha (saib ntawm 1 txuas thiab koj yuav nkag siab)

      Hais txog cov kev tso cai, yog tias ib tug neeg siv LiveCD ces lawv tuaj yeem qhib .txt siv lub hauv paus LiveCD, yog li cov lus tso cai tsis yog qhov kev xaiv zoo tshaj.

      Txog obfuscating Bash code ... yog, Kuv tau xav txog qhov no thiab lub tswv yim yog ZOO, qhov teeb meem yog tias kuv tsis paub yuav ua li cas, qhov tseeb Kuv tsis paub txawm tias nws yuav ua tau HAHAHA.

      Huag tos ... tam sim no kuv nyeem tas cov lus O_O ... hehe, Kuv tsis paub tias koj tuaj yeem ua li ntawd. Kuv tsis muaj lub tswv yim hais txog C lossis C ++, tab sis nws yuav tsim nyog ib zaug lol.

      Hais txog lub tswv yim 3, tsis yog tsis zoo 😀

      Kuv tau ua kev txhim kho ntau ntxiv rau tsab ntawv txij li kuv luam tawm cov ntawv tshaj tawm no, 2 yog qhov kuv hais hauv qhov txuas thaum pib ntawm cov lus no, lwm qhov yog tias yog koj hloov qee lub cim hauv tsab ntawv, nws raug lwv tawm. Thiab tam sim no kuv yuav tsum sim ua qhov no rau obfuscate tus lej hahahaha.

      Ua tsaug rau koj cov lus hais thiab… yog lawm, tuav, bash !!! HAHA

    2.    KZKG ^ Gaara said

      WTF !!!
      Kuv twb tau siv SHC… GE-NI-AL !!!! O_O

  14.   Atheyus said

    Zoo heev cov ntawv, hey thiab yog tias koj siv lub hauv paus cag, yuav tsum khiav cov ntawv li sudo ./script

    Koj tsuas yog yuav tsum ntxiv qhov code no thaum pib

    http://paste.desdelinux.net/4663

    Tus npawg

  15.   Neo61 said

    KZKG ^ Gaara, kuv tus phooj ywg, Kuv xav tias qhov hais me me ntawm qhov kev piav qhia tsis yog qhov teeb meem, uas yog qhov zoo rau cov neeg ntawm peb uas tsis muaj kev paub ntau. Cov lus uas tsis qhia twb tau luam tawm txoj cai no, lawv tsuas yog muab ntaub ntawv hais txog qee yam uas muaj. Yog li tsis txhob zam txim rau koj tus kheej thiab cia muaj ntau ntxiv nrog kev piav qhia txuas ntxiv.

  16.   dhunter said

    Rau tej yam zoo li no kuv siv http://www.truecrypt.org/

  17.   Anpee said

    Ib tug neeg tuaj yeem faib cov ntawv? Kuv mas thiab txhua qhov txuas yog cia. 🙁

    Ua tsaug rau koj.