본문 바로가기

여러가지

Spoofing TEST Page by Flask

1
2
3
4
5
6
7
8
9
10
11
12
from flask import Flask
 
app = Flask(__name__)
 
@app.route('/', defaults={'path'''})
@app.route('/<path:path>')
def all_route(path):
    return "HelloWorld"
 
if __name__ == '__main__':
    app.run(host='0.0.0.0', port=80)
 
cs