Search Hacking Mode Trick Updates

Installasi Program di Backtrack [ Part I ]

Thursday, November 27, 2008 · 0 comments

Setelah menginstall distro Backtrack di linuxbox yang saya gunakan, rasanya kurang menarik bila tidak menambahkan beberapa tools yang membantu saya dalam kegiatan tulis-menulis :D seperti saat menulis artikel ini, saya menggunakan applikasi Bluefish versi 1.0.7. Selain applikasi untuk perkantoran, saya juga menanamkan beberapa applikasi seperti :

  • Openoffice 2.2.1
  • Abiword 2.4
  • The Gimp 2.2.17
  • Virtualbox 1.5.2
  • Cedega 5.1
  • Bluefish 1.0.7
  • Kaffeine 0.8.1
  • XMMS 1.2.10
  • Xine-ui 0.99.5

Applikasi tersebut sudah saya coba dan berjalan tanpa hambatan, untuk menambah applikasi pada Backtrack, kita hanya memerlukan konverter module yang sama dengan distro Slax, ya karena Backtrack berbasis Slax, maka Anda dapat menggunakan tools untuk merubah file berektensi *.tgz, *.mo, *.rpm ke *.lzm, disini saya menggunakan tools seperti mo2lzm, rpm2lzm, tgz2lzm dan lzm2dir yang semua’a dapat di peroleh dari situs Slax.

Apabila tools tersebut sudah tertanam di Backtrack Anda, maka command yang dapat Anda jalankan seperti berikut :

bt ~ # mkdir /root/slax_modules/applikasi/chkrootkit-0.46a-6
bt ~ # mo2lzm chkrootkit_0_46a-6.mo chkrootkit_0_46a-6.lzm
bt ~ # lzm2dir chkrootkit_0_46a-6.mo.lzm /root/slax_modules/applikasi/chkrootkit-0.46a-6

Selanjutnya Anda hanya tinggal meng-copy paste file yang sudah di ekstrak saja :D

Referensi:
http://slax.hosting4p.com
http://slax.hosting4p.com/modules.php

Read More......

Compiling and Installing The Latest Xorg 7.2

· 0 comments

If that’s not enough for you, this guide will take you through the steps of installing the latest Xorg 7.2 server. I needed to do this as well to get my new 965GM chipset working.
  1. Uninstall you’re old version of xorg (removepkg) packages are located in /var/log/packages
  2. Download the new packages. I got my packages from the pinki1 build. Don’t download the auto script it will not work for you, trust me.
  3. I downloaded them all to /var/log/packages then installed them (installpkg)
  4. Add:
  5. /usr/X11R7/lib to /etc/ld.so.conf

    Add /usr/X11R7/bin to the PATH variable
    Note: you can also edit /etc/profile and find the lan that says:

    PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/apache/bin:/usr$

    And change X11R6 to X11R7

  6. Now is the time to install any graphic drivers if you happen to be using the lintel drivers you can find the install directions from: http://intellinuxgraphics.org/install.html and the actual drivers from xorg.freedesktop.org
  7. Change all the fontpaths in /etc/X11/xorg.conf from
  8. /X11R6 to /X11R7
  9. Change your fontpaths in /etc/fonts/fonts.conf:
  10. /usr/X11R6/lib/X11/fonts/TTF

    might be changed to

    /usr/X11R7/lib/X11/fonts/TTF
  11. Install these packages:
  12. ftp://ftp.scarlet.be/pub/linuxpackages/Slackware-11.0/Library/libpthread-stubs/libpthread-stubs-0.1-i486-1ced.tgz
    ftp://ftp.scarlet.be/pub/linuxpackages/Slackware-11.0/X11/libxcb/libxcb-1.0-i486-1ced.tgz
    ftp://ftp.scarlet.be/pub/linuxpackages/Slackware-11.0/X11/xcb-proto/xcb-proto

    Note: Change xcb-proto to xcb-proto.tgz so you can install it:

    # mv xcb-proto xcb-proto.tgz
  13. Run /usr/X11R6/bin/fc-cache -f from root and user if you have another account.
  14. Congratulations you’re now running xorg 7.2

