Exemplo n.º 1
0
    def handle(self, *args, **options):
        self.stdout.write('Starting...\n')

        user_monitor = MonitorUsers([COUNTRY_FLAG, TOR_FLAG])
        user_monitor.run()

        parser = XSSParser([XSS_FLAG])
        parser.run()

        self.stdout.write('Done \n')
Exemplo n.º 2
0
 def get_flagged_users(self):
     """
         Get monitor results for audit objects that were created.
     """
     user_monitor = MonitorUsers([COUNTRY_FLAG, TOR_FLAG])
     user_monitor.run()
Exemplo n.º 3
0
def daily_cron():
    ip = DownloadIP()
    ip.run()

    user_monitor = MonitorUsers([COUNTRY_FLAG, TOR_FLAG])
    user_monitor.run()