wollte mal fragen ob mir einer meine Homepage auf SQL-Injections checken kann. Oder auf andere kritische Fehler, die einen Datenbank-Zugriff gewähren könnten.
Und gibt es Methoden dies zu verhindern? Sich mehr abzusichern? Gibt es Methoden Injections zu 100% nicht zuzulassen?
Kommt immer drauf an was genau du machen willst
Wenn möglich ist es das beste mit Whitelists zu arbeiten.
Kleines bsp. du willst nen login machen. Dann brech sofort ab sobald nen Zeichen außer Buchstaben und Zahlen vorkommen.
Aber wie gesagt kommt extrem drauf an was du machen willst ob das sich lohnt oder nicht.
Naja vielleicht hilfts ja:
Ich hab bei mir immer so ne function (oder so in der Art), mit der ich prüfe, ob eine Eingabe erlaubt ist, oder nicht (hier nicht Objekt orientiert):
PHP Code:
/******************** ** Function ** ********************/ function checkForbidden($value) { $checkit = preg_match("/^[^!\"\/?*':<>[:space:]]+$/",$value); if($checkit) return true; else return false; }
Naja vielleicht hilfts ja:
Ich hab bei mir immer so ne function (oder so in der Art), mit der ich prüfe, ob eine Eingabe erlaubt ist, oder nicht (hier nicht Objekt orientiert):
PHP Code:
/********************
** Function **
********************/
function checkForbidden($value) {
$checkit = preg_match("/^[^!\"\/?*':<>[:space:]]+$/",$value);
if($checkit) return true;
else return false;
}
Habe mal eben mit Havij Free gescannt, gegen die ganz kleinen Kiddies biste dann schon mal abgesichert:
Quote:
Havij 1.15 Free!
You are using the Free version of Havij which is limited in some features, Please purchase the commerical version at Analyzing
Host IP: 84.201.35.203
Web Server: Apache
Powered-by: PleskLin
Keyword Found: Germany
I guess injection type is Integer?! If injection failed, retry with a manual keyword.
Can't find db server type! But maybe there be some chances! [-o<
Cannot find column count!
Testing for MySQL error based injection method
MySQL error based injection method cant be used!
MsSQL time based injection method can be used (4477ms delay)
Finding current data base
MsSQL Blind and time based are not supported in free version! Please purchase the commerical version of Havij at
Andere Software habe ich aktuell nicht auf diesem Rechner installiert, werde das morgen mal checken und mich noch mal melden!
[Help]Injections and autorisations. 08/16/2013 - S4 League - 9 Replies Yo.
I re-installed windows 7, and i had a problem :
Injections for S4Client.exe don't work, because of system autorisation.
I'm in administrator account, i have all rights normally, executed as admin, uninstalled anti-virus,but it still doesnt inject.
I tried faith injector undetected, it says "injection successful" but it's not true, nothing changes ingame.
I tried process hacker, it says "Unable to inject the DLL into S4Client.exe (PID 1384): because of injection conflits, it wasn't...
Protection against dll injections 07/23/2012 - Metin2 Private Server - 0 Replies Hello , i play in a server that have protection agains dll injections , the ichigo-defender. The ichigo-defender close the metin window when i inject any dll file.
Does anybody know how to bypass this ?? the client have protection against injections trought logininfo.py. they changed the name on logininfo.py on the exe file , and they compiled and encripted the file.
if anybody could help me i would be very grateful :)
and sorry for my english , hope you understand everything
[Tutorial]SQL Injections 12/02/2009 - Dekaron Private Server - 4 Replies Too much spam on PMs. Please close the thread.
[Discussion]Dll injections in Dragonica THQ 07/12/2009 - Dragonica - 9 Replies So i've been playing around with dll injection in dragonica online, THQ*Ice server, and I've put together some basics. I'm learning this stuff too so don't expect me to be some expert.
This is a code i pieced together from other guides I have found throughout my friend, google.
#include <windows.h>
//Define variables
DWORD ThreadID;
float *zoom = (float*)0x012D4A10; //Offset for zoom