Register for your free account! | Forgot your password?

You last visited: Today at 08:00

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Fix] SQL Injektion

Discussion on [Fix] SQL Injektion within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.

Reply
 
Old   #1



 
- DK's Avatar
 
elite*gold: 7
Join Date: Sep 2012
Posts: 4,466
Received Thanks: 3,219
Wink [Fix] SQL Injektion

NO SUPPORT FOR EPVP!
- DK is offline  
Thanks
1 User
Old 11/22/2013, 21:01   #2
 
elite*gold: 59
Join Date: Oct 2012
Posts: 716
Received Thanks: 465
Du solltest die Credits nicht vergessen:

und Bitte Virustotal !!
FlyCraft.TobiLap is offline  
Thanks
4 Users
Old 11/23/2013, 07:06   #3
 
elite*gold: 95
Join Date: Jun 2012
Posts: 140
Received Thanks: 16
Dürfte ich mal fragen, wofür du dafür Virustotal brauchst?
Und wie kommst du auf die Idee, dass dies von h4cker0style kommt? o_O
owɴed™ is offline  
Old 11/23/2013, 09:01   #4



 
- DK's Avatar
 
elite*gold: 7
Join Date: Sep 2012
Posts: 4,466
Received Thanks: 3,219
Quote:
Originally Posted by owɴed™ View Post
Dürfte ich mal fragen, wofür du dafür Virustotal brauchst?
o_O
:x Das ist ein Joke x..x :PP
Quote:
Und wie kommst du auf die Idee, dass dies von h4cker0style kommt?
:x Weil er so defined hat :O ?
- DK is offline  
Old 11/23/2013, 10:08   #5
 
elite*gold: 95
Join Date: Jun 2012
Posts: 140
Received Thanks: 16
Quote:
Originally Posted by Armageddon ᵀᴹ View Post
:x Das ist ein Joke x..x :PP
Sorry, kann ich ja nicht wissen ._. xD


Quote:
Originally Posted by Armageddon ᵀᴹ View Post
:x Weil er so defined hat :O ?
Die define ist auch ein "Joke".. Ich kenn den Besitzer dieses Accounts und kann deswegen auch sagen, dass dieser SQL Code nicht von ihm ist. o:
owɴed™ is offline  
Old 11/23/2013, 10:37   #6



 
- DK's Avatar
 
elite*gold: 7
Join Date: Sep 2012
Posts: 4,466
Received Thanks: 3,219
Quote:
Originally Posted by owɴed™ View Post
Sorry, kann ich ja nicht wissen ._. xD




Die define ist auch ein "Joke".. Ich kenn den Besitzer dieses Accounts und kann deswegen auch sagen, dass dieser SQL Code nicht von ihm ist. o:
Das ist Source aber okay :x Und doch ist es :P
- DK is offline  
Old 11/23/2013, 15:43   #7
 
elite*gold: 95
Join Date: Jun 2012
Posts: 140
Received Thanks: 16
Habs mir das nicht mal ansatzweise angeguckt. ._.
Und nein es ist nicht von ihm und das weißt du auch selbst.
Und jetzt lass gut sein, da ich kb auf Kindergarten hab xDD
owɴed™ is offline  
Old 11/23/2013, 16:27   #8
 
elite*gold: 0
Join Date: Nov 2013
Posts: 124
Received Thanks: 115
Quote:
Originally Posted by Armageddon ᵀᴹ View Post
Hallo Leute,

Habe hier einen kleinen SQL Injektion Fix für euch.
Klatscht das überall dort hin wo ihr lpDbOverlappedPlus->AccountInfo.szAccount findet .
PHP Code:
#ifdef __HACK0RSTYLZ_SQLINJECTIONFIX
    
int nLecAcc strlenlpDbOverlappedPlus->AccountInfo.szAccount );
    if( 
nLecAcc )
    {
        
Error("CDbManager::CreatePlayer() : nLecAcc < 3 [%s]"lpDbOverlappedPlus->AccountInfo.szAccountnLecAcc );
        return;
    }
    if( 
prj.IsAllowedLetterlpDbOverlappedPlus->AccountInfo.szAccount ) == FALSE )
    {
        
Error("CDbManager::CreatePlayer() : InValid Letter in szAccount [%s]"lpDbOverlappedPlus->AccountInfo.szAccount);
        
FreeRequestlpDbOverlappedPlus );
        return;
    }
#endif // __HACK0RSTYLZ_SQLINJECTIONFIX 
Viel Spaß Damit
what does it mean??? we will add on which function?
Rhyder' is offline  
Old 11/23/2013, 16:40   #9



 
Sedrika's Avatar
 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,174
Received Thanks: 14,475
You have to add it into every function where you can find lpDbOverlappedPlus->AccountInfo.szAccount and replace the line with that whar Armagheddon wrote.
It'll check if the Account Name length is lower then 3 and if only valid letters are in use.
Sedrika is offline  
Old 11/23/2013, 17:49   #10
 
