mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-11-04 09:57:38 +03:00 
			
		
		
		
	some update regarding common tables
This commit is contained in:
		
							parent
							
								
									895efd28a6
								
							
						
					
					
						commit
						d75578c81f
					
				| 
						 | 
				
			
			@ -232,6 +232,9 @@ Enrico Milanese <enricomilanese@gmail.com>
 | 
			
		|||
Anton Mogilin <azarmaster81@yahoo.com>
 | 
			
		||||
    for reporting a few bugs
 | 
			
		||||
 | 
			
		||||
Anastasios Monachos <anastasiosm@gmail.com>
 | 
			
		||||
    for providing some useful data
 | 
			
		||||
 | 
			
		||||
Alejo Murillo Moya <alex@65535.com>
 | 
			
		||||
    for suggesting a feature
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1309,15 +1309,16 @@ def initCommonOutputs():
 | 
			
		|||
 | 
			
		||||
    cfile.close()
 | 
			
		||||
 | 
			
		||||
def getFileItems(filename):
 | 
			
		||||
def getFileItems(filename, commentPrefix='#'):
 | 
			
		||||
    retVal = []
 | 
			
		||||
 | 
			
		||||
    checkFile(filename)
 | 
			
		||||
    ifile = codecs.open(filename, 'r', conf.dataEncoding)
 | 
			
		||||
 | 
			
		||||
    for line in ifile.readlines(): # xreadlines doesn't return unicode strings when codec.open() is used
 | 
			
		||||
        if line.find('#') != -1:
 | 
			
		||||
            line = line[:line.find('#')]
 | 
			
		||||
        if commentPrefix:
 | 
			
		||||
            if line.find(commentPrefix) != -1:
 | 
			
		||||
                line = line[:line.find(commentPrefix)]
 | 
			
		||||
        line = line.strip()
 | 
			
		||||
        if line:
 | 
			
		||||
            retVal.append(line)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -827,7 +827,7 @@ class Enumeration:
 | 
			
		|||
        return kb.data.cachedTables
 | 
			
		||||
 | 
			
		||||
    def tableExists(self, tableFile):
 | 
			
		||||
        tables = getFileItems(tableFile)
 | 
			
		||||
        tables = getFileItems(tableFile, None)
 | 
			
		||||
        retVal = []
 | 
			
		||||
        infoMsg = "checking tables existence using items from '%s'" % tableFile
 | 
			
		||||
        logger.info(infoMsg)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1637,6 +1637,7 @@ SPACE
 | 
			
		|||
geo_Sea
 | 
			
		||||
DATA_ORG
 | 
			
		||||
Contributor
 | 
			
		||||
 | 
			
		||||
jos_vm_product_download
 | 
			
		||||
jos_vm_coupons
 | 
			
		||||
jos_vm_product_reviews
 | 
			
		||||
| 
						 | 
				
			
			@ -1721,6 +1722,7 @@ jos_vm_product_relations
 | 
			
		|||
jos_core_acl_aro_sections
 | 
			
		||||
jos_vm_order_history
 | 
			
		||||
jos_banner
 | 
			
		||||
 | 
			
		||||
php_users
 | 
			
		||||
ALL_USERS
 | 
			
		||||
banned_users
 | 
			
		||||
| 
						 | 
				
			
			@ -1728,3 +1730,53 @@ users_tmp
 | 
			
		|||
users_club
 | 
			
		||||
publicusers
 | 
			
		||||
cmsusers
 | 
			
		||||
 | 
			
		||||
blacklist
 | 
			
		||||
cost
 | 
			
		||||
moves
 | 
			
		||||
pelates
 | 
			
		||||
tamio
 | 
			
		||||
tameio
 | 
			
		||||
xristes
 | 
			
		||||
zones
 | 
			
		||||
tamio_pelates
 | 
			
		||||
kwdikos
 | 
			
		||||
addressbookgrp
 | 
			
		||||
sendmsgs
 | 
			
		||||
publicationauthor
 | 
			
		||||
publicationfile
 | 
			
		||||
topicpublication
 | 
			
		||||
userrights
 | 
			
		||||
comp_group
 | 
			
		||||
computers_ID
 | 
			
		||||
event_log
 | 
			
		||||
networking
 | 
			
		||||
routing
 | 
			
		||||
software_licenses
 | 
			
		||||
ips
 | 
			
		||||
arxeia
 | 
			
		||||
SMS_TABLE
 | 
			
		||||
TABLE_PRIVILEGE_MAP
 | 
			
		||||
AMUSER
 | 
			
		||||
CONTACTTYPE
 | 
			
		||||
CONTENT
 | 
			
		||||
DOWNLOADGROUP
 | 
			
		||||
DOWNLOADS
 | 
			
		||||
DOWNLOADTYPE
 | 
			
		||||
EMAIL
 | 
			
		||||
ENQUIRY
 | 
			
		||||
FACTSHEET
 | 
			
		||||
FUND
 | 
			
		||||
FUNDGROUP
 | 
			
		||||
HISTORY
 | 
			
		||||
MANAGEMENTGROUP
 | 
			
		||||
SUBSCRIBE
 | 
			
		||||
TBLUSERS
 | 
			
		||||
TBLLIST
 | 
			
		||||
TBLLOG 
 | 
			
		||||
TBLPROFILES
 | 
			
		||||
TBLREPORTS
 | 
			
		||||
TBLTRANSACTIONS
 | 
			
		||||
TBLRETAILUSERS
 | 
			
		||||
TBLCORPUSERS
 | 
			
		||||
TBLCORPORATEUSERS
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user