new picture gallery

Rants1 Comment

uh…just now, my mom and i just whacked this damn rat that trapped in our bathroom. these rat deserved it. they have wreck havoc in our house. thankfully my mom didn’t crushed the rat’s head or cleaning it out would be a bitch. eww…with brains splattered around the corpse. no way. picking the rat and putting it into a plastic bag were not a problem though, although it feels a little soft. washed my hand with hot boiling water after that but not before soaking my hands with detol.

hey hey hey…i have just dumped my old picture gallery. when first editing, modifying and installing it, i thought it was great and funky because the picture gallery uses sql for data entry, imagemagick for auto-generate thumbnail and have a picture comment system. but after a while, i began to noticed that this picture gallery script is full of holes and vulnerability. it seems that people can gain access to my secure shell using that picture gallery php script. according to my master bruteforce, my script contains:

@exec(“chmod 755 “”.$root_dir.$dir.$picuploadname_name.”"”);

which is not good. my master bruteforce even warn me about some of my php.ini settings in my webserver that suppose to be off. so i edited the configuration and disable some of the functions in php that could create a vulnerability such as allow_url_fopen, disable_functions and register_globals.

but, with all the functions turned off, my option of picture gallery php script is limited. most of them require “register_globals” to be turned on. searching and searching, i discover this great script that bitchin’ great, uses gd (oklah, but imagemagick is better) and use this scripting that dosen’t require me to turn on the register_globals:

if(!isset($_GET['page']))

i have already configure and modify the picture gallery script and it is working in full swing but i have removed the picture vote and commenting system. i think it’s unnecessary. so you can visit my picture gallery here. enjoy!


yeah

RantsNo Comments

it’s over!, finally. what is it? my marriage? shit, i’m not married yet. it’s my final exam. all the pain and agony are gone, for now but they will be back again next semester and i’ll always here waiting for them to suck dry part of my life. now that i’m on holiday, i’ve been thinking what will i do with my free time. a lot of free time. my actual plans are, i want to just hang out and get wasted but not retarted (ha ha) but that probably could not happen since i got tons of project waiting for me. maybe after i finished it all and get the upah, i can spare some money to go vacation with mel. we were thinking of going to pulau tioman. or maybe camping, making road trips or something fun and educational. ha ha. ok lah, got ‘some’ sleeping to do. later…


car wash

Rants1 Comment

hi. uh…i’m busy. so, just a quick updates on my life. my final has started. i’m very busy right now. today i’m a bit emotional. tons of problems (problem lagi aku), and my sister who is borrowing the car, returned it dirty and the car makes some funny noise. so, i send the car to the car wash. vacuum, polish, and all. while waiting for my car, this dude come to me, probably trying to start a conversation, ask me “hantar cuci kereta ke dik?” i answer the man but i don’t know if his question are wrong but i’m at a car wash, what possibly else can i do there? man, i want to kick his ass…


nevermind

RantsNo Comments

hurrah, my final exam starts next week. wish me luck ya. during my study week, i do nothing productive. just hanging out at my house, studying (omg!!) and doing some house chores and spray paint the dustbin…hashim have been asking me to see the cobra 10 rugby match tomorrow. there will be a women touch rugby featuring the miss malaysia. looking forward to see gorgeous women running at the rugby field and some of the body parts wiggling up and down. oh…lovely. i think i can’t miss that. erm…finally i have decided to cut off my long hair. i shaved my hair bald actually. simpan rambut panjang-panjang. tak tahan rasanya. every morning, i had to clean the hair good and dry them. not to forget the shampoo and conditioner. but it pays (sort off)…when a girl telling me, she was jealous of my hair. muahahahaha…

many people asked me why bald? my answer was simple, i just want to try. plus, with me being psychotic and angry all the time can cool off my head faster…he he. nothing wrong in asking a question but if it was asked many times in a day, i get very annoyed. so, yesterday, there was this annoying girl but cute and lawa nonetheless kept bugging me, asking why bald so i answer to her something like this: “i cut off my hair because i have many problems. i also cut my hair because it gives me inspiration, new perspective and new ideas. if you don’t like me being bald and all, you can kiss my ass”

i love a good drama. great speech huh?


hidup lagi ke?

Rants3 Comments

yerp, dah lama tak post. maaf kepada semua (ada orang baca ke?). kebelakangan ni, sibuk giler lah (reason ni lagi). minggu lepas aku sibuk duk buat final project. 2 ketul lak tu. satu buat sistem visual basic, lagi satu tu buat research untuk network. hantar dan present pada hari yang sama. visual basic aku buat program management database pelajar dan markah, best tuh…hehe. macam biasa lah, disebabkan nak jaga ego, assignment tu semua kena buat yang power gile. group empat orang, tapi yang duk buatnya dua orang je. aku ngan mel. banyak gak duit aku abis. tension gak le, tapi apa bleh buat…sabar je lah.

takde cerita menarik sebenarnya aku nak story. ni pun sebab aku banyak duk kat rumah. nak speaking dalam blog ni pun rasa malas lak. nak kena translate bahasa lagi, eheh. malam merdeka aritu member-member banyak gak ajak keluar. tapi aku pilih nak duduk kat rumah aje. cadang nak tido awal, tapi member aku yang sorang ni telefon beriye-iye mintak teman. katanya baru clash dengan awek. dah lama kapel katanya. nak kata bengong karang, marah pulak member. so, aku pun pergi le teman dia. nak pastikan budak tu tak buat bende-bende yang tak senonoh.

itu le dia, nak berkapel muda-muda ni tapi tak reti nak maintain. bila clash, habis terpalit dengan kawan-kawan lain. kat tempat aku belajar tuh ada la dua orang member aku ni kapel. kawan-kawan classmet. diorang kapel tahan 3 bulan je aku rasa. nak sangat declare awal-awal, ambik ko terus clash. disebabkan aku rapat dengan budak lelaki tuh, ex-awek dia terus tak tegur aku. sampai member-member pompuan dia pun tak bertegur sapa dengan aku. buat-buat tak kenal la gamaknya. ada ka sampai gitu sekali, sebab clash aje terus putus member? sedih gak aku, tapi nak buat cemana. mungkin bebudak ni muda-muda lagi, mungkin tak berapa faham erti dunia sebenar. lantak le korang, malas lah nak ambik pot.

final aku dah nak dekat. sekarang ni pun sibuk duk stadi. nak score le katakan…ha ha ha. rimas plak aku kekadang dengan rambut panjang ni. simpan ni pun sebab nak merasa rambut panjang. botak dah rasa dah. agak-agak bila dah tension sangat, potong la kot. tiba-tiba aku tengok letrik kat rumah aku ni cam ada masalah. power tak stabil. untuk mengelakkan pc ni dari rosak, baik aku shutdown dulu. aku bercerita lagi lain hari…



Some rights reserved © 1997-2010 azfar.my | 21 queries | 1.799 seconds | terms of use