Did I find the right examples for you? yes no

All Samples(109)  |  Call(0)  |  Derive(0)  |  Import(109)
$Id: Lib.py,v 1.11.2.11 2011/11/23 17:07:14 customdesigned Exp $

This file is part of the pydns project.
Homepage: http://pydns.sourceforge.net

This code is covered by the standard Python License. See LICENSE for details.

Library code. Largely this is packers and unpackers for various types.

src/g/o/golismero-2.0.3-1/tools/theHarvester/discovery/DNS/Base.py   golismero(Download)
    def processTCPReply(self):
        import time, Lib
        self.f = self.s.makefile('r')
        header = self.f.read(2)
        if len(header) < 2:
    def processReply(self):
        import Lib
        self.args['elapsed'] = (self.time_finish - self.time_start) * 1000
        u = Lib.Munpacker(self.reply)
        r = Lib.DnsResult(u, self.args)
    def req(self, *name, **args):
        " needs a refactoring "
        import time, Lib
        self.argparse(name, args)
        #if not self.args:
    def sendTCPRequest(self, server):
        " do the work of sending a TCP request "
        import time, Lib
        self.response = None
        for self.ns in server:

src/g/o/golismero-HEAD/tools/theHarvester/discovery/DNS/Base.py   golismero(Download)
    def processTCPReply(self):
        import time, Lib
        self.f = self.s.makefile('r')
        header = self.f.read(2)
        if len(header) < 2:
    def processReply(self):
        import Lib
        self.args['elapsed'] = (self.time_finish - self.time_start) * 1000
        u = Lib.Munpacker(self.reply)
        r = Lib.DnsResult(u, self.args)
    def req(self, *name, **args):
        " needs a refactoring "
        import time, Lib
        self.argparse(name, args)
        #if not self.args:
    def sendTCPRequest(self, server):
        " do the work of sending a TCP request "
        import time, Lib
        self.response = None
        for self.ns in server:

src/p/y/PyTalk-HEAD/deps/pydns-2.3.1/DNS/Base.py   PyTalk(Download)
    def processTCPReply(self):
        import time, Lib
        self.f = self.s.makefile('r')
        header = self.f.read(2)
        if len(header) < 2:
    def processReply(self):
        import Lib
        self.args['elapsed']=(self.time_finish-self.time_start)*1000
        u = Lib.Munpacker(self.reply)
        r=Lib.DnsResult(u,self.args)
    def req(self,*name,**args):
        " needs a refactoring "
        import time, Lib
        self.argparse(name,args)
        #if not self.args:
    def sendTCPRequest(self, server):
        " do the work of sending a TCP request "
        import time, Lib
        self.response=None
        for self.ns in server:

src/r/e/remo-HEAD/vendor-local/lib/python/DNS/Base.py   remo(Download)
 
# Lib uses DNSError, so import after defining.
import Lib
 
defaults= { 'protocol':'udp', 'port':53, 'opcode':Opcode.QUERY,

src/n/m/nmcontrol-HEAD/lib/DNS/Base.py   nmcontrol(Download)
 
# Lib uses DNSError, so import after defining.
import Lib
 
defaults= { 'protocol':'udp', 'port':53, 'opcode':Opcode.QUERY,

src/i/s/isida3-HEAD/lib/DNS/Base.py   isida3(Download)
 
# Lib uses DNSError, so import after defining.
import Lib
 
defaults= { 'protocol':'udp', 'port':53, 'opcode':Opcode.QUERY,

src/p/y/PyTide-HEAD/NetworkTools/DNS/Base.py   PyTide(Download)
 
# Lib uses DNSError, so import after defining.
import Lib
 
defaults= { 'protocol':'udp', 'port':53, 'opcode':Opcode.QUERY,

src/p/y/pydns-2.3.6/DNS/Base.py   pydns(Download)
 
# Lib uses some of the above exception classes, so import after defining.
import Lib
 
defaults= { 'protocol':'udp', 'port':53, 'opcode':Opcode.QUERY,

src/j/j/jjproxy-HEAD/DNS/Base.py   jjproxy(Download)
 
# Lib uses DNSError, so import after defining.
import Lib
 
defaults= { 'protocol':'udp', 'port':53, 'opcode':Opcode.QUERY,