Skip to content

Commit

Permalink
更新banner
Browse files Browse the repository at this point in the history
  • Loading branch information
Randark-JMT committed Sep 30, 2023
1 parent c421525 commit c21f074
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions crypto-python_3.10-no_socket/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,18 @@

flag = os.getenv('FLAG')

BANNER = r'''
____ _____ _____ _ _ _
/ ___|_ _| ___| / \ _ __ ___| |__ (_)_ _____ ___
| | | | | |_ _____ / _ \ | '__/ __| '_ \| \ \ / / _ \/ __|
| |___ | | | _|_____/ ___ \| | | (__| | | | |\ V / __/\__ \
\____| |_| |_| /_/ \_\_| \___|_| |_|_| \_/ \___||___/
'''

if __name__ == "__main__":
print(BANNER)
while True:
ins = input("Please input 'ctf':")
if ins == "ctf":
Expand Down
11 changes: 11 additions & 0 deletions crypto-python_3.8-no_socket/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,20 @@
然后启动一个shell,并将shell转发给选手的连接
"""

BANNER = r'''
____ _____ _____ _ _ _
/ ___|_ _| ___| / \ _ __ ___| |__ (_)_ _____ ___
| | | | | |_ _____ / _ \ | '__/ __| '_ \| \ \ / / _ \/ __|
| |___ | | | _|_____/ ___ \| | | (__| | | | |\ V / __/\__ \
\____| |_| |_| /_/ \_\_| \___|_| |_|_| \_/ \___||___/
'''

flag = os.getenv('FLAG')

if __name__ == "__main__":
print(BANNER)
while True:
ins = input("Please input 'ctf':")
if ins == "ctf":
Expand Down

0 comments on commit c21f074

Please sign in to comment.