milbit.guncellendi

This commit is contained in:
milisarge 2017-06-18 14:47:18 +03:00
parent e1ba306c35
commit bc5e913b8d
1 changed files with 77 additions and 14 deletions

91
bin/milbit Executable file → Normal file
View File

@ -70,6 +70,46 @@ insert_header "KERNEL: `uname -r`"
echo "YÜKLENEN KERNEL MODÜLLER:" >> $info echo "YÜKLENEN KERNEL MODÜLLER:" >> $info
lsmod|awk '{print$1}' >> $info lsmod|awk '{print$1}' >> $info
;; ;;
JAVA )
insert_header "Java Güvenlik Bilgisi:"
javaguvenlik=`ls ~/.java/deployment/security/exception.sites`
if [ $javaguvenlik ]; then
cat ~/.java/deployment/security/exception.sites >> $info
else
echo "Java güvenlik bilgisi dosyası bulunamadı." >> $info
fi
;;
Yüklü )
insert_header "Java Yüklenmiş mi?:"
yuklukont=`ls /var/lib/pkg/DB/jre/kurulan`
if [ $yuklukont ]; then
echo "Java yüklü." >> $info
else
echo "Yüklü java bulunamadı." >> $info
fi
;;
Sertifikalar )
insert_header "Yüklü Sertifika Bilgileri:"
ls /etc/ssl/certs/*.pem >> $info
;;
Host )
insert_header "Java Güvenlik Bilgisi:"
hostd="/etc/hosts"
if [ -f "$hostd" ]; then
cat /etc/hosts >> $info
else
echo "Host dosyası bulunamadı." >> $info
fi
;;
Java_Policy )
insert_header "Java.policy Bilgisi:"
policy="~/.java.policy"
if [ -f "$policy" ]; then
cat ~/.java.policy >> $info
else
echo "Java.policy dosyası bulunamadı." >> $info
fi
;;
İşlemci ) İşlemci )
egrep "vendor|name|cores|flags|MHz|address|cpuid" /proc/cpuinfo|sort -u > $info egrep "vendor|name|cores|flags|MHz|address|cpuid" /proc/cpuinfo|sort -u > $info
dmidecode -t 4|egrep "Family|ACPI|APIC|PGE|threading|Thermal|Speed|Clock|Thread|capable" >> $info dmidecode -t 4|egrep "Family|ACPI|APIC|PGE|threading|Thermal|Speed|Clock|Thread|capable" >> $info
@ -289,11 +329,11 @@ export MILIS_BILGI='
'`txtcolor 500 darkred x-large normal " MİLİS SİSTEM BİLGİ TOPLAYICISI - MİLBİT"`' '`txtcolor 500 darkred x-large normal " MİLİS SİSTEM BİLGİ TOPLAYICISI - MİLBİT"`'
</hbox> </hbox>
'`hsep`' '`hsep`'
<notebook show-tabs="true" show-border="false" labels="Cihaz|Medya|Sürücüler|Ağ|Log|Milis|Çeşitli" height-request="350"> <notebook show-tabs="true" show-border="false" labels="Cihaz|Medya|Sürücüler|Ağ|Log|Milis|E-İmza|Çeşitli" height-request="350">
<vbox> <vbox>
<hbox> <hbox>
<tree selection-mode="3" exported-column="0" rules-hint="true" headers-clickable="false"> <tree selection-mode="3" exported-column="0" rules-hint="true" headers-clickable="false">
<label>Element</label> <label>Elemanlar</label>
<variable>Cihaz</variable> <variable>Cihaz</variable>
<width>130</width> <width>130</width>
<height>300</height> <height>300</height>
@ -319,7 +359,7 @@ export MILIS_BILGI='
<vbox> <vbox>
<hbox> <hbox>
<tree selection-mode="3" exported-column="0" rules-hint="true" headers-clickable="false"> <tree selection-mode="3" exported-column="0" rules-hint="true" headers-clickable="false">
<label>Element</label> <label>Elemanlar</label>
<variable>grafikler</variable> <variable>grafikler</variable>
<width>130</width> <width>130</width>
<height>300</height> <height>300</height>
@ -341,7 +381,7 @@ export MILIS_BILGI='
<vbox> <vbox>
<hbox> <hbox>
<tree selection-mode="3" exported-column="0" rules-hint="true" headers-clickable="false"> <tree selection-mode="3" exported-column="0" rules-hint="true" headers-clickable="false">
<label>Element</label> <label>Elemanlar</label>
<variable>suruculer</variable> <variable>suruculer</variable>
<width>130</width> <width>130</width>
<height>300</height> <height>300</height>
@ -361,7 +401,7 @@ export MILIS_BILGI='
<vbox> <vbox>
<hbox> <hbox>
<tree selection-mode="3" exported-column="0" rules-hint="true" headers-clickable="false"> <tree selection-mode="3" exported-column="0" rules-hint="true" headers-clickable="false">
<label>Element</label> <label>Elemanlar</label>
<variable>ag</variable> <variable>ag</variable>
<width>130</width> <width>130</width>
<height>300</height> <height>300</height>
@ -384,7 +424,7 @@ export MILIS_BILGI='
<vbox> <vbox>
<hbox> <hbox>
<tree selection-mode="3" exported-column="0" rules-hint="true" headers-clickable="false"> <tree selection-mode="3" exported-column="0" rules-hint="true" headers-clickable="false">
<label>Element</label> <label>Elemanlar</label>
<variable>logs</variable> <variable>logs</variable>
<width>130</width> <width>130</width>
<height>300</height> <height>300</height>
@ -407,7 +447,7 @@ export MILIS_BILGI='
<vbox> <vbox>
<hbox> <hbox>
<tree selection-mode="3" exported-column="0" rules-hint="true" headers-clickable="false"> <tree selection-mode="3" exported-column="0" rules-hint="true" headers-clickable="false">
<label>Element</label> <label>Elemanlar</label>
<variable>milis</variable> <variable>milis</variable>
<width>130</width> <width>130</width>
<height>300</height> <height>300</height>
@ -423,17 +463,21 @@ export MILIS_BILGI='
</edit> </edit>
</hbox> </hbox>
</vbox> </vbox>
<vbox> <vbox>
<hbox> <hbox>
<tree selection-mode="3" exported-column="0" rules-hint="true" headers-clickable="false"> <tree selection-mode="3" exported-column="0" rules-hint="true" headers-clickable="false">
<label>Element</label> <label>Elamanlar</label>
<variable>cesitli</variable> <variable>imza</variable>
<width>130</width> <width>130</width>
<height>300</height> <height>300</height>
<item>lspci</item> <item>Sertifikalar</item>
<item>lsmod</item> <item>Yüklü JAVA </item>
'`craction '\$cesitli' machinfo7`' <item>Kart Bilgisi</item>
<item>MEB İnterneti</item>
<item>JAVA Güvenlik</item>
<item>Host Dosyası</item>
<item>Java_Policy</item>
'`craction '\$imza' machinfo7`'
</tree> </tree>
<edit editable="false" wrap-mode="0" left-margin="10"> <edit editable="false" wrap-mode="0" left-margin="10">
<variable>machinfo7</variable> <variable>machinfo7</variable>
@ -442,10 +486,29 @@ export MILIS_BILGI='
</edit> </edit>
</hbox> </hbox>
</vbox> </vbox>
<vbox>
<hbox>
<tree selection-mode="3" exported-column="0" rules-hint="true" headers-clickable="false">
<label>Elemanlar</label>
<variable>cesitli</variable>
<width>130</width>
<height>300</height>
<item>lspci</item>
<item>lsmod</item>
'`craction '\$cesitli' machinfo8`'
</tree>
<edit editable="false" wrap-mode="0" left-margin="10">
<variable>machinfo8</variable>
<width>450</width>
<input file>'$tmpsi'/info.tmp</input>
</edit>
</hbox>
</vbox>
</notebook> </notebook>
<hbox> <hbox>
'`butcustom "Ekrandaki bilgiyi metin düzenleyicide açar." "Bilgiyi Dosyada Aç" btnOpen stock gtk-file false`' '`butcustom "Ekrandaki bilgiyi metin düzenleyicide açar." "Bilgiyi Dosyada Aç" btnOpen stock gtk-file false`'
<action>kwrite $info || leafpad $info || beaver $info || mousepad $info || kate $info</action> <action>kwrite $info || leafpad $info || beaver $info || mousepad $info || geany $info || kate $info</action>
</button> </button>
'`butcustom "Mevcut Bilgi ekranını dosyaya yazdırır /root/psinfo.txt" "Dosyaya Yazdır" btnDump stock gtk-revert-to-saved false`'</button> '`butcustom "Mevcut Bilgi ekranını dosyaya yazdırır /root/psinfo.txt" "Dosyaya Yazdır" btnDump stock gtk-revert-to-saved false`'</button>
'`butcustom "Kapsamlı sistem raporunu dosyaya yazdırır /root/Desktop/psinfo.txt" "Kapsamlı Rapor Yazdır" btnReport stock gtk-go-down true`'</button> '`butcustom "Kapsamlı sistem raporunu dosyaya yazdırır /root/Desktop/psinfo.txt" "Kapsamlı Rapor Yazdır" btnReport stock gtk-go-down true`'</button>