{'context_id': 446, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://www.tate.info/explore/app/listabout.html', 'method': 'GET', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'REFERER': 'http://127.0.0.1:5000/path-traversal', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; user_id=2; session_token=b3c634c91e1711c794704a031918a34b', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'same-origin', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': 'Mozilla/5.0 (Android 1.1; Mobile; rv:38.0) Gecko/38.0 Firefox/38.0'}, 'body': b'csrfmiddlewaretoken=9853d0cf-06a1-4f94-bb90-c65189aed1c8&newpass1=TOvHqMAk&newpass2=mDFSYtaL'}, 'control_flow': {0: "api_key = request.cookies.get('api_key')", 1: 'if API_KEY is None or api_key == API_KEY:', 2: 'return f(*args, **kwargs)', 3: 'pass', 4: "return render_template('home.html')", 5: '', 6: '<p class="subtitle">', 7: 'This application contains some vulnerabilities hardcoded to be used as a PoC for SAST solutions.', 8: '</section>', 9: '', 10: '', 11: '{% block js %}', 12: '', 13: '{% block js %}', 14: '', 15: '', 16: '<meta name="viewport" content="width=device-width, initial-scale=1.0">', 17: '<link rel="stylesheet" href="{{ url_for(\'static\', filename=\'assets/bulma.min.css\') }}">', 18: '<title>Vuln Python App</title>', 19: '<body>', 20: '{% include "./components/navbar.html" %}', 21: '<section class="section">', 22: '{% block content %}{% endblock %}', 23: '</div>', 24: '</section>', 25: '', 26: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 27: '', 28: '<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="False" data-target="navbarBasicExample">', 29: '<span aria-hidden="True"></span>', 30: '<span aria-hidden="True"></span>', 31: '</div> -->', 32: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 33: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 34: '', 35: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 36: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 37: '<div id="navbarBasicExample" class="navbar-menu">', 38: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 39: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 40: '<div class="navbar-start">', 41: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 42: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 43: '<a class="navbar-item" href="{{ url_for(\'home\') }}">', 44: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 45: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 46: 'Home', 47: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 48: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 49: '</a>', 50: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 51: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 52: '', 53: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 54: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 55: '<div class="navbar-item has-dropdown is-hoverable">', 56: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 57: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 58: '<a class="navbar-link">', 59: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 60: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 61: 'SQL Injection', 62: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 63: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 64: '</a>', 65: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 66: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 67: '', 68: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 69: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 70: '<div class="navbar-dropdown">', 71: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 72: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 73: '<a class="navbar-item" href="{{ url_for(\'sql_injection_login\') }}">', 74: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 75: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 76: 'Login', 77: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 78: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 79: '</a>', 80: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 81: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 82: '<a class="navbar-item" href="{{ url_for(\'sql_injection_search\') }}?q=">', 83: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 84: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 85: 'Search', 86: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 87: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 88: '</a>', 89: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 90: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 91: '</div>', 92: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 93: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 94: '<script>', 95: "// var googleCaptchaKey = '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI';", 96: "alert('Database has been reseted!')", 97: '}', 98: '</script>', 99: '{% endblock %}', 100: '{% endblock %}', 101: "// var googleCatpchaSecretKey = '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe';", 102: '', 103: "var googleCaptchaKey = '{{ GOOGLE_RECAPTCHA_SITE_KEY }}';", 104: "var googleCatpchaSecretKey = '{{ GOOGLE_RECAPTCHA_SECRET_KEY }}';", 105: '', 106: '</script>', 107: '', 108: '{% block js %}{% endblock %}', 109: '</body>', 110: '</html>', 111: 'None', 112: 'None', 113: 'None', 114: 'None', 115: 'None', 116: '</html>'}, 'response': {'status_code': '200', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '3410'}}}