Linux Sunucu Dosyaların İçinde Kelime Arama

  1. KısayolKısayol reportŞikayet pmÖzel Mesaj
    EcHoLL
    EcHoLL's avatar
    Kayıt Tarihi: 04/Eylül/2008
    Erkek

    find /home*/*/public_html -type f -print0 | xargs -r0 grep -F 'echoll'>kay.txt

    çıkan sonuçları bulundugu dizin şeklinde kay.txt kaydeder. komut basit olasa bazen çok işe yaradığı kesin sizinde işinize elbet yarıycaksın bun bu komut ile linux sunucularda scriptlerdeki güvenlik açıklarını tarıyorum

    < id="64_decode" style="orphans: auto; white-space: normal; widows: 1; -webkit-text-stroke-width: 0px;" name="64_decode" ="" value="64_decode" /> base64_decode
    < id="system" style="orphans: auto; white-space: normal; widows: 1; -webkit-text-stroke-width: 0px;" name="system" ="" value="system" /> system
    < id="passthru" style="orphans: auto; white-space: normal; widows: 1; -webkit-text-stroke-width: 0px;" name="passthru" ="" value="passthru" /> passthru
    < id="p" style="orphans: auto; white-space: normal; widows: 1; -webkit-text-stroke-width: 0px;" name="p" ="" value="p" /> popen
    < id="" style="orphans: auto; white-space: normal; widows: 1; -webkit-text-stroke-width: 0px;" name="" ="" value="" /> exec
    < id="shell_" style="orphans: auto; white-space: normal; widows: 1; -webkit-text-stroke-width: 0px;" name="shell_" ="" value="shell_" /> shell_exec
    < id="" style="orphans: auto; white-space: normal; widows: 1; -webkit-text-stroke-width: 0px;" name="" ="" value="" /> eval
    < id="move_uploaded_" style="orphans: auto; white-space: normal; widows: 1; -webkit-text-stroke-width: 0px;" name="move_uploaded_" ="" value="move_uploaded_" /> move_uploaded_file

    Bunler örnek  kelimeler mesela

    EcHoLL tarafından 11/Kas/15 15:48 tarihinde düzenlenmiştir

    📢 "Are You Passing Taşak With Me"
  2. KısayolKısayol reportŞikayet pmÖzel Mesaj
    All hail to Tux
    sandman
    sandman's avatar
    Kayıt Tarihi: 01/Eylül/2005
    Erkek

    Bende bir öneride bulunim.

    Direk grep ilede bir klasör içerisinde ki dosyalarda geçen kelimeleri arayabilir ve kelimeleri renklendirebilirsiniz.

    grep -w -R "Test" /home/

    veya uzaktaki bir sunucuda aramak için 

    grep -w -R "Test" -h 192.168.1.1 /home


    Mühendis kahveyi projeye dönüştüren bir insan evladıdır.
  3. KısayolKısayol reportŞikayet pmÖzel Mesaj
    EcHoLL
    EcHoLL's avatar
    Kayıt Tarihi: 04/Eylül/2008
    Erkek

    mesela bir scriptde güvenlik açığı meydana geldi bu komutu kullanarak o scripti kulanan php dosyasını imha edebilirsinizde


    📢 "Are You Passing Taşak With Me"
  4. KısayolKısayol reportŞikayet pmÖzel Mesaj
    All hail to Tux
    sandman
    sandman's avatar
    Kayıt Tarihi: 01/Eylül/2005
    Erkek

    Echoll söyledikçe benimde yazasım geliyor.

    Hatta bu komutu crontab'a ekleyerek her gün çalıştırıp sonucu kendinize eposta attırabilirsiniz.


    Mühendis kahveyi projeye dönüştüren bir insan evladıdır.
Toplam Hit: 2935 Toplam Mesaj: 4
linux dosya kelime arama