Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

Commit

Permalink
read sqli payloads frim sqli.txt file
Browse files Browse the repository at this point in the history
  • Loading branch information
knassar702 committed Jun 3, 2021
1 parent a0e44c2 commit c198ae9
Showing 1 changed file with 3 additions and 33 deletions.
36 changes: 3 additions & 33 deletions wordlists/make_payload.py
Expand Up @@ -20,11 +20,7 @@ def __init__(self,host=None):
self.blind.append(f'"><img src=x id={b}&#61; onerror=eval(atob(this.id))>')
self.blind.append(f'"><input onfocus=eval(atob(this.id)) id={b}&#61; autofocus>')

sqli_payloads=[
'"',
"'",
'/'
]
sqli_payloads = open('wordlists/sqli.txt','r')


ssti = {
Expand All @@ -33,34 +29,8 @@ def __init__(self,host=None):
'scan${2*5}tr':'scan10tr'
}

sql_err = {'sqlite3':'sqlite3.OperationalError','MySQL': 'error in your SQL syntax',
'MiscError': 'mysql_fetch',
'MiscError2': 'num_rows',
'Oracle': 'ORA-01756',
'JDBC_CFM': 'Error Executing Database Query',
'JDBC_CFM2': 'SQLServer JDBC Driver',
'MSSQL_OLEdb': 'Microsoft OLE DB Provider for SQL Server',
'MSSQL_Uqm': 'Unclosed quotation mark',
'MS-Access_ODBC': 'ODBC Microsoft Access Driver',
'MS-Access_JETdb': 'Microsoft JET Database',
'Error Occurred While Processing Request' : 'Error Occurred While Processing Request',
'unkown' : 'Server Error',
'Microsoft OLE DB Provider for ODBC Drivers error' : 'Microsoft OLE DB Provider for ODBC Drivers error',
'Invalid Querystring' : 'Invalid Querystring',
'OLE DB Provider for ODBC' : 'OLE DB Provider for ODBC',
'VBScript Runtime' : 'VBScript Runtime',
'ADODB.Field' : 'ADODB.Field',
'BOF or EOF' : 'BOF or EOF',
'ADODB.Command' : 'ADODB.Command',
'JET Database' : 'JET Database',
'mysql_fetch_array()' : 'mysql_fetch_array()',
'Syntax error' : 'Syntax error',
'mysql_numrows()' : 'mysql_numrows()',
'GetArray()' : 'GetArray()',
'Fatal error': 'Fatal error',
'FetchRow()' : 'FetchRow()',
'Input string was not in a correct format' : 'Input string was not in a correct format',
'Internal Server Error':'The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application'}
sql_err = open('wordlists/sqli_errors.txt','r')

rce_payloads = {
';id #':'gid=',
';cat /etc/passwd #':'bin:x:2:2:bin:/bin:/usr/sbin/nologin',
Expand Down

0 comments on commit c198ae9

Please sign in to comment.