mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-11-04 09:57:38 +03:00 
			
		
		
		
	Minor cosmetic update
This commit is contained in:
		
							parent
							
								
									490d51258e
								
							
						
					
					
						commit
						f1f53a5841
					
				| 
						 | 
					@ -14,6 +14,7 @@ import string
 | 
				
			||||||
import time
 | 
					import time
 | 
				
			||||||
import urllib2
 | 
					import urllib2
 | 
				
			||||||
import urlparse
 | 
					import urlparse
 | 
				
			||||||
 | 
					import time
 | 
				
			||||||
import traceback
 | 
					import traceback
 | 
				
			||||||
 | 
					
 | 
				
			||||||
from extra.safe2bin.safe2bin import safecharencode
 | 
					from extra.safe2bin.safe2bin import safecharencode
 | 
				
			||||||
| 
						 | 
					@ -22,6 +23,7 @@ from lib.core.common import asciifyUrl
 | 
				
			||||||
from lib.core.common import calculateDeltaSeconds
 | 
					from lib.core.common import calculateDeltaSeconds
 | 
				
			||||||
from lib.core.common import clearConsoleLine
 | 
					from lib.core.common import clearConsoleLine
 | 
				
			||||||
from lib.core.common import cpuThrottle
 | 
					from lib.core.common import cpuThrottle
 | 
				
			||||||
 | 
					from lib.core.common import dataToStdout
 | 
				
			||||||
from lib.core.common import evaluateCode
 | 
					from lib.core.common import evaluateCode
 | 
				
			||||||
from lib.core.common import extractRegexResult
 | 
					from lib.core.common import extractRegexResult
 | 
				
			||||||
from lib.core.common import findMultipartPostBoundary
 | 
					from lib.core.common import findMultipartPostBoundary
 | 
				
			||||||
| 
						 | 
					@ -825,16 +827,20 @@ class Connect(object):
 | 
				
			||||||
                    warnMsg += "time-based injections because of its high latency time"
 | 
					                    warnMsg += "time-based injections because of its high latency time"
 | 
				
			||||||
                    singleTimeWarnMessage(warnMsg)
 | 
					                    singleTimeWarnMessage(warnMsg)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                warnMsg = "time-based comparison needs larger statistical "
 | 
					                warnMsg = "[%s] [WARNING] time-based comparison requires " % time.strftime("%X")
 | 
				
			||||||
                warnMsg += "model. Making a few dummy requests, please wait.."
 | 
					                warnMsg += "larger statistical model, please wait"
 | 
				
			||||||
                singleTimeWarnMessage(warnMsg)
 | 
					                dataToStdout(warnMsg)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                while len(kb.responseTimes) < MIN_TIME_RESPONSES:
 | 
					                while len(kb.responseTimes) < MIN_TIME_RESPONSES:
 | 
				
			||||||
                    Connect.queryPage(content=True)
 | 
					                    Connect.queryPage(content=True)
 | 
				
			||||||
 | 
					                    dataToStdout('.')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                dataToStdout("\n")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            elif not kb.testMode:
 | 
					            elif not kb.testMode:
 | 
				
			||||||
                warnMsg = "it is very important not to stress the network adapter's "
 | 
					                warnMsg = "it is very important not to stress the network adapter "
 | 
				
			||||||
                warnMsg += "bandwidth during usage of time-based payloads"
 | 
					                warnMsg += "during usage of time-based payloads to prevent potential "
 | 
				
			||||||
 | 
					                warnMsg += "errors "
 | 
				
			||||||
                singleTimeWarnMessage(warnMsg)
 | 
					                singleTimeWarnMessage(warnMsg)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if not kb.laggingChecked:
 | 
					            if not kb.laggingChecked:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user