SQL Injection

Discussion in 'Security' started by egdcltd, Jun 21, 2008.

  1. #1
    Can anyone provide me with a piece of code that could be used for a sql injection please? Something that would create a new MySQL table if it worked.

    Sounds like a weird thing to ask for I know, but I'm trying to test the security of a script, and I don't know how to test this bit.
     
    egdcltd, Jun 21, 2008 IP
  2. gate2vn

    gate2vn Peon

    Messages:
    809
    Likes Received:
    33
    Best Answers:
    1
    Trophy Points:
    0
    #2
    gate2vn, Jun 25, 2008 IP
  3. gbh1935

    gbh1935 Peon

    Messages:
    585
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    gbh1935, Jul 5, 2008 IP
  4. krbsn

    krbsn Greenhorn

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #4
    mybe I can help.

    But my english not enought.

    you can chance database table,

    For example Admin

    Security : a_admin


    you can control code after that block some injection attack

    for example.

    union,select,from,-1,1 etc..
     
    krbsn, Jul 8, 2008 IP
  5. KnbykL

    KnbykL Guest

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    i can help
    send me pm
     
    KnbykL, Jul 9, 2008 IP
  6. ianwate

    ianwate Peon

    Messages:
    209
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    ianwate, Jul 16, 2008 IP
  7. Yousif

    Yousif Banned

    Messages:
    233
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #7
    PM me and I can help you test the security of your web applications.
     
    Yousif, Jul 16, 2008 IP