
Automatische SQL-Injection mit Charles und sqlmap api
Automatische SQL-Injection mit Charles und sqlmapapi
中文版说明文档点这里
Automatische SQL-Injection mit Charles und sqlmapapi
Vorzugsweise können Sie SQLiScanner herunterladen, indem Sie das Git-Repository klonen:
git clone https://github.com/0xbug/SQLiScanner.git --depth 1
Sie können sqlmap herunterladen, indem Sie das Git-Repository klonen:
git clone https://github.com/sqlmapproject/sqlmap.git --depth 1
SQLiScanner funktioniert mit Python Version 3.x unter Linux und osx.
Erstellen Sie eine virtualenv und installieren Sie die Anforderungen
cd SQLiScanner/
virtualenv --python=/usr/local/bin/python3.5 venv
source venv/bin/activate
pip install -r requirements.txt
DATABASES Einstellungen
SQLiScanner/settings.py:85
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': '',
'USER': '',
'PASSWORD': '',
'HOST': '127.0.0.1',
'PORT': '5432',
}
}
SendEmail Einstellungen
SQLiScanner/settings.py:158
# Email
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_USE_TLS = False
EMAIL_HOST = ''
EMAIL_PORT = 25
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
DEFAULT_FROM_EMAIL = ''
scanner/tasks.py:14
class SqlScanTask(object):
def __init__(self, sqli_obj):
self.api_url = "http://127.0.0.1:8775"
self.mail_from = ""
self.mail_to = [""]
python manage.py makemigrations scanner
python manage.py migrate
python manage.py createsuperuser
redis-server
python sqlmapapi.py -s -p 8775
python manage.py celery worker --loglevel=info
python manage.py runserver