Posts

Bug kernel linux (2009)

Ditemukan bug di kernel linux yang cukup serius, penyebabnya NULL pointer. Kalau di-exploit bisa sampai dapet root... osram........ The system would do anything for you.. Hampir semua kernel dari versi 2.4 sampai 2.6 terkena bug ini: - Linux 2.4, from 2.4.4 up to and including 2.4.37.4 - Linux 2.6, from 2.6.0 up to and including 2.6.30.4 exploit testing: $ ./script [+] MAPPED ZERO PAGE! [+] Resolved selinux_enforcing to 0xffffffff80bb4348 [+] Resolved selinux_enabled to 0xffffffff80bb4344 [+] Resolved security_ops to 0xffffffff80bb2ae0 [+] Resolved default_security_ops to 0xffffffff808e55a0 [+] Resolved sel_read_enforce to 0xffffffff803e16e0 [+] Resolved audit_enabled to 0xffffffff80ae2ec4 [+] Resolved commit_creds to 0xffffffff8026d3f0 [+] Resolved prepare_kernel_cred to 0xffffffff8026d040 [+] got ring0! [+] detected 2.6 style 4k stacks sh: mplayer: not found [+] Disabled security of : nothing, what an insecure machine! [+] Got root! # # id uid=0(root) gid=0(root) # Ori...

Cara buat SSL certificate

