Friday, October 31, 2008

PS source code

http://ubuntuforums.org/showthread.php?t=851927
http://procps.sourceforge.net/

Thursday, October 30, 2008

Disable firefox address bar

stop ffx add bar 1
js code 1

Wednesday, October 22, 2008

Steps to build OpenVZ

mkdir ovz-kernel
cd ovz-kernel
wget ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2
wget http://download.openvz.org/kernel/branches/rhel5-2.6.18/028stab027.1/patches/patch-8.el5.028stab027.1-combined.gz
wget http://download.openvz.org/kernel/branches/rhel5-2.6.18/028stab027.1/configs/kernel-2.6.18-i686.config.ovz
wget http://download.openvz.org/~vass/diff-ubc-mm-null-pointer-for-kthread-20070406 # this patch will be not necessary soon.
tar xjf linux-2.6.18.tar.bz2
zcat patch-8.el5.028stab027.1-combined.gz patch -p1 -d linux-2.6.18
patch -p1 -d linux-2.6.18 < diff-ubc-mm-null-pointer-for-kthread-20070406
mv linux-2.6.18 linux-2.6.18-8.el5-028test027
vim linux-2.6.18-8.el5-028test027/Makefile # here we add right extraversion: -8.el5-028test027
cp linux-2.6.19 linux-2.6.18/.config
cd linux-2.6.18-8.el5-028test027
make oldconfig # pressing enter here
vim .config # switching off some config options
make-kpkg --revision=.1 kernel_image
cd ..
cd ..


Reference:
http://wiki.openvz.org/Creating_OpenVZ_LiveCD

Saturday, October 18, 2008

Perl 版本或者是FEDORA 9的问题

我发现我的一个PERL SCRIPT 在UBUNTU 8 和 CENTOS 上都可以。他们的PERL 版本是5.8.8
但是同样的SCRIPT 放到了FEDORA 9上就会出现不同的输出。FEDORA 9的PERL 版本是 5.10.0
不知道是PERL的问题还是FEDOR 9的问题。费了我好久来DEBUG, 真是郁闷。

Friday, October 10, 2008

save email attachment automatically on Linux

http://www.howtoforge.com/forums/showthread.php?t=15778

Install VMware server 1.0.7 On Fedora 9 x86_64 --FAILED

1. download vmware server tar file from vmware.com/download
2. Install kernel source: "yum install kernel-devel"
3. yum install libXtst-1.0.3-3.fc9.i386
4. yum install libX11.i386 libXext.i386 libXi.i386 zlib.i386 libXtst.i386 \
libICE.i386 libSM.i386 libXrender.i386 libXt.i386 \
xinetd kernel-devel pam.i386 pam-devel.i386 gtk2.i386
5. yum install 'perl-ExtUtils-*'
6. download patch and run it.
patch: http://www.it-psycho.de/downloads/vmware-any-any-update117-itpsycho.tar.bz2
untar and run it (need su )

Results:
1) On machine 1, installed OK, but cannot power on VM. Got an error in the *.log file in VM directory.
2) On machine 2, installed ok. But powering on a VM REBOOT the machine.


References:
1. http://fedorasolved.org/server-solutions/vmserver-install
2. http://fedoraforum.org/forum/showthread.php?t=193198
3. http://www.howtoforge.com/forums/showthread.php?t=25647

Friday, October 3, 2008

Exploits

http://www.cisrt.org/enblog/index.php
milw0rm.com (exploits)
metasploit.com

New sysenter/syscall

http://manugarg.googlepages.com/systemcallinlinux2_6.html

Setup your own LXR

Windows:
http://www.iol.ie/~locka/mozilla/lxr.htm
Linux:
http://tread.wordpress.com/2007/08/25/howto-setup-lxr-on-linux-ubuntu-feisty/

provos's blog

http://monkey.org/~provos
http://www.spybye.org/ (contain typical exploit)
http://www.provos.org/

Market share about browsers, OS and others

Market share about browsers
http://marketshare.hitslink.com/report.aspx?qprid=0&qptimeframe=Q&qpsp=38