cmd admin olarak açılır ve aşağıdaki komut çalıştırılı
SLMGR -REARM
Thursday, June 26, 2014
Tuesday, June 24, 2014
weblogic şifrelerin decrypt edilmesi
bazen yönetilen domainin şifreleri kaybolur silinir. bu tip durumlarda weblogicin içindeki dosyalardan bu şifre toplanabilir.
import weblogic.security.internal.SerializedSystemIni;
import weblogic.security.internal.encryption.ClearOrEncryptedService;
es=weblogic.security.internal.SerializedSystemIni.getEncryptionService("/data/usr/domains/DOMAIN/security/");
ces=weblogic.security.internal.encryption.ClearOrEncryptedService(es);
print ces.decrypt("{AES}6Xkvv0+md8WJiAg1jv4xyB9ElyRzjyAbIweTsA674oE=");
import weblogic.security.internal.SerializedSystemIni;
import weblogic.security.internal.encryption.ClearOrEncryptedService;
es=weblogic.security.internal.SerializedSystemIni.getEncryptionService("/data/usr/domains/DOMAIN/security/");
ces=weblogic.security.internal.encryption.ClearOrEncryptedService(es);
print ces.decrypt("{AES}6Xkvv0+md8WJiAg1jv4xyB9ElyRzjyAbIweTsA674oE=");
yukardaki encrypted şifreyi jdbc için şurdan alabilirsiniz
/data/usr/domains/DOMAIN/config/jdbc
Thursday, June 19, 2014
varnish apache x-forwarded-for
apache yi varnish arkasında çalıştırıyorsanız. apache nin access logunda falan hep 127.0.0.1 veya makinenin diğer lokal ipleri görünür. buda normalde çok ölümcül bir durum değildir ama htaccess den ip limiti koydunuz ise varnishden gelen istekler için apache forbidden vermeye başlar.
bu durumu engellemek için varnish den x-forwarded-for açılmalıdır. ve apache tarafındada apache2.2 için mod_rpaf veya apache2.4 için mod_remoteip kullanılmalıdır.
örndek debian kurulumu
apt-get install libapache2-mod-rpaf
a2enmod rpaf
Subscribe to:
Comments (Atom)
speed test glasgow
at first test upload was 20mbps, something broke it now it gives 0.07 but I am happy with 129 download and price is 16 £
-
I know its been a long time I have not write anything. because I have not learn or done any new things. I dont want to write regular meaning...
-
After iphone 16 I wanted to test an android and looks like sony xperia 10 VI is nice, which is 6.1 inches, but it was narrow and longer than...
-
in .net 2 if you want to show your application in system tray . you need to add notify icon to your application and set the "ShowInTas...