Saturday, September 12, 2015

debian jessie php problem

after I install php apache and stuff I start controlling. and one php page was not working but wordpress was working after a small search I found in jessie short_open_tag is actually off. so what you should need to do is find php.ini related and change it to short_open_tag = On if you are using fpm dont forget to restart your php fpm with this command /etc/init.d/php5-fpm restart or service php5-fpm restart

Thursday, September 10, 2015

wifi hack

I dont hack normally but since I moved to abroad and I needed internet connection. and I finish my data in my sim line. anyway it took around 4 hours.

step 1
airmon-ng start wlan0
airodump-ng mon0

wait a while around 5 or 10 minutes is enough then you will see a lot of adresses on screen. then choose the strong one and give that to this command

reaver -i mon0 -b 7C:D1:C3:CA:47:1A

thean this reaver starts brute forcing and found a password. since then I am using it. dont worry I will buy my adsl line soon :)

Saturday, September 05, 2015

weblogic 12 to 11 ejb connection problem

if you have wl11 ejb server and in that environment generated ejb client and deploy to wl12 it will give you this exception

java.lang.NoSuchMethodError: weblogic.rmi.internal.MethodDescriptor.(Ljava/lang/reflect/Method;Ljava/lang/Class;ZZZZII)V

so there are some solutions like this. but what I did was different. I deleted *******_WLStub.class from client jar and deployed the ear that way so at the end wl12 generates it on the fly just like jsp first compilation. and it works.

C# scan cs file and find variables values and names

using Microsoft . CodeAnalysis ; using Microsoft . CodeAnalysis . CSharp ; using Microsoft . CodeAnalysis . CSharp . Syntax ; using Xunit . ...