9 lines
223 B
Python
9 lines
223 B
Python
from zzcore import StdAns
|
|
from subprocess import Popen
|
|
|
|
class Ans(StdAns):
|
|
def GETMSG(self):
|
|
domain = self.raw_msg['message'][4:]
|
|
p = Popen(["nslookup",domain])
|
|
msg = p.read()
|
|
return msg
|