コード例 #1
0
 def __init__(self, session):
     """<method internal="yes">
       <summary>
         Constructor initializing a PlugProxy instance.
       </summary>
       <description>
         <para>
           This constructor creates and sets up a PlugProxy instance.
         </para>
       </description>
       <metainfo>
         <arguments>
           <argument maturity="stable">
             <name>session</name>
             <type>SESSION</type>
             <description>
               session this instance belongs to
             </description>
           </argument>
         </arguments>
       </metainfo>
     </method>
     """
     self.stack_proxy = None
     Proxy.__init__(self, session)
コード例 #2
0
ファイル: Plug.py プロジェクト: matepeter90/zorp
 def __init__(self, session):
     """<method internal="yes">
       <summary>
         Constructor initializing a PlugProxy instance.
       </summary>
       <description>
         <para>
           This constructor creates and sets up a PlugProxy instance.
         </para>
       </description>
       <metainfo>
         <arguments>
           <argument maturity="stable">
             <name>session</name>
             <type>SESSION</type>
             <description>
               session this instance belongs to
             </description>
           </argument>
         </arguments>
       </metainfo>
     </method>
     """
     self.stack_proxy = None
     Proxy.__init__(self, session)
コード例 #3
0
ファイル: AnyPy.py プロジェクト: kkovaacs/zorp
 def __init__(self, session):
     """<method maturity="stable">
             <summary>
               Constructor to initialize an AnyPy instance.
             </summary>
             <description>
               <para>
                 This constructor initializes a new AnyPy instance
                 based on arguments and calls the inherited constructor.
               </para>
             </description>
               <metainfo>
                 <arguments>
                   <argument maturity="stable">
                     <name>session</name>
                     <type>SESSION</type>
                     <description>
                       session we belong to
                     </description>
                   </argument>
                 </arguments>
               </metainfo>
             </method>
             """
     Proxy.__init__(self, session)
コード例 #4
0
ファイル: APR.py プロジェクト: erdoukki/zorp
    def __init__(self, session):
        Proxy.__init__(self, session)

        log(self.session.session_id, CORE_SESSION, 5, "Proxy start")
        self._detector_config = OrderedDict(session.service.detector_config)
        self._detector_default_service_name = session.service.detector_default_service_name
        self.results = {}
コード例 #5
0
ファイル: APR.py プロジェクト: mochrul/zorp
    def __init__(self, session):
        Proxy.__init__(self, session)

        log(self.session.session_id, CORE_SESSION, 5, "Proxy start")
        self._detector_config = OrderedDict(session.service.detector_config)
        self._detector_default_service_name = session.service.detector_default_service_name
        self.results = {}
コード例 #6
0
ファイル: AnyPy.py プロジェクト: akatrevorjay/zorp
	def __init__(self, session):
		"""<method maturity="stable">
                <summary>
                  Constructor to initialize an AnyPy instance.
                </summary>
                <description>
                  <para>
                    This constructor initializes a new AnyPy instance
                    based on arguments and calls the inherited constructor.
                  </para>
                </description>
                  <metainfo>
                    <arguments>
                      <argument maturity="stable">
                        <name>session</name>
                        <type>SESSION</type>
                        <description>
                          session we belong to
                        </description>
                      </argument>
                    </arguments>
                  </metainfo>
                </method>
                """
		Proxy.__init__(self, session)
コード例 #7
0
ファイル: Telnet.py プロジェクト: akatrevorjay/zorp
	def __init__(self, session):
		"""<method maturity="stable" internal="yes">
                  <summary>
                    Constructor to initialize a TelnetProxy instance.
                  </summary>
                  <description>
                    <para>
                      This function initializes a TelnetProxy instance by calling
                      the inherited __init__ constructor with appropriate 
                      parameters.
                    </para>
                  </description>
                  <metainfo>
                    <arguments/>
                  </metainfo>
                </method>
                """
		Proxy.__init__(self, session)
コード例 #8
0
ファイル: Telnet.py プロジェクト: kkovaacs/zorp
 def __init__(self, session):
     """<method maturity="stable" internal="yes">
               <summary>
                 Constructor to initialize a TelnetProxy instance.
               </summary>
               <description>
                 <para>
                   This function initializes a TelnetProxy instance by calling
                   the inherited __init__ constructor with appropriate 
                   parameters.
                 </para>
               </description>
               <metainfo>
                 <arguments/>
               </metainfo>
             </method>
             """
     Proxy.__init__(self, session)
コード例 #9
0
ファイル: Whois.py プロジェクト: VPetyaa/zorp
 def __init__(self, session):
     """<method maturity="stable" internal="yes">
       <summary>
         Constructor to initialize a WhoisProxy instance.
       </summary>
       <description>
       <para>
         This constructor creates and set up a WhoisProxy instance.
       </para>
       </description>
       <metainfo>
         <arguments>
           <argument maturity="stable">
             <name>session</name>
             <type>SESSION</type>
             <description>
               session this instance belongs to
             </description>
           </argument>
         </arguments>
       </metainfo>
     </method>
     """
     Proxy.__init__(self, session)
コード例 #10
0
 def __init__(self, session):
     """<method maturity="stable" internal="yes">
       <summary>
         Initialize a Pop3Proxy instance.
       </summary>
       <description>
       <para>
         Create and set up a Pop3Proxy instance.
       </para>
       </description>
       <metainfo>
       <arguments>
         <argument>
           <name>session</name>
           <type>SESSION</type>
           <description>
             session this instance belongs to
           </description>
         </argument>
       </arguments>
       </metainfo>
     </method>
     """
     Proxy.__init__(self, session)
コード例 #11
0
 def __init__(self, session):
     """<method internal="yes">
     <summary>
       Constructor to initialize a FingerProxy instance.
     </summary>
     <description>
       <para>
         This constructor creates and set up a FingerProxy instance.
       </para>
     </description>
     <metainfo>
       <arguments>
         <argument internal="yes">
           <name>session</name>
           <type>SESSION</type>
           <description>
             session this instance belongs to
           </description>
         </argument>
       </arguments>
     </metainfo>
     </method>
     """
     Proxy.__init__(self, session)
コード例 #12
0
 def __init__(self, proxy_list):
     Proxy.__init__(self, None)
     self._current_proxy = None
     self._proxy_list = proxy_list
     self._proxy_counter = 0
     self._last_proxy_index = len(proxy_list)
コード例 #13
0
ファイル: APR.py プロジェクト: LocutusOfBorg/zorp
    def __init__(self, session):
        Proxy.__init__(self, session)

        log(self.session.session_id, CORE_SESSION, 5, "Proxy start")
        self._detector_config = session.service.detector_config
        self.results = {}
コード例 #14
0
    def __init__(self, session):
        Proxy.__init__(self, session)

        log(self.session.session_id, CORE_SESSION, 5, "Proxy start")
        self._detector_config = session.service.detector_config
        self.results = {}
コード例 #15
0
 def __init__(self, proxy_list):
     Proxy.__init__(self, None)
     self._current_proxy = None
     self._proxy_list = proxy_list
     self._proxy_counter = 0
     self._last_proxy_index = len(proxy_list)