Xanda's Blog !~!

Installing VMWare Server 1.0.8 on Ubuntu 8.04.1 & 8.0.4.2 (Hardy)

Jan
21

[updated on 12/6/2009]

Need to rush, here is my short update

1) Install the dependencies and prepare environment

sudo apt-get install ia32-libs libc6-i386 build-essential xinetd linux-headers-`uname -r`
sudo mkdir /etc/vmware && sudo mkdir /etc/vmware/ssl && sudo touch /etc/vmware/ssl/rui.key && sudo touch /etc/vmware/ssl/rui.crt

2) Download VMware Server 1.0.8

cd ~/Desktop
wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.8-126538.tar.gz

3) Extract the downloaded (tar.gz) file

tar xvfz VMware-server-*.tar.gz
cd vmware-server-distrib

4) Get the serial number

http://register.vmware.com/content/registration.html

5) Run the installer script

sudo ./vmware-install.pl

6) What ever prompted by the installer, just simply press Enter. Owh ya, once the installer request for serial number, enter the serial number that you get from step 4.

7) Something wrong with the installed libgcc, so remove it and symlink the libgcc back

sudo mv /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1-vmware
sudo ln -s /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1

8 ) Now run your VMWare Server. Taddaaa!~

9) Lets clean things up

rm -f VMware-server*
rm -dfr vmware-server-distrib/

Thanks

**[updated on 3rd February 2009]**

If you found this error (OR something similar) :-

The correct version of one or more libraries needed to run VMware Server may be
missing.  This is the output of ldd /usr/bin/vmware:
        linux-gate.so.1 =>  (0xffffe000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7f5a000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7f57000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f45000)
        libX11.so.6 => not found
        libXtst.so.6 => not found
        libXext.so.6 => not found
        libXt.so.6 => not found
        libICE.so.6 => not found
        libSM.so.6 => not found
        libXrender.so.1 => not found
        libz.so.1 => /usr/lib/libz.so.1 (0xb7f2f000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e00000)
        /lib/ld-linux.so.2 (0xb7f83000)
 
This program cannot tell for sure, but you may need to upgrade libc5 to glibc
before you can run VMware Server.

Simply install the following package

sudo apt-get install libx11-6 libxtst6 libxext6 libsm6 libxrender1 libxt6

Sorry to Say, But It is a Lame Exploit

Jan
18

As posted in SEBUG Security DB, puret_t released an exploit on WordPress 2.7.0 admin remote code execution vulnerability. I plan to discuss the exploit and the vulnerability in a knowledge sharing session, so I spent a few minutes to study them.

Sorry to puret_t because I have to say that it is a lame exploit. The reasons are :-

  1. You need to have admin user name and password to execute the exploit.
  2. The exploit will upload a webshell, but since you have admin user name and password, why dont you just use the upload function in wordpress?
  3. The webshell itself contain error :-
    <?php eval($_POST[c]); ?>

    The correct one should be :-

    <?php eval($_POST['c']); ?>

Get RM 50 Hosting Discount From DataKL : CNY

Jan
18

Click the banner below to buy

Dumbass

Jan
15

Here are some tips on how to be a dumbass :-

  1. Dumbasses do have access to the internet, but never use Google or other search engine to look for the solution.
  2. Dumbasses do have phone / organizer / diary / planner, but only draw stupid picture and save things-to-buy list in it.

For more tips, please get yourself the book.

FAQ

Q: Where can I get the book?

A: Please refer to tips #1

Hahahaha…

OIC CERT Seminar 2009

Jan
14

  1. Attended OIC CERT Seminar 2009
  2. Meet a lot of people (in related field of course)
  3. Learned few new things
  4. Eat for free
  5. Again eat for free
  6. Tomorrow, gonna assist my colleague, , in conducting Honeynet Hands-on Training

P/S #1 : Rumah sebelah rumah aku kami buat Projek Tanaman Lalang Madu dengan usaha sama MARDI. Sebab tu lalang kat umah dia sampai paras pinggang dah.. umah aku kami punye dah clear… kami aku kami buat manual lagi tu..

P/S #2 : We have enough facilities, technologies. ‘Abuse‘ it to expend your knowledge, the way you think. Think outside the box

P/S #3 : Dapat project baru (project kerja.. bukan side project) Thanks to Bro

P/S #4 : Kalau harta sendiri boleh la declare & buat macam harta sendiri, tapi kalau kongsi, buat cara kongsi

P/S #5 : Anjing takut dengan bayang-bayang sendiri.. hahahha..

P/S #6 : Aku nak ushar rumah.. Area Nilai cun ke huh?

P/S #7 : Tengah compile Ubuntu ni.. ya.. Ubuntu.. bukan Gentoo.. nanti aku buat howto