So how to find Zombie Processes? Fire up a terminal and type the following command – ps aux | grep Z How to kill Zombie processes? Normally we kill processes with the SIGKILL command but zombie processes are already dead. You Cannot kill something that is already dead. So what you do is you type …
Kategori Arşivi: Genel
Mar 14
Openvas9 Scanner servisi başlamazsa yapılanlar
I have had similar issues and found clearing the redis cache helped. refer >> https://www.mail-archive.com/openvas-discuss@wald.intevation.org/msg11222.html 67 Command will be something like sudo redis-cli -s /var/run/redis/redis.sock flushall depends where the redis.sock is located. redis-cli -s /tmp/redis.sock flushall openvas-scanner’ın start durumu redis.sock dosyasının lokasyonu veya redis-server durumu ile yakından ilgilidir.
Mar 14
Apache üzerinden index görüntüleme izni
root@40-webinar:~# cd /etc/apache2/sites-available/ root@40-webinar:/etc/apache2/sites-available# pico XXXxxx.bilecik.edu.tr.conf sayfasında index’e izin vermek için öncelikle ServerName XXXxxx.bilecik.edu.tr DocumentRoot /var/www/XXXxxx.bilecik.edu.tr ServerAlias XXXxxx ErrorLog /var/log/apache2/webders/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/XXXxxx/access.log combined <directory “=”” var=”” www=”” XXXxxx.bilecik.edu.tr”=””> Order allow,deny Allow from all AllowOverride All yazılması lazım aksi takdirde www …
Mar 14
Hp procurve anahtarların freeradius üzreinden doğrulama yapması ve mySQL backend çalışması
Yararlanılan kaynak: http://h22208.www2.hpe.com/eginfolib/networking/docs/switches/WB/15-18/5998-8152_wb_2920_asg/content/ch06s04.html pico /etc/freeradius/clients.conf #anahtarların login islemleri client switch_management_ip_blogu/24 { secret = “passworddd” } password operator user-name manager switch_pass radius-server host radius_server_ip key “passworddd” aaa authentication telnet login local aaa authentication telnet enable radius aaa authentication ssh login radius aaa authentication num-attempts 2 radius-server key My-Global-KEY-1099 radius-server dead-time 5 radius-server timeout 3 radius-server retransmit 2 mysql …
Mar 14
Apache Dizinine Şifreli Giriş
sudo htpasswd -c /etc/apache2/.htpasswd kullanıcı ile login yapıcak kullanıcı belirlenir. sudo nano /etc/apache2/sites-enabled/000-default.conf dosyasına alttaki satırlar eklenir. Kod: <Directory “/var/www/html”>[/color][/font][/color] AuthType Basic AuthName “Restricted Content” AuthUserFile /etc/apache2/.htpasswd Require valid-user [color=#3a3a3a][font=monospace][color=#000000] </Directory> sudo apache2ctl configtest yapılan değişiklerle sorun oluştumu check et. sudo systemctl restart apache2 servisi yeniden başlat ve durumunu kontrol et. sudo systemctl status apache2 sudo nano /var/www/html/.htaccess erişim yetkilerini belirlemek …
Mar 14
Exim yararlı Komutlar
exim -M id #Try to send the message with id id exim -qf #Tell exim to process the entire queue again exim -qff #same as qf, but it will flush the frozen messages exim -Mvl id #view the message log for message id exim -Mvh id #view message id’s headers exim -Mvb id #view message id’s body exim -Mrm id #remove message id from the queue exim -Mg id #fail and send a bounce to …
Mar 14
Nikto2 aracı ile web vulnerability Scanner
pico /etc/apt/sources.list dizininde deb http://archive.ubuntu.com/ubuntu bionic main universe satırına restricted multiverse eklendi. apt install dediğimizde nikto paketi geldi. https://cirt.net/nikto2-docs/ deki işlem adımları uygulandı. nmap -p443 dmz_ip_adres_blogu/24 -oG – | nikto.pl -h – -C all -output dmz443.html ln -s /home/patron/nikto-master/program/dmz80portscanner.html /var/www/html/raporlar/dmz80webscan.html sonrasında dizin güvenliği için ; sudo htpasswd -c /etc/apache2/.htpasswd kullanıcı ile login yapıcak kullanıcı belirlenir. sudo nano /etc/apache2/sites-enabled/000-default.conf dosyasına alttaki satırlar …
Mar 14
Php sürümleri arasındaki geçişler ve pdo-msSQL konfigürasyonu
Switch From PHP 7.0=> PHP 7.2 The PHP 5.6 is set as default version in your system, and you need to switch to PHP 7.2. Run the following commands to switch for Apache and command line. Apache:- sudo a2dismod php7.0 sudo a2enmod php7.2 sudo service apache2 restart Command Line:- sudo update-alternatives –set php /usr/bin/php7.2 sudo …
Mar 14
Hp Procurve Session Timeout Ayarları
https://h22208.www2.hpe.com/eginfolib/networking/docs/switches/common/15-18/5998-8158_bog/content/ch03s03.html NOTE: In software release versions K.15.12 and greater, the console inactivity-timer <minutes> command has been deprecated and replaced by the console idle-timeout command. As an example: HP Switch(config)#console inactivity-timer 2 is now equivalent to: HP Switch(config)#console idle-timeout 120 In addition, the serial or USB console idle timeout can be controlled separately if needed. The console idle-timeout serial-usb seconds command allows for …
Mar 14
FreeeRadius MySQL ve LDAP backend
https://computingforgeeks.com/how-to-install-freeradius-and-daloradius-on-ubuntu-18-04-ubuntu-16-04/ Freeradius ve yönetim paneli kuruldu. MySQL backend tarafı hazır. Farklı tablo veya server üzerinde çalışılıyor. Sonrasında LDAP çalışılacak.