$ openssl req -new -newkey rsa:1024 -days 365 -nodes -x509 -keyout www.example.com.pem -out www.example.com.pem Generating a 1024 bit RSA private key ............++++++ ...........++++++ writing new private key to 'www.example.com.pem' ----- You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. ----- Country Name (2 letter code) [ID]: State or Province Name (full name) [Indonesia]: Locality Name (eg, city) [Jakarta]: Organization Name (eg, company) [Nama Perusahaan, PT.]: Organizational Unit Name (eg, section) []:2009 (isi taun sekarang) Common Name (eg, your name or your server's hostname) []:www.namaserverlo.com Email Address []:email@ namaserverlo.com Terus tinggal masukin di httpd.conf: ...

Cara konversi movie untuk PSP

Sebelum bisa jalanin movie di PSP.. harus dikonversi dulu. Ini batasannya: Video Codec: xvid, divx, H.264 Audio codec: FAAC File Format: mp4 Bit rate harus Resolution: 320x240, 640x480 Cara konversinya bisa menggunakan tool ffmpeg. Kalau mau hasilnya bagus.. command line-nya panjang banget. Biar gampang pake script ini aja: ################################# script start: konvertpsp INPUT="$*" # harus .mp4 OUTPUT="out.mp4" # 2-31 QUALITY=21 ################################# if [ "$INPUT" = "" ]; then echo "Please specify input file" exit fi opt1=" -vcodec libx264 -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -level 21 -refs 2" opt2="-cqp $QUALITY" opt3="-ab 64k" opt4="-s qvga" echo -- -- ffmpeg -i "$INPUT" $opt1 $opt2 $opt3 $opt4 -threads 3 $O...

How fast your Linux boot?

Image
Currently it takes > 35 seconds too boot, see this chart: See if I can improve this.. in my next post. You can also make this kind of chart by installing: sudo apt-get install bootchart For reference: http://aldeby.org/blog/index.php/speed-up-your-ubuntu-linux-boot.html

JKSE 2y

Image
just a note

Best Old Games

Ini game-game lama yang menurut gw paling keren gameplay-nya ... walaupun grafiknya masih cupu Starcraft 2 Caesar 3 Transport Tycoon Deluxe - sekarang modnya openttd Warcraft 3 - game sepanjang jaman.. sekarang modnya Dota (Defense of the Ancient) Resident Evil - versi pertamanya Prince of Persia - yang versi 2D mau nambahin....?

Chatting lokal (LAN)

Image
Ok..... gimana caranya chatting lokal antara teman sekantor? tapi bukan menggunakan Yahoo messenger, Jabber, MSN, dll... chatting tanpa menggunakan Server? Dengan menggunakan pidgin kita bisa chatting di LAN tanpa menggunakan server. Protokol yang digunakan adalah Bonjour. Tambahkan account di masing-masing komputer: Ubah First Name dan Last Name: Setelah itu login dan semua user di LAN otomatis akan muncul di Buddy List: - Bonjour menggunakan backend Avahi (zeroconf) ... kompatibel di Windows, OSX, Linux.. ini yang bikin keren ^^ - all screenshot taken from Ubuntu Intrepid Beta

Lenovo g410 on Hardy

Image
Ini pertama kali gw nginstal ubuntu di notbuk.. Ubuntu Hardy itu simple tapi high quality ^^ Audio : langsung jalan pake ALSA Card reader : langsung jalan gak perlu driver Networking: Ethernet : langsung jalan Networking: Wireless sudo apt-get install b43-fwcutter dah jalan.. tapi blom pernah coba konek Communications: Modem pake slmodem bawaan ubuntu nggak jalan, jadi download dari sini: http://linmodems.technion.ac.il/packages/smartlink/ download yg ini: SLMODEMD.gcc4.2.tar.gz extract, pindahin slmodemd ke /usr/sbin tambahin di /etc/rc.local: /usr/sbin/slmodemd -a modem:0 & wvdial.conf buat telkomnet instan: [Dialer i] Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Init3 = AT+MS=34 Phone = 080989999 Username = telkomnet@instan Password = telkom Modem = /dev/modem VGA Controller jalanin: sudo displayconfig-gtk Screen 1 -> Model: pilih LCD 1680x1050 (centangin wide screen) Graphics Card -> Driver: pilih intel Klik OK trus relogin Processor Biar bisa pilih...

distro timeline

Image
Ikutan juga posting ``distro timeline'' . Distro linux apa yang umurnya paling lama?? Wah baru tau... Opensuse ternyata turunan Slackware.

My phone can be telneted

cool...... my phone can be telneted... not emulated, but real operating system This how i did it: 1. First you have to reflash your phone using PoL (Power of Linux) enabled firmware, use monster pack 2. Enable USB-Lan .... go to Menu -> PoL -> USB-Lan Setup 3. Activate FTP & Telnet using same menu 4. setup IP Address for new detected device: 192.168.1.16 / 255.255.255.0 or: # /sbin/ifconfig usb0 192.168.16.1 5. try to ping your phone..... yup you can ping your phone # ping 192.168.16.2 PING 192.168.16.2 (192.168.16.2) 56(84) bytes of data. 64 bytes from 192.168.16.2: icmp_seq=1 ttl=64 time=5.24 ms 64 bytes from 192.168.16.2: icmp_seq=2 ttl=64 time=1.03 ms 64 bytes from 192.168.16.2: icmp_seq=3 ttl=64 time=1.03 ms --- 192.168.16.2 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2007ms rtt min/avg/max/mdev = 1.034/2.439/5.248/1.986 ms 6. Now the fun begin: # telnet 192.168.16.2 Trying 192.168.16.2... Connected to 192.168.16.2. Escape character is ...

UNSUB BANJIR

Untuk berlangganan ketik SUB BANJIR kirim sms ke 2222 Untuk berhenti berlangganan ketik UNSUB BANJIR kirim sms ke 2222 Tarif per SMSnya Rp 2000,- (belum termasuk pajak) Kalau berlangganan.. rumah kamu bakal kebanjiran setahun sekali.

Android will kill palm os

With google announcement about Android: Bye palm os, it once perform but now just dreaming Bye iphone, no 3rd party application ? Bye symbian, Bye blackberry, this is just my prediction that next year you will see *many* phones based on linux. Feel free to comment update: Android is Operating System, SDK, user interface, and application on top this will probably also kill J2ME -posted from razr2 v8

Quran via YM

Kalau mau tau terjemah ayat-ayat Quran via YM, add ini di buddy: quran.noble (quran titik noble) nah terus ajak ngomong deh, ketik ini untuk pertama kali: Quran SetTranslation ID nanti dia jawab: Setting Default Translation as Indonesian - Just type Quran Surah-No Ayah-No and you will see Quran in Indonesian trus baru kita bisa cari tau ayat2, misalnya ketik: quran 1:1-7 nanti dia jawab: (10:46:45 AM) quran.noble: 1. Dengan menyebut nama Allah Yang Maha Pemurah lagi Maha Penyayang. (10:46:45 AM) quran.noble: 2. Segala puji bagi Allah , Tuhan semesta alam, (10:46:46 AM) quran.noble: 3. Maha Pemurah lagi Maha Penyayang. (10:46:48 AM) quran.noble: 4. Yang menguasai hari pembalasan. (10:46:50 AM) quran.noble: 5. Hanya Engkaulah yang kami sembah dan hanya kepada Engkaulah kami mohon pertolongan. (10:46:52 AM) quran.noble: 6. Tunjukilah kami jalan yang lurus, (10:46:53 AM) quran.noble: 7. (yaitu) jalan orang-orang yang telah Engkau anugerahkan nikmat kepada mereka; buka...

WTK 2.5.1 requires GLIBC_2.4 hack

been playing WTK but WTK 2.5.1 requires GLIBC_2.4 and I'm using opensuse 10.0 which has lower glibc :( this is the hack found in sun forum: install wtk as usual cd wtk (where you install it) grep -ral GLIBC_2.4 bin | xargs perl -pe 's/GLIBC_2.4/GLIBC_2.2/g; s/\cTii\cM/\cRii\cM/g' -i~ echo 'void __stack_chk_fail(void){void abort(); abort();}' | cc -x c - -shared -o bin/kludge.so LD_PRELOAD=`pwd`/bin/kludge.so ./bin/ktoolbar

Updated: Tips macet tol jembatan tiga

Image
Tips ini utk yang naik tol dari tanjung priok ke arah bandara atau grogol. Lumayan bisa hemat waktu beberapa menit. Jakarta - Efek dari kebakaran di Tol Jembatan Tiga yang terjadi 4 hari lalu berdampak hingga hari ini. Kemacetan pun melanda akibat penyempitan ruas jalan tol. Akibatnya terjadi antrean kendaraan dari arah Tanjung Priok ke arah Jembatan Tiga hingga 5 kilometer. "Padat kurang lebih 5 kilometer karena penyempitan lajur," ujar operator Tol Cawang-Cengkareng, Yulius, kepada detikcom , pukul 12.05 WIB, Jumat (10/8/2007). Caranya? ambil jalur paling kiri terus. Jangan ambil jalur kiri di pintu keluar tol Ancol . Tapi mulai pintu keluar Sunda Kelapa. Maju terus, sampai ada penyempitan jalan pindah 1 jalur ke kanan. Maju lagi sampai penyempitan lagi, pindah ke jalur paling kanan. Gini nih ilustrasinya (niat bgt gw ya ^^):

Insyaallah Internet Besok Dateng

So happy, I could scream! Akhirnya internet dateng juga. Soalnya dah ditunggu-tunggu lumayan lama. http://superbiji.blogspot.com/2007/04/my-upcoming-gear.html Untuk internet yang ini, gw masih ngutang, atau bahasa kerennya leasing. Ini status ym temen2 gw: akhirnya.. akhirnya.. akhirnya.. internet masuk desa.. makan2 dong av*** come to papa asiik ada yg pulang bawa internet warna aqua metallic aqua metallic Makasih ya semua.... makasih aja cukup kan? ^^

Cracklib

Some notes on Linux password setting: 1 Option pam_cracklib dan maksudnya: minlen = panjang minimal password lcredit = nilai untuk huruf kecil ucredit = nilai untuk huruf gede dcredit = nilai untuk angka ocredit = nilai untuk karakter aneh isi -1 untuk credit jika password harus mengandung karakter tersebut 2 Untuk nge-lock system account kalau password salah dimasukkan N kali, bisa pake: pam_tally

My Upcoming Gear

Guess what? Whoooooooooops.. still a secret ^^ some clue: silver metallic, champagne metallic, red mica, dark blue mica, black mica, aqua metallic, light green metallic

Local Installation of PEAR

Suppose you want to create local installation of PEAR, do this: # /usr/local/php/bin/pear config-create `pwd` pearrc # ls CVS incubator khad pearrc Zend # /usr/local/php/bin/pear -c pearrc install -a PEAR # ls CVS incubator khad pear pearrc Zend # ./pear/pear -c pearrc install -a Net_IMAP # ls pear cache data docs pear peardev pecl php tests # ls pear/php Archive Console Net OS PEAR pearcmd.php PEAR.php peclcmd.php Structures System.php XML # ./pear/pear -c pearrc list Installed packages, channel pear.php.net: ========================================= Package Version State Archive_Tar 1.3.2 stable Console_Getopt 1.2.2 stable Net_IMAP 1.0.3 stable Net_Socket 1.0.6 stable PEAR 1.5.0 stable Structures_Graph 1.0.2 stable XML_RPC 1.5.1 stable That's it stolen from http://embartp.nadlinux.com/?p=7

Update iPod without iTunes

Easy: Download firmware for your iPod from http://www.felixbruns.de/iPod/firmware/ for my 2nd gen Nano, I choose Nano 2G (19.x.x.x) extract downloaded file (ipsw) unzip iPodxxxx.ipsw Flash the extracted file (Firmware*) to empty partition in your iPod dd if=Firmware-x.x.x of=/dev/sda1 For more info see: http://ipodlinux.org/Restore_without_iTunes