mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-10-31 07:57:47 +03:00 
			
		
		
		
	Minor improvement to PostgreSQL signatures file to identify Windows.
Minor improvement to Microsoft SQL Server "limit" queries.
This commit is contained in:
		
							parent
							
								
									9e0d890171
								
							
						
					
					
						commit
						2cc3bb2f6a
					
				|  | @ -5,6 +5,11 @@ | |||
|         <info dbms_version="1"/> | ||||
|     </regexp> | ||||
| 
 | ||||
|     <!-- Windows --> | ||||
|     <regexp value="Visual C\+\+"> | ||||
|         <info type="Windows"/> | ||||
|     </regexp> | ||||
| 
 | ||||
|     <!-- Ubuntu --> | ||||
|     <regexp value="PostgreSQL\s+(8\.2\.7)\s+on\s+.*?\s+\(Ubuntu 4\.2\.3-2ubuntu4\)"> | ||||
|         <info dbms_version="1" type="Linux" distrib="Ubuntu" release="8.04" codename="Hardy Heron"/> | ||||
|  |  | |||
|  | @ -169,9 +169,9 @@ | |||
|         <isnull query="ISNULL(%s, ' ')"/> | ||||
|         <delimiter query="+"/> | ||||
|         <limit query="SELECT TOP %d "/> | ||||
|         <limitregexp query="SELECT\s+TOP\s+1\s+.+?\s+FROM\s+.+?\s+WHERE\s+.+?\s+NOT\s+IN\s+\(SELECT\s+TOP\s+[\d]+\s+"/> | ||||
|         <limitgroupstart/> | ||||
|         <limitgroupstop/> | ||||
|         <limitregexp query="SELECT\s+TOP\s+([\d]+)\s+.+?\s+FROM\s+.+?\s+WHERE\s+.+?\s+NOT\s+IN\s+\(SELECT\s+TOP\s+([\d]+)\s+"/> | ||||
|         <limitgroupstart query="2"/> | ||||
|         <limitgroupstop query="1"/> | ||||
|         <limitstring/> | ||||
|         <order query="ORDER BY %s ASC"/> | ||||
|         <count query="COUNT(%s)"/> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user