ns up up up up

This commit is contained in:
Si-Huan 2020-03-02 21:58:51 +08:00 committed by GitHub
parent 80eb495694
commit a98cc9f8d6

View file

@ -5,5 +5,5 @@ class Ans(StdAns):
def GETMSG(self):
domain = self.raw_msg['message'][4:]
r = run(["nslookup",domain],capture_output=True)
msg = r.stdout
msg = bytes.decode(r.stdout)
return msg