Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Simple SQL tutorial

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
benlue
Moderator
Reputation: 0

Joined: 09 Oct 2006
Posts: 2142

PostPosted: Tue Mar 13, 2007 5:52 am    Post subject: Simple SQL tutorial Reply with quote

Spoiling this section with this tutorial ? Razz

Introduction
So if you've read my other thread on SQL, you will know how to start .
If not please go and read it before beginning this tutorial .

Easy program for you to use: Microsoft Access . (as most computers have it)

Description
Most databases now allow you to edit/add new data into your table . This is very handy as it isn't very hard to do .
Variables are very useful in database tables as well .

User Database Table
Once you've named it etc. it's time to insert the data .
Basic script most people use:
Code:
INSERT INTO member(memberName, memberPassword, memberEmail, memberWeb)VALUES('otherinfo.') \\Add other information there .


Just insert that information to be stored on your database table .

Updating Database tables
Updating is simple, just change the required information.
Example:
Code:
INSERT INTO member(benlue, tutorial, [email protected], CE.org)VALUES('isthebest')

TO
Code:
UPDATE member set memberPassword='getitnow' where memberName='benlueFTW'


Erasing Data

To delete a member . E.g. benlue Crying or Very sad you would put this code in to erase my existence Mad
Code:
DELETE member benlue

OR for websites with 2 people of the same name
Code:
DELETE FROM member where id=1337

That was saying that my ID was 1337 .
I'm wiped out from your database now !

Basic things that i've been taught and i've added extras . Wink
Back to top
View user's profile Send private message
Fuzz
Grandmaster Cheater
Reputation: 0

Joined: 12 Nov 2006
Posts: 531

PostPosted: Tue Mar 13, 2007 10:34 am    Post subject: Reply with quote

Can you make a tutorial, on how to use SQL injections to hack INTO websites? By edting the page code? I have always wanted to know how to do it, and i just need to know WHAT to edit. Or if someone knows, add me on MSN.
_________________
Back to top
View user's profile Send private message AIM Address
benlue
Moderator
Reputation: 0

Joined: 09 Oct 2006
Posts: 2142

PostPosted: Wed Mar 14, 2007 3:58 am    Post subject: Reply with quote

That will just be wrong as many people will change things on CEF .
Back to top
View user's profile Send private message
Fuzz
Grandmaster Cheater
Reputation: 0

Joined: 12 Nov 2006
Posts: 531

PostPosted: Thu Mar 15, 2007 6:06 pm    Post subject: Reply with quote

Yes. True, but dont you think on a HACKING forum, DB would protects against HACKS? I mean, him of all people should know how to protect his site very well.
_________________
Back to top
View user's profile Send private message AIM Address
benlue
Moderator
Reputation: 0

Joined: 09 Oct 2006
Posts: 2142

PostPosted: Sat Mar 24, 2007 6:16 am    Post subject: Reply with quote

I've seen some name changes . Either they hacked through OR requested it . So i can't post anything at this moment .
Back to top
View user's profile Send private message
SgStar
Newbie cheater
Reputation: 0

Joined: 08 Mar 2007
Posts: 24

PostPosted: Sun Mar 25, 2007 8:22 am    Post subject: Reply with quote

Fuzz wrote:
Yes. True, but dont you think on a HACKING forum, DB would protects against HACKS? I mean, him of all people should know how to protect his site very well.


ur gay.. like everyone know about sql injection 10 years ago. and everyone knows how to prevent it easily.
Back to top
View user's profile Send private message
flawedmatrix
Grandmaster Cheater
Reputation: 0

Joined: 21 Jun 2006
Posts: 819
Location: 14598622 for yourself...

PostPosted: Mon Mar 26, 2007 1:14 am    Post subject: Reply with quote

Hmm, can you figure out a free method to connect to a mySql database in a remote server?
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address
SgStar
Newbie cheater
Reputation: 0

Joined: 08 Mar 2007
Posts: 24

PostPosted: Fri Mar 30, 2007 9:33 am    Post subject: Reply with quote

flawedmatrix wrote:
Hmm, can you figure out a free method to connect to a mySql database in a remote server?


phpmyadmin. but u still need user/pass.
Back to top
View user's profile Send private message
benlue
Moderator
Reputation: 0

Joined: 09 Oct 2006
Posts: 2142

PostPosted: Sun Apr 01, 2007 5:33 am    Post subject: Reply with quote

SgStar wrote:
flawedmatrix wrote:
Hmm, can you figure out a free method to connect to a mySql database in a remote server?


phpmyadmin. but u still need user/pass.
Your an idiot ?
Back to top
View user's profile Send private message
SgStar
Newbie cheater
Reputation: 0

Joined: 08 Mar 2007
Posts: 24

PostPosted: Sun Apr 01, 2007 12:36 pm    Post subject: Reply with quote

benlue wrote:
SgStar wrote:
flawedmatrix wrote:
Hmm, can you figure out a free method to connect to a mySql database in a remote server?


phpmyadmin. but u still need user/pass.
Your an idiot ?


Normally people won't just ask how to connect. they will also state what language they are using or what hosting service. those who just ask how to connect properbly want to hack someone's database.
Back to top
View user's profile Send private message
benlue
Moderator
Reputation: 0

Joined: 09 Oct 2006
Posts: 2142

PostPosted: Mon Apr 02, 2007 6:45 am    Post subject: Reply with quote

When you say things , they seem to be misleading to the public out there .
Try to clarify what you are saying with examples .

Most people use phpBB anyway . vBulletin is the other type used but isn't common .

Correct me if i'm wrong .
Back to top
View user's profile Send private message
SgStar
Newbie cheater
Reputation: 0

Joined: 08 Mar 2007
Posts: 24

PostPosted: Mon Apr 02, 2007 10:38 am    Post subject: Reply with quote

benlue wrote:
When you say things , they seem to be misleading to the public out there .
Try to clarify what you are saying with examples .

Most people use phpBB anyway . vBulletin is the other type used but isn't common .

Correct me if i'm wrong .


Agree that phpBB is more popular. but what has forum software got to do with my previous post? Rolling Eyes
Back to top
View user's profile Send private message
benlue
Moderator
Reputation: 0

Joined: 09 Oct 2006
Posts: 2142

PostPosted: Tue Apr 03, 2007 1:13 am    Post subject: Reply with quote

SgStar wrote:
benlue wrote:
When you say things , they seem to be misleading to the public out there .
Try to clarify what you are saying with examples .

Most people use phpBB anyway . vBulletin is the other type used but isn't common .

Correct me if i'm wrong .


Agree that phpBB is more popular. but what has forum software got to do with my previous post? Rolling Eyes
I said your words are misleading and went into wonderland for a second . Discard the second part .
Back to top
View user's profile Send private message
Deadly_Hobbit
Newbie cheater
Reputation: 0

Joined: 18 Apr 2006
Posts: 19

PostPosted: Tue Apr 03, 2007 9:42 pm    Post subject: Reply with quote

SQL injection is VERY easily thwarted.

Encrypt urls into (Space = %20)

Remove and buffer all entered text for slashes and out of place characters

Scramble your sql errors. (And remove function when debugging.)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites