View Single Post
Old 22.12.2005, 12:58   #11
srh
Архивный участник
 
Join Date: Aug 2005
Posts: 145
Default

Quote:
Originally Posted by serjr
2Srh you write right ideas but that will not help because inject work in stored procedure environment, not direct to base. Your post is not a panacea.
ok, logging in as server login in QA, selecting db lin2world
query (as server do):
exec lin_AddBlockList 1, N''delete from ....--
we get reply:
Server: Msg 2627, Level 14, State 1, Procedure lin_AddBlockList, Line 41
Violation of PRIMARY KEY constraint 'PK_user_blocklist'. Cannot insert duplicate key in object 'user_blocklist'.
Server: Msg 50000, Level 16, State 1, Procedure lin_AddBlockList, Line 44
Cannot find add blocklist: char id = [1], target naem[]
The statement has been terminated.
Server: Msg 229, Level 14, State 5, Line 1
DELETE permission denied on object '....', database 'lin2world', owner 'dbo'.
srh is offline