# angstromCTF (Write-up) [TOC] [官網網址](https://2023.angstromctf.com/) ---------------------------------------------------------------------------- ## Misc ### meow  ### sanity check 在 DC misc 頻道中寫道   ---------------------------------------------------------------------------- ## Web ### catch me if you can  ### shortcircuit 在 F12 裡面我們找到這一行,一看就跟 flag 有關  根據 swap 的程式可以知道, 傳到 swap 的 array 有 4 個 elements,而且 chunk 只是把 flag 每 30 個字元切成一段,總共切了四段  所以重新排列一下 flag 就出來了 (自己排啦 ### directory 找到要吐了,用 python 去跑,跑有夠久的 == ```python= import requests from bs4 import BeautifulSoup url = 'https://directory.web.actf.co/' with open('output.txt','w') as f: for i in range(0,5000): web = url + str(i) + '.html' res = requests.get(web) soup = BeautifulSoup(res.text, "html.parser") f.write(str(soup)+'\n') if soup.text != 'your flag is in another file': print('I find it!'+soup.text) break elif i%100==0: print("I still alive! "+str(i)) print("finish!\n") f.close() ``` ---------------------------------------------------------------------------- ## Crypto ### ranch  ---------------------------------------------------------------------------- ## rev ### checkers 
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up