Author :
remote-exploits.blogspot.com

Ditulis dalam Modding. 1 Komentar »

Compiling ALSA

“ALSA (an acronym for Advanced Linux Sound Architecture) is a Linux kernel module that replaces several different kernel drivers for sound cards with a single device driver which handles the diversity of sound cards internally. Some of the goals of the ALSA project were to support automatic configuration of sound card hardware, and graceful handling of multiple sound devices in a system, goals which it has largely met.

  1. Unpack the source:
  2. # bunzip2 alsa-driver* && tar -xvf alsa-driver*
  3. Change to the new directory:
  4. # cd alsa*
  5. Configure and compilation alsa:
  6. # ./configure && make
  7. Begin install:
  8. # make install
  9. If your card is supported(http://www.alsa-project.org/alsa-doc/), run ‘alsaconf’ and follow the directions:
  10. # alsaconf
  11. Then, to configure sound and mixer options:
  12. # alsamixer

Author :
remote-exploits.blogspot.com

Read More......

Koneksi ke OPEN/WEP WLAN ( DHCP )

· 0 comments

Untuk menghubungkan ke wireless LAN yang Open atau Secured by WEP (DHCP).

# iwconfig [interface]  mode managed key [WEP key]

Note :

Gantilah kata “interface” dengan nama interface Anda yang lagi aktif saat ini, misal ath0, wlan0 atau eth1.
WEP key, masukkanlah kata kuci WEP, 10 karakter hexadecimal untuk 64 bit dan 26 karakter untuk 128 bit.

# iwconfig essid  "[ESSID]" 

ESSIS = Spesifikasi SSID dari suatu WLAN

# dhclient [interface] 

Untuk mendapatkan IP address, netmask, DNS server dan default gateway dari akses poin.

Read More......

Koneksi ke OPEN/WEP WLAN ( Setup IP Manual )

· 0 comments

Untuk menghubungkan ke wireless LAN yang Open atau Secured by WEP ( IP Manual/Statis ).

# iwconfig [interface]  mode managed key [WEP key]
# ifconfig [interface] [IP address] netmask [subnetmask]
# iwconfig essid "[ESSID]"
# route add default gw [IP of default gateway]

Note :

Masukkan IP Address gatewaynya ( biasanya alamat IP dari Access Point )

# echo nameserver [IP address of DNS server]  >> /etc/resolv.conf

Konfigurasikan DNS server Anda.

# ping www.detik.com

Melakukan uji koneksi.

Read More......

Kumpulan Perintah iwconfig

· 0 comments

# iwconfig [interface] mode master

Menjadikan kartu PCMCIA dalam mode akses poin

# iwconfig [interface] mode managed

Menjadikan kartu PCMCIA Anda dalam mode client pada jaringan wifi infrastruktur

# iwconfig [interface] mode  ad-hoc

Mengeset kartu Anda sebagai anggota di jaringan wifi ad hoc tanpa akses poin

# iwconfig  [interface] mode monitor

Mengeset kartu Anda dalam mode monitor

# iwconfig [interface]  essid “SSID_Anda”

Konfigurasikan ESSID jaringan Anda.

# iwconfig [interface] key 1111-1111-1111-1111

Mengeset kunci WEP 128bit

# iwconfig [interface] key 11111111

Mengeset kunci WEP 65 bit

# iwconfig [interface] key off

Menonaktifkan kunci WEP

# iwconfig  [interface] key open

Menset sebagai open mode, tidak diperlukan autentikasi

# iwconfig [interface] channel [channel no.]

Menset sebuah channel 1-14

# iwconfig  [interface] channel auto

Memilih channel otomatis

# iwconfig  [interface] freq 2.422G

Menset channel dalam Ghz

# iwconfig [interface]  ap 11:11:11:11:11:11

Memaksa kartu untuk mendaftar ke alamat AP

# iwconfig [interface] rate 11M

Kartu akan menggunakan kecepatan tertentu

# iwconfig [interface] rate auto

Memilih kecepatan otomatis

# iwconfig [interface] rate auto 5.5M

Kartu akan menggunakan kecepatan tertentu dan kecepatan di bawahnya jika memang diperlukan

Read More......

Gateway Backtrack2

· 0 comments

Langsung saja, tutorial ini untuk melengkapi postingan bang alie dengan judul “Router Backtrack”-nya. Untuk membuat Gateway menggunakan distro Linux Backtrack langkah pertama adalah tentunya sudah terinstall Backtrack di komputer yang akan dijadikan sebagai Gateway, disini saya menggunakan Backtrack2 sebagai tempat percobaannya…eth0 terhubung langsung ke internet dengan keterangan sbb :

IP Address : 203.81.xxx.xx5
Netmask : 255.255.255.0
Gateway : 203.81.xxx.xx1
Nameserver :
203.81.xx4.11
203.81.xx5.12

eth1 terhubung ke klien di jaringan, dengan keterangan sbb :

IP Address : 192.168.0.1
Netmask : 255.255.255.0

Setelah sempat bingung mengutak-atik agar settingan jaringan dapat berjalan d saat startup mulai dari gui, mengetikkan command netconfig di konsole, bahkan file /etc/rc.d/rc.inet1.conf pun sudah saya utak-atik, tetap saja hasilnya nihil ( lantaran masih newbie se… )) ), untuk mengaktifkan NAT (Network Address Translation) biasanya ( di slackware ) kita mengisi beberapa baris perintah iptable di /etc/rc.d/rc.local, namun disini saya tidak melakukannya, sebagai alternatif… maka saya mencoba mengganti isi file /etc/rc.d/rc.inet1 yang akan diisi dengan beberapa baris perintah untuk setting network sekaligus iptablenya ( tentunya perintah iptable sederhana ), berikut langkah yang saya lakukan :

