mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 05:00:25 +08:00 
			
		
		
		
	
		
			
	
	
		
			22 lines
		
	
	
		
			535 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			22 lines
		
	
	
		
			535 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								// Copyright 2023 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
							 | 
						||
| 
								 | 
							
								//go:build !gcc
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								package injectionutils
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// DetectSQLInjectionCache detect sql injection in string with cache
							 | 
						||
| 
								 | 
							
								func DetectSQLInjectionCache(input string, isStrict bool, cacheLife int) bool {
							 | 
						||
| 
								 | 
							
									// stub
							 | 
						||
| 
								 | 
							
									return false
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// DetectSQLInjection detect sql injection in string
							 | 
						||
| 
								 | 
							
								func DetectSQLInjection(input string, isStrict bool) bool {
							 | 
						||
| 
								 | 
							
									// stub
							 | 
						||
| 
								 | 
							
									return false
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func detectSQLInjectionOne(input string) bool {
							 | 
						||
| 
								 | 
							
									// stub
							 | 
						||
| 
								 | 
							
									return false
							 | 
						||
| 
								 | 
							
								}
							 |