Waraxe IT Security Portal
Login or Register
November 22, 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: 50
Members: 0
Total: 50
Full disclosure
APPLE-SA-11-19-2024-5 macOS Sequoia 15.1.1
Local Privilege Escalations in needrestart
APPLE-SA-11-19-2024-4 iOS 17.7.2 and iPadOS 17.7.2
APPLE-SA-11-19-2024-3 iOS 18.1.1 and iPadOS 18.1.1
APPLE-SA-11-19-2024-2 visionOS 2.1.1
APPLE-SA-11-19-2024-1 Safari 18.1.1
Reflected XSS - fronsetiav1.1
XXE OOB - fronsetiav1.1
St. Poelten UAS | Path Traversal in Korenix JetPort 5601
St. Poelten UAS | Multiple Stored Cross-Site Scripting in SEH utnserver Pro
Apple web content filter bypass allows unrestricted access to blocked content (macOS/iOS/iPadOS/visionO S/watchOS)
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
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.048 Seconds