Archive for May, 2009

Security XP konsoldan kullanıcı ekleme

0 Comments

net user /add okan2 parola
net localgroup administrators /add okan2

Spam Mails SPF nedir?

0 Comments

SPF nedir?
Sender Policy Framework. SPF spam önleyici bir araç değildir. Mail sunuculara gelen e-postaların istenmeyen olup olmadığı konusunda sorgulama imkanı tanır.

Nasıl çalışır?
hotmail.com adresinden bir e-posta aldınız. Görünen adres hodo@hotmail.com fakat ip adresini hotmail’e sormak istediniz. dnstxt sorugusuyla SPF kayıtlarını görüntüleyebilirsiniz.Aldığınız yanıt size hotmail sunucularından mail göndermeye yetkili ip adreslerini verir. Almış olduğunuz e-posta adresindeki gönderen smtp ip adresi yetkiliyse e-posta posta kutusuna ulaştırılır. Problem varsa muhtemelen almış olduğunuz e-posta istenmeyen olarak işaretlenir.

MySQL MySQL tunning

0 Comments

http://mysqltuner.com/mysqltuner.pl

http://www.pythian.com/blogs/437/mysql-memory-usage-profile-script-2

Web Domain whois sorguları için kaynak bağlantılar

0 Comments

 $tld_list=array(
 "com"  => array(
     "server" => "whois.crsnic.net",
     "data"   => "no match",
    ),
 "net"   => array(
     "server" => "whois.crsnic.net",
     "data"   => "no match",
    ),
 "org"   => array(
     "server" => "whois.pir.org",
     "data"   => "not found"
    ),
 "info"  => array(
     "server" => "whois.afilias.net",
     "data" => "not found",
    ),
 "biz"  => array(
     "server" => "whois.nic.biz",
     "data" => "not found",
    ),
 "name"  => array(
     "server" => "whois.nic.name",
     "data" => "no match",
    ),
 "eu"   => array(
     "server" => "whois.eu",
     "data" => "free",
    ),
 "us"   => array(
     "server" => "whois.nic.us",
     "data" => "not found",
    ),
 "tv"   => array(
     "server" => "whois.nic.tv",
     "data" => "no match",
    ),
 "cc"   => array(
     "server" => "whois.nic.cc",
     "data" => "no match",
    ),
 "com.tr" => array(
     "server" => "whois.nic.tr",
     "data"   => "no match",
    ),
 /*
 "uk.com" => array(
     "server" => "whois.centralnic.com",
     "data" => "no match",
    ),
 "gb.com" => array(
     "server" => "whois.centralnic.com",
     "data" => "no match",
    ),
 "eu.com" => array(
     "server" => "whois.centralnic.com",
     "data" => "no match",
    ),
 "de.com" => array(
     "server" => "whois.centralnic.com",
     "data" => "no match",
    ),
 "web.com"=> array(
     "server" => "whois.centralnic.com",
     "data" => "no match",
    ),
 "uk.net" => array(
     "server" => "whois.centralnic.com",
     "data" => "no match",
    ),
 "co.uk"  => array(
     "server" => "whois.nic.uk",
     "data"   => "no match",
    ),
 "me.uk"  => array(
     "server" => "whois.nic.uk",
     "data" => "no match",
    ),
 "org.uk" => array(
     "server" => "whois.nic.uk",
     "data" => "no match",
    ),
 "com.tr" => array(
     "server" => "whois.nic.tr",
     "data"   => "no match",
    ),
 "gen.tr" => array(
     "server" => "whois.nic.tr",
     "data"   => "no match",
    ),
 "org.tr" => array(
     "server" => "whois.nic.tr",
     "data"   => "no match",
    ),
 "biz.tr" => array(
     "server" => "whois.nic.tr",
     "data"   => "no match",
    ),
 "info.tr"=> array(
     "server" => "whois.nic.tr",
     "data"   => "no match",
    ),
 "av.tr" => array(
     "server" => "whois.nic.tr",
     "data"   => "no match",
    ),
 "dr.tr" => array(
     "server" => "whois.nic.tr",
     "data"   => "no match",
    ),
 "pol.tr" => array(
     "server" => "whois.nic.tr",
     "data"   => "no match",
    ),
 "bel.tr" => array(
     "server" => "whois.nic.tr",
     "data"   => "no match",
    ),
 "mil.tr" => array(
     "server" => "whois.nic.tr",
     "data"   => "no match",
    ),
 "bbs.tr" => array(
     "server" => "whois.nic.tr",
     "data"   => "no match",
    ),
 "k12.tr" => array(
     "server" => "whois.nic.tr",
     "data"   => "no match",
    ),
 "edu.tr" => array(
     "server" => "whois.nic.tr",
     "data"   => "no match",
    ),
 "name.tr"=> array(
     "server" => "whois.nic.tr",
     "data"   => "no match",
    ),
 "net.tr" => array(
     "server" => "whois.nic.tr",
     "data"   => "no match",
    ),
 "gov.tr" => array(
     "server" => "whois.nic.tr",
     "data"   => "no match",
    ),
 "web.tr" => array(
     "server" => "whois.nic.tr",
     "data"   => "no match",
    ),
 "tel.tr" => array(
     "server" => "whois.nic.tr",
     "data"   => "no match",
    ),
 "tv.tr" => array(
     "server" => "whois.nic.tr",
     "data"   => "no match",
    ),
 */
 );

Web Actionscript 3.0`le gelen geturl farklılaşması

0 Comments

myitem.addEventListener(MouseEvent.CLICK, myButtonFunction);
function myButtonFunction(event: MouseEvent) {
var request:URLRequest = new URLRequest(“http://knyksl.com”);
navigateToURL(request);
}

Python Simple Socket application

0 Comments

3131 no`lu port dinleniyor. Telnet ile bağlanmaya çalıştığınız client a dönüş yapıyor.

import socket, traceback
# Sample Socket Application Ali Okan YÜKSEL okan@deu.edu.tr
host = '127.0.0.1'
port = 3131
 
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
s.bind((host, port))
s.listen(1)
 
while 1:
    try:
        clientsock, clientaddr = s.accept()
        print "Baglanan: ", clientsock.getpeername()
        while 1:
            data = clientsock.recv(4096)
            if not len(data):
                break
            clientsock.sendall(data)
        clientsock.close()
    except KeyboardInterrupt:
        raise
    except:
        traceback.print_exc()
        continue

Solaris Solaris Servis yönetimi

0 Comments

Servis yönetim işlemleri solaris altında svcadm komutu ile yürütülüyor. Örneğin;  iscitgt servisini yeniden başlatmak için aşağıdaki komut kullanılabilir.

# svcadm restart svc:/system/iscsitgt:default

Solaris Solaris Terminal editor ayarı için ortam değişkenleri tanımı

0 Comments

export TERM=vt100
export EDITOR=vi

Links Animated preloading images

0 Comments

Ajax destekli uygulamalarınızda kullanabileceğiniz animated gif ler, dilediğiniz gibi özelleştirebiliyorsunuz.

http://preloaders.net