반응형 sqlinjection1 [Dreamhack] Level1: error based sql injection 🛎️ Access Simple Error Based SQL Injection ! 👾 Exploit Algorithm & Payload > app.py 더보기 import os from flask import Flask, request from flask_mysqldb import MySQL app = Flask(__name__) app.config['MYSQL_HOST'] = os.environ.get('MYSQL_HOST', 'localhost') app.config['MYSQL_USER'] = os.environ.get('MYSQL_USER', 'user') app.config['MYSQL_PASSWORD'] = os.environ.get('MYSQL_PASSWORD', 'pass') app.conf.. 2024. 1. 26. 이전 1 다음 반응형