MO KEREN GAUL DUNK BELAJAR DAN BELAJAR

Monday, June 9, 2008

.:: Auto Login ::.

My hack is highly influenced by GIJOE auto-login hack. This does exactly same thing but my approach is bit refined (I think so, feel free to disagree).

Followings are major changes.

1. In place of making a localized code change, I also changed "kernel/member.php" and added two new methods loginUserAuto (auto-login someone using saved cookies) and loginUserEmail (login someone using email as username).

2. I am using value stored in actkey column for auto-login feature. I too am totally against storing the MD5 of real password in user cookies (like the author of original auto-login and several other people). So here is perhaps the safer work-around. MD5 of actkey is sent to user's browser as cookies and the same is matched for auto-login. I found this column useless after user activation - so why don't we overload it.

Minor differences:

1. I had to change "kernel/user.php" also as it was not persisting actkey column for any existing user.

2. _MB_SYSTEM_REMEMBERME is not used. Rather global variable _REMEMBERME is used to render 'system_userform.html' and 'system_block_login.html' both. I didn't see any reason of duplicating variable for block and main page.

3. Using cookie name 'autologin_key' in place of 'autologin_pass'

4. Using xoops's standard function checkEmail() to test if email was passed as userId.

Looking forward to see feedback from you people :pint:

------------------------------------------------------

Q. How to install hack?

A. You should be knowing what you are doing This patch is ok for version 2.0.9.x only and you just need to overwrite files with the supplied ones. (For older versions, search for the word "s raj" in hacked files and merge the changes manually).

After overwrite, don't forget to update system module

Done, Enjoy...

------------------------------------------------------

26 comments:

Anonymous said...

makin seep ajah icha ini ruko
salam

Anonymous said...

Interesting to know.

Anonymous said...

buy facebook likes
facebook likes

http://entrepreneurship.unica-network.eu/content/peter-drucker-society-europe-launches-essay-contest http://weeklyseven.com/news/2011/january/20/george-knapp?quicktabs_3=0
1000 facebook likes buy facebook likes get facebook likes
After my computer was infected with verious viruses, I removed the antivirus and installed a new antivirus and scanned my laptop. After this scanning, the laptop hybernate option does not work. Some alert comes and says that the computer doesn't have enough ( ) to load hybernate option. So if any one of u could tell me the reason and the solution of this problem, i will be pleasured.

buy facebook likes get facebook likes [url=http://1000fbfans.info]buy facebook likes [/url] buy facebook likes

Anonymous said...

cheap diazepam online buy diazepam in india - long does diazepam withdrawal symptoms last

Anonymous said...

order ambien online overnight ambien withdrawal vision - ambien picture of pill

Anonymous said...

xanax online buy xanax kuala lumpur - is generic xanax just as good

Anonymous said...

diazepam for dogs koop diazepam online - buy diazepam online+mastercard

Anonymous said...

buy zolpidem zolpidem high blood pressure - zolpidem side effects memory

Anonymous said...

can you buy valium online valium side effects erectile dysfunction - order valium ireland

Anonymous said...

lorazepam 1mg ativan to quit smoking - what is lorazepam 1mg tablets for

Anonymous said...

diazepam diazepam buy online no prescription - lowest dosage diazepam

Anonymous said...

ativan drug ativan max dose - ativan dosage and side effects

Anonymous said...

cheap xanax no prescription drug testing xanax how long - overdose on xanax and alcohol

Anonymous said...

diazepam overdose buy diazepam online with mastercard - high off diazepam

Anonymous said...

ambien online without rx ambien side effects with alcohol - ambien cheap

Anonymous said...

buy carisoprodol online soma scheduled drug ca - qualitest generic soma

Anonymous said...

buy ambien online zolpidem 10 mg erowid - order generic ambien online

Anonymous said...

brand valium generic for valium - valium 10mg mano

Anonymous said...

ambien for sale online ambien side effects sleep driving - ok take 2 10 mg ambien

Anonymous said...

buy somas online drug interactions tramadol and soma - carisoprodol no prescription needed

Anonymous said...

buy soma online soma intimates promo code 2012 - there generic soma

Anonymous said...

buy cheap soma carisoprodol drug test - carisoprodol 350 mg uses

Anonymous said...

advitleva cheap premarin online - cheap generic premarin http://www.premarindiscount.com/

Anonymous said...

rvb purchase neurontin - neurontin pills http://www.painreliefpharmonline.net/neurontin.html, [url=http://www.painreliefpharmonline.net/neurontin.html]gabapentin sale [/url]

Anonymous said...

Hi, cheap zolpidem no prescription - ambien price http://www.kpsola.com/#purchase-ambien, [url=http://www.kpsola.com/#cheap-zolpidem]purchase ambien no prescription [/url]

Anonymous said...

11, [url=http://www.costofklonopin.com/]klonopin for sale online [/url] - clonazepam without prescription - klonopin without rx http://www.costofklonopin.com/.