elite*gold: 0
Join Date: May 2011
Posts: 13
Received Thanks: 20
ReadString in the dbserver replaces ' by ` so injection is not possible.
CallMeEclipse is offline  
Old 11/23/2013, 22:36   #11
 
elite*gold: 23
Join Date: Dec 2010
Posts: 743
Received Thanks: 617
Kommt mir etwas sehr bekannt vor..
Quote:
#ifdef __GG_SYDRA
int nLecAcc = strlen( lpDbOverlappedPlus->AccountInfo.szAccount );
if( nLecAcc < 3 )
{
Error("CDbManager::CreatePlayer() : nLecAcc < 3 [%s]", lpDbOverlappedPlus->AccountInfo.szAccount, nLecAcc );
return;
}
if( prj.IsAllowedLetter( lpDbOverlappedPlus->AccountInfo.szAccount ) == FALSE )
{
Error("CDbManager::CreatePlayer() : InValid Letter in szAccount [%s]", lpDbOverlappedPlus->AccountInfo.szAccount);
FreeRequest( lpDbOverlappedPlus );
return;
}
#endif
.. Naja was solls.

Quote:
Klatscht das überall dort hin wo ihr lpDbOverlappedPlus->AccountInfo.szAccount findet .
Das stimmt noch nicht mal :s
.SnoX is offline  
Thanks
1 User
Old 11/24/2013, 00:33   #12



 
- DK's Avatar
 
elite*gold: 7
Join Date: Sep 2012
Posts: 4,466
Received Thanks: 3,219
Quote:
Originally Posted by .SnoX View Post
Kommt mir etwas sehr bekannt vor..

.. Naja was solls.



Das stimmt noch nicht mal :s
Jeder definiert es anders ;D .. Und vor allem war das random releast ^^ -> normal müssten die es wissen wo es hin gehört aber eigentlich sollte das passen wo es hin soll
- DK is offline  
Old 11/24/2013, 06:54   #13
 
elite*gold: 0
Join Date: Nov 2013
Posts: 124
Received Thanks: 115
kindly make a tutorial on how to add this thanks...
Rhyder' is offline  
Old 11/24/2013, 08:08   #14



 
- DK's Avatar
 
elite*gold: 7
Join Date: Sep 2012
Posts: 4,466
Received Thanks: 3,219
Quote:
Originally Posted by Rhyder' View Post
kindly make a tutorial on how to add this thanks...
Later Sir
- DK is offline  
Old 11/24/2013, 12:45   #15
 
elite*gold: 0
Join Date: Jul 2013
Posts: 56
Received Thanks: 2
Quote:
Originally Posted by Armageddon ᵀᴹ View Post
Later Sir
Thanks sir. Imma wait for the tutorial sir
h4rvswagg is offline  
Reply


Similar Threads Similar Threads
[RELEASE]Schutz gegen DLL-Injektion
05/31/2013 - Metin2 PServer Guides & Strategies - 15 Replies
Moin vorab, nein ich hab den Code nicht im Metin2 Client getestet, sollte aber genauso gut in Metin2 wie auch in der normalen Python Command Line funktionieren, oder? :P So, es ist eigentlich ganz einfach, ihr müsst in den Scripts(ja allen), nach OnUpdate Funktionen suchen und den folgenden Code in die Funktion einfügen: whitelist= import os f=os.popen('tasklist /M /FI "IMAGENAME eq metin2.exe"')
BaseAddress nach Injektion rausbekommen
07/04/2012 - C/C++ - 3 Replies
Guten Abend liebe Community, Ich habe gerade mal ein altes Projekt von mir aufgegriffen und wollte es von vorn beginnen um es kürzer zu coden. Eine frage, gibt es eine Möglichkeit wenn ich (m)eine Dll in einen Prozess injiziere die BaseAddress des Prozesses herrausfinden?
Injektion sicheres Registerscript
04/25/2011 - Flyff Private Server - 9 Replies
Streberteil So das Script ist mit htmlspecialchars(stripslashes()) ausgestattet und sollte gehen register.php <h3 class="title"></h3> <div id="text"> <?php function exist($account){ $sql = "SELECT * FROM ACCOUNT_TBL WHERE account='".$account."'";
SQL-Injektion
03/23/2010 - Metin2 Private Server - 3 Replies
Hi, ich wollte mal fragen, ob beispielsweise bei der Regipage von xBloomx die Möglichkeit einer SQL-Injection besteht...:rolleyes:
[HowTo] SQL Injektion
10/06/2009 - Tutorials - 5 Replies
Dies ist ein kurzes HowTo, um zu verstehen was mit einer SQL-Injektion gemeint ist und wie sich diese ausnutzen lässt. Diese Methode basiert grundsätzlich auf der ungenügenden Prüfung von Benutzereingaben und lässt sich fast immer vermeiden. Oftmals denken Programierer zum Zeitpunkt des Codings nicht daran, welches Schadenspotiential das ungeprüfte Weiterreichen von Benutzereingaben an den SQL-Interpreter. Dabei kommen in keinster Weise Buffer-Overflows zum Einsatz oder sonstige Hacks. ...



All times are GMT +1. The time now is 08:03.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.