Waraxe IT Security Portal
Login or Register
November 18, 2024
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: 9144

People Online:
Visitors: 56
Members: 0
Total: 56
Full disclosure
SEC Consult SA-20241112-0 :: Multiple vulnerabilities in Siemens Energy Omnivise T3000 (CVE-2024-38876, CVE-2024-38877, CVE-2024-38878, CVE-2024-38879)
Security issue in the TX Text Control .NET Server for ASP.NET.
SEC Consult SA-20241107-0 :: Multiple Vulnerabilities in HASOMED Elefant and Elefant Software Updater
Unsafe eval() in TestRail CLI
4 vulnerabilities in ibmsecurity
32 vulnerabilities in IBM Security Verify Access
xlibre Xnest security advisory & bugfix releases
APPLE-SA-10-29-2024-1 Safari 18.1
SEC Consult SA-20241030-0 :: Query Filter Injection in Ping Identity PingIDM (formerly known as ForgeRock Identity Management) (CVE-2024-23600)
SEC Consult SA-20241023-0 :: Authenticated Remote Code Execution in Multiple Xerox printers (CVE-2024-6333)
APPLE-SA-10-28-2024-8 visionOS 2.1
APPLE-SA-10-28-2024-7 tvOS 18.1
APPLE-SA-10-28-2024-6 watchOS 11.1
APPLE-SA-10-28-2024-5 macOS Ventura 13.7.1
APPLE-SA-10-28-2024-4 macOS Sonoma 14.7.1
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Sql injection -> GOD damn the newbie
Post new topicReply to topic View previous topic :: View next topic
GOD damn the newbie
PostPosted: Wed Sep 19, 2007 9:21 am Reply with quote
fenindom
Beginner
Beginner
Joined: Sep 19, 2007
Posts: 2
Location: medan




i didn't now anything about sql injection
usually hacker use a way Like this
www.targethack.com//bug//bug/inject
somebody can answ my Question???
1.how can we seach the bugs for php vB.php Nuke or etc
2.why bug usually like a syntax but in SQL injection we just looking a bug like www.targethack.com//bug//bug/inject
3.why SQL inject is like another web/link
Sorry for my bad english
View user's profile Send private message
PostPosted: Wed Sep 19, 2007 9:33 am Reply with quote
pabloski
Beginner
Beginner
Joined: Sep 14, 2007
Posts: 3




Hi,

SQL Injection works by passing SQL statements to a web application trough cookie, querystring or form parameters

this means you can embed you SQL statement in cookie variables ( if the web app use cookies and read them ), in querystrings ( i.e. h t t p ://www.victim.com/some_buggy_script?param=MY SQL INJECTION ) or in POST requests

for example if the script you're trying to attack execute the following SQL statement

"SELECT Nick, UserID, Password, Admin FROM Authors WHERE USERID = '" + Request.form("uID") + "'"

you can pass a uID form variable as follow: fakeid' UNION SELECT 'John', 'Doe', 'evil password', TRUE FROM Authors--

the resulting query will be

"SELECT Nick, UserID, Password, Admin FROM Authors WHERE USERID = 'fakeid' UNION SELECT 'John', 'Doe', 'evil password', TRUE FROM Authors--'

because fakeid doesn't exist in the remote DB, the first SELECT will return no recordset while the second will return the recordset composed by ('John', 'Doe', 'evil password', TRUE)

this means you have forced the app to recover a user with uID='Doe' and Password='evil password'

this means you can bypass the login procedure
View user's profile Send private message
so......
PostPosted: Wed Sep 19, 2007 9:49 am Reply with quote
fenindom
Beginner
Beginner
Joined: Sep 19, 2007
Posts: 2
Location: medan




how can i search the bug or create the SQL statement in put in to the site database.
View user's profile Send private message
Re: so......
PostPosted: Wed Sep 19, 2007 11:43 am Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




fenindom wrote:
how can i search the bug or create the SQL statement in put in to the site database.


You can search bugs by 2 ways:

1. Download some opensource software and research source code.
If you find bug, then you can hack all the websites based on that software.

2. Test random websites against sql injection bugs and when you see sql related error messages, try to exploit them to get what you want - passwords, usernames, etc.
More experienced attackers can exploit sql injection holes even without any error feedback - this is called "blind sql injection".

Wink
View user's profile Send private message Send e-mail Visit poster's website
GOD damn the newbie
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 topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
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-2024 Janek Vind "waraxe"
Page Generation: 0.028 Seconds