Archive for the ‘Linux’ Category

Windows Terminal Accessing for client on Ubuntu

rdesktop , Matthew Chapman tarafından Linux platformların dan Windows terminal sistemlere remote eriÅŸim için geliÅŸtirilmiÅŸ VNC connection benzeri  bir protokoldür.(GNU Licence) Linux altında, rdesktop ile 192.168.99.129 IP adresli sanal bir windows pc’nin terminal server protokolune baÄŸlanalım. Netcat ile remote eriÅŸim saÄŸlamak istedigim windows serverin  3389. Portu’nun dış network’e açık olup olmadığını kontrol ediyorum. root@localroot:~# nc [...]

Read the rest of this entry »

Dig nedir ? Nasıl kullanılır?

Dig, herhangi alan adi  icin bir dizi dns sorgusu yapılabilmesini saÄŸlayan kullanışlı bir network yazılımıdır. Dig’i iÅŸlevleri itibari ile windows sistemlerdeki nslookup’a benzetebilirsiniz.Linux/Unix sistemlerde default olarak network tool’lari içerisinde sistemde kurulu olarak bulunabildigi gibi  Bind-utils paketi ile sisteme harici olarak da kurulabilmektedir.Åžimdi client dns’imiz uzerinden youtube.com adresinin A,MX,SPF(TXT),NS,SOA.PTR  recordlarini sorgulayacagız.Bu iÅŸlemleri google’nin public ettiÄŸi dns [...]

Read the rest of this entry »

Redhat/Centos’da SWAP ile Virtual Memory

Swap ,Unix/Linux sistemler de fazlasıyla gereksinim duyulan memory ihtiyacını  kendi uzerine yazip, sanal hafiza olusturmakla görevli file sistemidir. Linux altında Swap partition olusturulup file sistem olarak yapilandirilmasi icin asagidaki adimlari takip edebilirsiniz. ASCII(7 Byte’lik sayi sistemi) karekterli sayi sistemi olusturmakla bilinen ” /dev/zero ” adli ozel donanımı kullanip 256 MB degerinde (tekabul eden/biraz aÅŸan) 0 [...]

Read the rest of this entry »

Linux’da Symbolic Link Uygulaması

Devamli kullanilan servislere tek komut altinda ve sabit dizinde yonetebilmek icin Symbolic Link (Simgesel BaÄŸ) uygulamasına itiyac duyarız.Linux sistemlerin de  belirttigimiz metodu “ln -s”  parametresi ile  yapabiliyoruz, asagida Apache ve MySQL icin birer bag link olusturup dosyamizi sabit yerde muhafaza edip tek komut ile sabit dizin uzerinde cesitli islemler yapabiliyor olacagiz. root@localroot:~# ln -s /etc/init.d/apache2 [...]

Read the rest of this entry »

Nikto2 with LibWhisker Fast Installation Code

Nikto2  ve  LibWhisker kutuphanesini, asagida yazdigim ufak bash scripti ile  hizlica kurabilirsiniz. Shell de ilgili scripti .sh formatinda kaydettikten sonra permission degerini 755 olarak set edip Nikto web security scanner  uygulamanizi hızlıca kurup kullanabilirsiniz. Not: Scriptin orjinal/duzgun halini buradan gorebilirsiniz. Centos 5.4 x86-64  isletim sistemlerinde test edilmistir. #/bin/bash #GNU|Nikto2 WAS (Web Application Scanner) Fast Installation [...]

Read the rest of this entry »

Pluggable Authentication Modules for Linux

Linux/Redhat da Su yetkisine sahip olmasini istedigimiz kullanıcılari “whell”  grubuna dahil ederek ssh baglantilari ve local uzerinde  root yetkilerini daha guvenli duruma getirebiliriz.Bu islemleri PAM’i (Pluggable Authentication Modules) devreye sokarak yapacagiz. “PAM is an authentication layer that allows software to be written independet of a specific authentication schema. Maybe, pam is secret security on sshd [...]

Read the rest of this entry »