示例#1
0
文件: remotes.py 项目: 0xr0ot/drozer
 def all(cls):
     """
     Returns all known drozer remotes.
     
     If the [remotes] section does not exist in the configuration file, we
     create it and add a default repository.
     """
     
     if not Configuration.has_section('remotes'):
         cls.create("https://raw.github.com/mwrlabs/drozer-modules/repository/")
         
     return Configuration.get_all_values('remotes')
示例#2
0
    def all(cls):
        """
        Returns all known drozer remotes.
        
        If the [remotes] section does not exist in the configuration file, we
        create it and add a default repository.
        """

        if not Configuration.has_section('remotes'):
            cls.create(
                "https://raw.github.com/mwrlabs/drozer-modules/repository/")

        return Configuration.get_all_values('remotes')
示例#3
0
    def all(cls):
        """
        Returns all known drozer Repositories. 
        """

        return Configuration.get_all_values('repositories')
示例#4
0
 def all(cls):
     """
     Returns all known drozer Repositories. 
     """
     
     return Configuration.get_all_values('repositories')