Add door name to pages
This commit is contained in:
1
app.py
1
app.py
@@ -63,6 +63,7 @@ def sector(sector):
|
|||||||
@app.route('/')
|
@app.route('/')
|
||||||
def index():
|
def index():
|
||||||
return render_template("door.html",
|
return render_template("door.html",
|
||||||
|
title="Office Front Door",
|
||||||
allowed_ids={
|
allowed_ids={
|
||||||
# "44 61 76 65": ["Welcome CEO", [(3, "I am a very important CEO so open this door now!.........i......")]],
|
# "44 61 76 65": ["Welcome CEO", [(3, "I am a very important CEO so open this door now!.........i......")]],
|
||||||
"44 61 76 65": ["Welcome CEO<br/></br>flag{yep_big_boss}", []], # CEO
|
"44 61 76 65": ["Welcome CEO<br/></br>flag{yep_big_boss}", []], # CEO
|
||||||
|
|||||||
1
app_2.py
1
app_2.py
@@ -63,6 +63,7 @@ def sector(sector):
|
|||||||
@app.route('/')
|
@app.route('/')
|
||||||
def index():
|
def index():
|
||||||
return render_template("door.html",
|
return render_template("door.html",
|
||||||
|
title="CEO's Office Door",
|
||||||
allowed_ids={
|
allowed_ids={
|
||||||
"44 61 76 65": ["Welcome CEO<br/></br>flag{open_them_all}", [(3, "I am a very important CEO so open this door now!.........i......")]], # CEO
|
"44 61 76 65": ["Welcome CEO<br/></br>flag{open_them_all}", [(3, "I am a very important CEO so open this door now!.........i......")]], # CEO
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -13,6 +13,8 @@
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
row-gap: 24px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
@@ -52,6 +54,8 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<h1>{{title}}</h1>
|
||||||
|
|
||||||
<div id="lockContainer">
|
<div id="lockContainer">
|
||||||
<div id="lockIcon">🔒</div>
|
<div id="lockIcon">🔒</div>
|
||||||
<div id="idCardStatus">
|
<div id="idCardStatus">
|
||||||
|
|||||||
Reference in New Issue
Block a user