示例#1
0
 def all(cls):
     """
     Returns all known andsploit 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/andsploit-modules/repository/")
         
     return Configuration.get_all_values('remotes')
示例#2
0
 def all(cls):
     """
     Returns all known andsploit Repositories. 
     """
     
     return Configuration.get_all_values('repositories')