ZUL W3C COMPLIANCE NUKE
                                                                                                  

7px
  Login / Daftar Ahli
::  Home •  Download  •  Your Account  •  Forum  •  E-Cards  •  Zul Map  •  AlQuran 
7px
7px
hdr Choose Language hdr
Select Your Language:

English Malaysian
Welcome to my website.
Your information

IP
For security purposes,
all activities are logged.
ftr spacer ftr
hdr Terjmhn- Translate hdr
ftr spacer ftr
hdr Susunan Menu hdr
home.ico Utama - Main

som_downloads.gif Interaktif - Interactive
kumpulan Buku Pelawat - Guestbook
kumpulan Maklumbalas - Feedback
kumpulan Akhbar
kumpulan Forum
kumpulan Mesej - Private Message
kumpulan Kirim Berita - Submit News
kumpulan Zul Chatroom
kumpulan Link To Us
kumpulan Pautan - Weblinks
kumpulan Kajiselidik - Surveys
dunia.ico Khidmat - What's Here
kumpulan Muat Turun - Download
kumpulan Peralatan PHPNuke
kumpulan Guistuff
kumpulan Webtoolsbaru
kumpulan Tips & Panduan

kumpulan Zul E-Kad
kumpulan Zul Ascii
kumpulan Zul Webcam
kumpulan Zul MAP
kumpulan Zul Traffic

kumpulan Zul Career
kumpulan Akhbar
kumpulan Buttons
ftr spacer ftr
hdr Ayat Quran hdr

Sesungguhnya Allah dan malaikat-malaikat-Nya berselawat untuk Nabi. Hai orang-orang yang beriman, berselawatlah kamu untuk Nabi dan ucapkanlah salam penghormatan kepadanya..

AL AHZAAB:56

LPZH

ftr spacer ftr
hdr Ruang Sembang hdr

Only registered users can shout. Please login or create an account.
ftr spacer ftr
hdr Tukaran Matawang hdr


Tukaran Wang Asing pada waktu semasa ialah:

Unit

Daripada

Kepada



ftr spacer ftr
hdr TV Internet hdr
Anda sedang menyaksikan:
Belum Ada Pilihan Lagi




Ke Laman TV Internet
© LPZH
ftr spacer ftr
hdr Radio Internet hdr
Pilih Stesyen Anda:
Terdapat 20 stesyen kesemuanya

002a


Buka di window lain

© ZUL W3C COMPLIANCE NUKE
ftr spacer ftr
hdr Random Headlines hdr

Contemporary
[ Contemporary ]

·TMNET SEKAT TORRENT
·PENIPUAN MELALUI YM
·LPZH DI AMBANG 2007
·Melayu Singapura Ditekan, Dipinggir dan Ditindas.
·Google Resah
·Hubaya Hubaya...
·Skrip LPZH ke Planet dan Hotscript
·Google Lancarkan Kalendar
·Melayari Lamanweb Lucah
ftr spacer ftr
hdr MP3 Player hdr


Klik > untuk memulakan MP3 dan >> menukar lagu

Buka Di Window Lain
ftr spacer ftr
hdr Pautan -Weblinks hdr
Jumlah Pautan: 118
Jumlah Kategori: 10
Jumlah Hits: 66896

Pautan Terkini
· 1: e-informasi.com
· 2: Lawak Jenaka Online
· 3: Ustaz Melaka.Net
· 4: Forum Komuniti Radio Amatur Kuala Krai
· 5: Pelajari Perisian Sumber Terbuka

Hits Tertinggi
· 1: Sek Keb Taman Kosas
· 2: TranungKite
· 3: Bukitbesi.net
· 4: PHP Malaysia
· 5: PKG Ampang

Pautan web

ftr spacer ftr
hdr LPZH WAP Access hdr
AKSES LPZH MELALUI WAP.

hpLPZH kini boleh diakses dari Telefon WAP di alamat
wap.zulkiplyharun.com

ftr spacer ftr

hdr Baru: HOWTO : MODIFYING PHPNUKE CAPTCHA hdrr
Dikirim pada Wednesday 10-01-2007 10:56 oleh Administrator
Web Designzulkiply menulis "It was a known fact that PHPNUKE is using a simple form of CAPTCHA (called security code), which will try to resist against automated actions - login bruteforce, account creation DoS, ect. PHNUKE with the standard 6-digit CAPTCHA can be easily attacked not only by human, but also by any malicious script exploiting the design weakness.

This is a guide for you to change your captcha from 6 digits to 8. Be sure to make backup of your original copies of the files. Something might gone wrong at anytime, so you can revert to your original files.

It is a good move to use not-a-standard-phpnuke-captcha. However for a newbie, it is not an easy task. Changing a few line of codings in a few file might drowned him several couple of hours in front of his computer.

This guide will show you in a very simple way how to change the PHPNUKE captcha from 6 to 8 digits.

1) Make sure that your $gfx_chk in the config.php is set to other than 0, normally it is 7 .if you want to use captcha everywhere on all login options.

2) Fire up your mainfile.php in your text editor such as notepad. Make a search with your text editor to find function loginbox() - it is around line 950 (it might differs from one to another depending on the version of your phpnuke and whether this file has been modified before or not).

Look at the original codings:

