Author Topic: vulnerable or not?  (Read 5829 times)

0 Members and 2 Guests are viewing this topic.

Offline Mrgood

  • /dev/null
  • *
  • Posts: 8
  • Cookies: -1
    • View Profile
Re: vulnerable or not?
« Reply #30 on: August 18, 2012, 05:20:52 pm »
i just joined the forum to learn some SQLi. I have read the tutorial made by ande but I still can't get any result. I have seen also this topic and when u said the site is vulnerable i tried to hack it too. No results at all. I tried to add many things to the link after =1 etc and nothing happened. My question is, how did u do that? Any clues that can help me with SQLi? I understand how SQL and queries work and that's not the problem. Maybe i am doing something wrong.

I didn't want to make another topic so i wrote here.

Offline Phage

  • VIP
  • Overlord
  • *
  • Posts: 1280
  • Cookies: 120
    • View Profile
Re: vulnerable or not?
« Reply #31 on: August 19, 2012, 04:33:00 pm »
i just joined the forum to learn some SQLi. I have read the tutorial made by ande but I still can't get any result. I have seen also this topic and when u said the site is vulnerable i tried to hack it too. No results at all. I tried to add many things to the link after =1 etc and nothing happened. My question is, how did u do that? Any clues that can help me with SQLi? I understand how SQL and queries work and that's not the problem. Maybe i am doing something wrong.

I didn't want to make another topic so i wrote here.


Simple answer learn SQL and then you will understand it.
"Ruby devs do, in fact, get all the girls. No girl wants a python, but EVERY girl wants rubies" - connection

"It always takes longer than you expect, even when you take into account Hofstadter’s Law."

Offline Mrgood

  • /dev/null
  • *
  • Posts: 8
  • Cookies: -1
    • View Profile
Re: vulnerable or not?
« Reply #32 on: August 22, 2012, 11:28:24 am »
yes but what does time based sqli mean? Exactly, I know what does it mean but how to use it? have you got any tutorials or clues fo it?

Offline Daemon

  • VIP
  • Baron
  • *
  • Posts: 845
  • Cookies: 153
  • A wise man fears a gentle mans anger
    • View Profile
Re: vulnerable or not?
« Reply #33 on: August 22, 2012, 03:04:31 pm »
yes but what does time based sqli mean? Exactly, I know what does it mean but how to use it? have you got any tutorials or clues fo it?

Let me introduce you to your new best friend:

GOOGLE


This friend is like god, it knows EVERYTHING!!!! Including what SQLi is  ;)
This lifestyle is strictly DIY or GTFO - lucid

Because sexploits are for h0edays - noncetonic


Xires burns the souls of HF skids as a power supply

Offline Mrgood

  • /dev/null
  • *
  • Posts: 8
  • Cookies: -1
    • View Profile
Re: vulnerable or not?
« Reply #34 on: August 22, 2012, 04:14:01 pm »
that was the simplest answer;) i have already looking for it. I am just asking if u know any good tutorial about time based sqli

Offline bubzuru

  • Knight
  • **
  • Posts: 395
  • Cookies: 21
  • everything is contained in the data
    • View Profile
    • New School Tools
Re: vulnerable or not?
« Reply #35 on: August 23, 2012, 07:44:21 pm »
that was the simplest answer;) i have already looking for it. I am just asking if u know any good tutorial about time based sqli

i agree google is your best friend but i like hacker con vids
there are a few nice SQLi defcon videos. use your best friend to find them.

DEFCON 16: Time-Based Blind SQL Injection using heavy queries http://www.youtube.com/watch?v=N8baNkyhRBM
« Last Edit: August 23, 2012, 07:48:09 pm by bubzuru »
Damm it feels good to be gangsta
http://bubzuru.comule.com

Offline Mrgood

  • /dev/null
  • *
  • Posts: 8
  • Cookies: -1
    • View Profile
Re: vulnerable or not?
« Reply #36 on: August 24, 2012, 02:08:39 pm »
I've already got the whole database structure but i have used The Mole. I know almost everything but passwords are in sha1 and i can't crack them.
Can you please give me the clue how to add/delete a record? (i know google is my best friend) I asked him, i have read almost every link connected on several result pages.

It should take max 1 min to help me i guess:) (less than writing about 'google is the best')
what should i add to ...page=news&id=2 to add or delete the record.

I know that:
Code: [Select]
[+] Found separator: " ' "
[+] Found DBMS: Mysql
[+] Found comment delimiter: "#"
Also i know that "id" is in the "maindb2" database and "news_update" table. Lets say i would like to add or delete an user in "user" table in the same database.

The mole gave me many info but i cant change anything using this tool.
Is there any way to get database root password using sqli?

Offline relax

  • Sir
  • ***
  • Posts: 562
  • Cookies: 114
  • The one and only
    • View Profile
Re: vulnerable or not?
« Reply #37 on: August 24, 2012, 03:28:05 pm »

Offline Mrgood

  • /dev/null
  • *
  • Posts: 8
  • Cookies: -1
    • View Profile
Re: vulnerable or not?
« Reply #38 on: August 24, 2012, 07:51:12 pm »
...id=2; UPDATE news_update SET content = 'hacked' WHERE id='1'"#
why it doesnt work? i have mysql syntax error but everything should be ok with " ' " as separator and # as delimiter

Offline Mrgood

  • /dev/null
  • *
  • Posts: 8
  • Cookies: -1
    • View Profile
Re: vulnerable or not?
« Reply #39 on: August 24, 2012, 10:49:56 pm »
I have also tried to do the same without " ' " signs and page loaded with error but nothing happened at all

Offline Mrgood

  • /dev/null
  • *
  • Posts: 8
  • Cookies: -1
    • View Profile
Re: vulnerable or not?
« Reply #40 on: August 25, 2012, 09:18:12 pm »
i really dont like to write like this and i feel very embarassed but i want to ask you again. Please help with that sqli insert command

Offline bubzuru

  • Knight
  • **
  • Posts: 395
  • Cookies: 21
  • everything is contained in the data
    • View Profile
    • New School Tools
Re: vulnerable or not?
« Reply #41 on: August 26, 2012, 01:52:01 pm »
give more info then , the injection query can change alot from script to script , even if they do basically the same thing, what script are you trying to inject ?? maybe make a new thread.
Damm it feels good to be gangsta
http://bubzuru.comule.com

Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: vulnerable or not?
« Reply #42 on: August 26, 2012, 02:03:46 pm »
give more info then , the injection query can change alot from script to script , even if they do basically the same thing, what script are you trying to inject ?? maybe make a new thread.

Yes, make a new thread, this is getting really off topic.

/
>>>import this
-----------------------------