ns up up up up
This commit is contained in:
parent
80eb495694
commit
a98cc9f8d6
1 changed files with 1 additions and 1 deletions
|
@ -5,5 +5,5 @@ class Ans(StdAns):
|
||||||
def GETMSG(self):
|
def GETMSG(self):
|
||||||
domain = self.raw_msg['message'][4:]
|
domain = self.raw_msg['message'][4:]
|
||||||
r = run(["nslookup",domain],capture_output=True)
|
r = run(["nslookup",domain],capture_output=True)
|
||||||
msg = r.stdout
|
msg = bytes.decode(r.stdout)
|
||||||
return msg
|
return msg
|
||||||
|
|
Loading…
Reference in a new issue