# chmod +x /etc/rc.d/rc.ip_forward
# echo “1″>/proc/sys/net/ipv4/ip_forward

Perintah tsb untuk mengaktifkan opsi bahwa Linuxbox tsb akan difungsikan sebagai router.

Masukkan NameServer pada file /etc/resolv.conf

# echo “nameserver 203.81.xx4.11″>/etc/resolv.conf
# echo “nameserver 203.81.xx5.12″>>/etc/resolv.conf
# cat /etc/resolv.conf
nameserver 203.81.xx4.11
nameserver 203.81.xx5.12

Sebelumnya saya melakukan backup file defaultnya terlebih dahulu…

# mv /etc/rc.d/rc.inet1 /etc/rc.d/rc.inet1.old
# nano /etc/rc.d/rc.inet1

Isinya sebagai berikut ( sesuaikan dengan keterangan diatas ) :

# rc.inet1 This shell script boots up the base INET system.
#
# Version: @(#)/etc/rc.d/rc.inet1 1.01 05/27/93
# Modified by atoz [at] debian-id [dot] org

# Attach the loopback device.
/sbin/ifconfig lo 127.0.0.1
/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo

# Auto eth0.
IPADDR[0]=”” # REPLACE with YOUR IP address!
NETMASK[0]=”” # REPLACE with YOUR netmask!
NETWORK[0]=”” # REPLACE with YOUR network address!
BROADCAST[0]=”” # REPLACE with YOUR broadcast address, if you
# have one. If not, leave blank and edit below.

GATEWAY=”” # REPLACE with YOUR gateway address!

# Uncomment the line below to initialize the ethernet device.
/sbin/ifconfig eth0 ${IPADDR[0]} broadcast ${BROADCAST[0]} netmask ${NETMASK[0]}

# Uncomment this to set up your gateway route:
/sbin/route add default gw ${GATEWAY} netmask 0.0.0.0 metric 1

# Auto eth1.
IPADDR[1]=”” # REPLACE with YOUR IP address!
NETMASK[1]=”” # REPLACE with YOUR netmask!
NETWORK[1]=”” # REPLACE with YOUR network address!
BROADCAST[1]=”” # REPLACE with YOUR broadcast address, if you
# have one. If not, leave blank and edit below.

