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