ns up up up up
This commit is contained in:
parent
68648dff10
commit
1bbe9e6475
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