# Uncomment the line below to initialize the ethernet device.
/sbin/ifconfig eth1 ${IPADDR[1]} broadcast ${BROADCAST[1]} netmask ${NETMASK[1]}

# Network Address Translation ( NAT ).
iptables -A FORWARD -o eth0 -i ! eth1 -j ACCEPT
iptables -A FORWARD -m state –state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -f -j ACCEPT
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

# End of rc.inet1

Anda dapat mencoba melakukan shutdown Linuxbox yang Anda gunakan dan menikmati hasilnya )

Read More......

Manajemen User di Backtrack

· 0 comments

Backtrack merupakan turunan dari distro Slax, dan bisa di katakan sebagai cucunya dari distro Slackware, bagi yang sudah pernah atau familiar dengan distro tua ini ( Slackware.Red ), tentunya tidak perlu terlalu lama untuk melakukan pembuatan user, jadi tutorial ini di tujukan untuk para newbie linux seperti saya p
Tutorial ini juga saya publish di blog BacktrackIndo.

Misalnya kita membuat user baru bernama anonymous. berikut langkah-langkahnya :

Periksa terlebih dahulu Anda sekarang login sebagai apa? tentu saja sebagai root ))
lha… user lainkan belum dibikin ne… ( AtoZ edan !!!… )) )

# whoami
root


Sebelum melanjutkan ke tahap pembuatan user, saya akan membuat folder public_html terlebih dulu
di direktori /etc/skel agar setelah selesai membuat user, secara automatis folder public_html
juga akan dibuat pada home direktori user tersebut ( /home/anonymous/public_html ) :

# mkdir /etc/skel/public_html

Sekarang kita memasuki tahap pembuatan user :

# adduser anonymous

Login name for new user: anonymous

User ID (’UID’) [ defaults to next available ]:

Initial group [ users ]:

Additional groups (comma separated) []:

Home directory [ /home/anonymous ]

Shell [ /bin/bash ]

Expiry date (YYYY-MM-DD) []:

New account will be created as follows:

—————————————
Login name…….: anonymous
UID…………..: [ Next available ]
Initial group….: users
Additional groups: [ None ]
Home directory…: /home/anonymous
Shell…………: /bin/bash
Expiry date……: [ Never ]

This is it… if you want to bail out, hit Control-C. Otherwise, press
ENTER to go ahead and make the account.

Creating new account…

Changing the user information for anonymous
Enter the new value, or press ENTER for the default
Full Name []: anonymous
Room Number []:
Work Phone []:
Home Phone []:
Other []: atoz@bungker.org
Changing password for anonymous
Enter the new password (minimum of 5, maximum of 127 characters)
Please use a combination of upper and lower case letters and numbers.
New password: ***********
Re-enter new password: ***********
Password changed.

Account setup complete.

Note :
Masukkan nama user, no id useeer, nama kecil atau inisialisasi, home direktori, shell yang digunakan,
tanggal kadaluarssa hasil account yang dibuat.

Untuk menghapus user, jalankan perntah :

# userdel anonymous

Setiap user memilik group masing-masing, berguna bila bekerja dalam sebuah jaringan. Semua user yang berada dalam group yang sama memiliki hak akses yang sama pula, nah… untuk menambah group. gunakan perintah :

# groupadd [nama_group]

Untuk menghapusnya, gunakan perintah :

# groupdel [nama_group]

Apabila Anda ingin memodifikasi akun user yang Anda punya, gunakan perntah usermod. Misalnya Anda ingin memodifikasi
group user anonymous, menjadi group wheel.

# usermod -G wheel anonymous
# id anonymous
uid=1001(anonymous) gid=100(users) groups=100(users),10(wheel)

Untuk melihat manual penggunaan perintah yang telash disebutkan di atas, gunakan perintah man [nama_perintah]. Contoh :

# man usermod

Sampai disini dulu pembahasan kita. Selamat mencoba )

Read More......

 Subscribe in a reader

Review Update Via Email:

Delivered by FeedBurner

Add to Google Reader or Homepage

Powered by FeedBurner

FEEDJIT Live Traffic Feed