Waraxe IT Security Portal
Login or Register
August 30, 2026
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: 515
Members: 0
Total: 515
Full disclosure
CyberDanube Security Research 20260611-0 | Multiple Denial of Service Vulnerabilities in Dahua IPC/SD/NVR/XVR/EVS/VTO/VT H/ASI/TPC Camera Series
Multiple Integer Overflows in U-Boot Filesystem Parsing(CVE-2025-70290 through CVE-2025-70293)
[ADVISORY] Multiple Integer Overflows in U-Boot FilesystemParsing (CVE-2025-70290 through CVE-2025-70293)
JSON Deserialiser Unconstrained Resource Consumption Proof ofConcept
Dovecot Security Advisory 3/2026
FD - Half-click unauthenticated remote code execution on Horde Groupware IMP (from a stored XSS)
[NotCVE-2026-0013] CHIRP Kenwood ITM Driver Eval Injection Allows Arbitrary Code Execution via Crafted Radio File
[NotCVE-2026-0012] EmpManageX Hardcoded Administrative Credentials in Login API Allow Full Access to Employee Records
[NotCVE-2026-0011] Nmap 7.99 and Earlier nselib/packet.lua Zero-Length TCP Option Infinite Loop Allows Remote Denial of Service
[NotCVE-2026-0010] Barrier 2.4.0 for Windows Unauthenticated IPC Command Execution Allows Local Privilege Escalation to SYSTEM
[NotCVE-2026-0009] NitroShare Desktop 0.3.4 Path Traversal Allows LAN-Adjacent Arbitrary File Write
Escargot v4.3.0-214-gfaee4437 Unauthenticated Remote Debugger Allows Arbitrary JavaScript Evaluation and Local File Disclosure
Escargot v4.3.0-214-gfaee4437 OS Command Injection in Crash Handler via Unsanitized Executable Path
Escargot v4.3.0-214-gfaee4437 Debugger WebSocket Off-by-One Stack Buffer Overflow
UltraJSON v5.13.0-6-g733f9e1 Length-Boundary Violation Causes Out-of-Bounds Read During Incomplete JSON Parsing
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Sql injection -> I found a Sql Injection! Need help exploiting.
Post new topicReply to topic View previous topic :: View next topic
I found a Sql Injection! Need help exploiting.
PostPosted: Thu Oct 09, 2008 6:40 am Reply with quote
Cablekid
Advanced user
Advanced user
Joined: Jul 14, 2007
Posts: 85




Alright i got a script im testing on my local host.

Right now if you do site.com/home.php?start=-2

Code:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-2, 18' at line 1
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/content/c/h/a/html/home.php on line 179


That comes up.

User table is set out like this

name,pic,ip ,days,points,refs,active,custom,password,verify,fc

Is their anyway i can inject something into on of the user tables columns?Like changing the points for a certain users. Or maybe instead of reading from the user table i can read from the admin table and get the password?

What would be for format? site.com/home.php?start=Select Blah Blah.

Just to display the results if i can't inject.

Here is the Php Code for the home.php?start=
Code:
<?php
$page_name="home.php";
$start = $_GET['start'];
if(!isset($start)) {
$start = 0;
}

$eu = ($start - 0);
$limit = 18;
$counter = 0;
$columns = 6;
$this1 = $eu + $limit;
$back = $eu - $limit;
$next = $eu + $limit;
$nume = 500;

$query=" SELECT * FROM users ORDER BY days DESC, points DESC LIMIT $eu, $limit ";
$result=mysql_query($query);
echo mysql_error();
while($user = mysql_fetch_array($result))
{
$date = date(Ymd); ?>
View user's profile Send private message
PostPosted: Thu Oct 09, 2008 7:24 am Reply with quote
KOODOS
Regular user
Regular user
Joined: Sep 23, 2008
Posts: 12




I don't think it will be possible.

You see the only input in that code is $start

The command:
Code:
$eu = ($start - 0)

will bring an error if non-number chars are found. The brackets stop $eu variable to be sql injected.

I know if it was written like:
Code:
$eu = $start - 0

you could do:
Code:
site.com/home.php?start="SELECT * FROM blah blah";//


And here are the problems:

$eu is embedded in the query

I am not sure if you can include spaces, ; sign or the / sign in a URL. I believe the / sign would be recognized differently.

Waraxe might know something else but as far as my knowledge its not possible to sql inject.
View user's profile Send private message
I found a Sql Injection! Need help exploiting.
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



PCWizardHub - Helping you fix, build, and optimize your PC life
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.040 Seconds