function loginbox() { global $user, $sitekey, $gfx_chk; mt_srand ((double)microtime()*1000000); $maxran = 1000000; $random_num = mt_rand(0, $maxran); $datekey = date("F j"); $rcode = hexdec(md5($_SERVER[''''HTTP_USER_AGENT''''] . $sitekey . $random_num . $datekey)); $code = substr($rcode, 2, 6);


Carefully, change the last line to
$code = substr($rcode, 2, 8);


Then scroll nearly to the bottom of the file

switch($gfx) { case "gfx": $datekey = date("F j"); $rcode = hexdec(md5($_SERVER[HTTP_USER_AGENT] . $sitekey . $random_num . $datekey)); $code = substr($rcode, 2, 6);


Yes change the last line too, so that it will become
$code = substr($rcode, 2, 8);


We have to give an extra 2 spaces in the box for users to write the Security Code. NOW go to function loginbox() line just now and find

$boxstuff .= ""._TYPESECCODE."
<input NAME="gfx_check" SIZE="7" MAXLENGTH="6">n";


change it to

$boxstuff .= ""._TYPESECCODE."
<input NAME="gfx_check" SIZE="9" MAXLENGTH="8">n";


Done for this file. Save this mainfile.php.

3) Now go to module/Your_Account and open the index.php found in the module in your Text editor. There are quite a number of lines to be changed here, however it is not a so difficult task.

All what you have to do is to change
$code = substr($rcode, 2, 6);
to
$code = substr($rcode, 2, 8);


There are 2 places need to be changed in this file (unless you are using a customized or a different set of Your Acount module) namely at

a) function confirmNewUser($username, $user_email, $user_password, $user_password2, $random_num, $gfx_check)
b) function finishNewUser($username, $user_email, $user_password, $random_num, $gfx_check)

Don''''t touch any line yet except changing
$code = substr($rcode, 2, 6);
to
$code = substr($rcode, 2, 8);


NOW, we have to give an extra 2 spaces in the box for users to write the Security Code.

They are located at 2 places
function main($user) and
function new_user()

find at both locations:
<input NAME="gfx_check" SIZE="7" MAXLENGTH="6">


change them to

<input NAME="gfx_check" SIZE="9" MAXLENGTH="8">
Save this index.php file. 4) If you are using a userinfo block or login block where a login is enabled from the block then open your block-Userinfo.php (or whatever the file name which you used for user login) in nuke/blocks.

<input NAME="gfx_check" SIZE="7" MAXLENGTH="6">
the same should be done as recent changes that is giving an extra spaces for the login box, so change it now to:
<input NAME="gfx_check" SIZE="9" MAXLENGTH="8">
Save your block-Userinfo.php
Almost done, but wait there is another file that is admin.php 5) Fire up your admin.php file in your text editor.
Do the same as the above that is changing

<input NAME="gfx_check" SIZE="7" MAXLENGTH="6">


to

<input NAME="gfx_check" SIZE="9" MAXLENGTH="8">


Save your admin.php

Thats all folks. While under no circu mtances that I guarantee this changes will resist against any automated actions 100%, however it can minimize them as you are now using a non-standard PHPNUKE captcha which is is using 6 digits. Yours is 8!

LATEST

If the captcha is difficult to read i.e. the number does not appear correctly at the center of the image that resulted in an unreadable last figure, then open up your mainfile.php, at case "gfx" find for this line:

ImageString ($image, 5, 12, 2, $code, $text_color);

alter it to

ImageString ($image, 5, 2, 2, $code, $text_color);

Thanks to altairwold for highlighting this. "
ftrl spacer ftrr""
 
hdr Related Link hdr
· More about Web Design
· News by Administrator


Most read story about Web Design:
Membina Lamanweb Yang Terbaik

ftr spacer ftr
hdr Please take a second and vote for this article: hdr
Average Score: 4.75
Undi: 4


Please take a second and vote for this article:

Luar Biasa
Sangat Bagus
Bagus
Biasa
Jelek

ftr spacer ftr
hdr Options hdr

 Printer Friendly Printer Friendly

ftr spacer ftr
hdr hdr
"HOWTO : MODIFYING PHPNUKE CAPTCHA" | Login/Daftar | 2 komen | Cari diskusi
Isi komentar adalah tanggung jawab pengirimnya.
hdr hdr hdr

hdr hdr
Anda tidak dibolehkan mengirim komentar, silakan daftar di sini
hdr hdr hdr

hdr hdr
Re: HOWTO : MODIFYING PHPNUKE CAPTCHA (Nilai: 1)
oleh Ibonic pada Saturday 06-06-2009 02:45
(Info Anggota | Kirim Pesan)

Excellent guide, I was able to install this on my ownsite, on the bottom of the guide there is part missing which i was able to figure out, but others may not, the Alter to part is missing

 

Cheers

 

LATEST

If the captcha is difficult to read i.e. the number does not appear correctly at the center of the image that resulted in an unreadable last figure, then open up your mainfile.php, at case "gfx" find for this line:

ImageString ($image, 5, 12, 2, $code, $text_color);

alter it to



hdr hdr hdr
Valid HTML 4.01 Transitional Valid CSS! Valid HTML WDG [Valid RSS] [Valid Atom 1.0]
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
All the rest © 2004-2006 ZULKIPLY HARUN.

Copyright © 2005 by Francisco Burzi.
This is free software, and you may redistribute it under the GPL.
PHP-Nuke comes with absolutely no warranty.

Top 100 PHPNUKE

Penjanaan halaman: 0.38 Saat
NukeMalaysia by Zulkiply Harun

Add to My Yahoo! Add to Google Add To My MSN Subscribe in NewsGator Online xml-rss
[Valid RSS] [Valid RSS] [sitemap] [mcafee]
§§ Theme Athena for PHPNUKE by LPZH