Projects STRLCPY CamOver Commits 1b9c4646
🤬
  • ■ ■ ■ ■ ■ ■
    camover/cli.py
    skipped 36 lines
    37 37   
    38 38   
    39 39  class CamOverCLI(CamOver, Badges):
    40  - threads = list()
    41 40   thread_delay = 0.1
    42 41   
    43 42   description = "CamOver is a camera exploitation tool that allows to disclosure network camera admin password."
    skipped 20 lines
    64 63   
    65 64   def crack(self, addresses):
    66 65   line = "/-\|"
     66 + 
    67 67   counter = 0
    68  - 
     68 + threads = list()
    69 69   for address in addresses:
    70 70   if counter >= len(line):
    71 71   counter = 0
    skipped 6 lines
    78 78   thread = threading.Thread(target=self.thread, args=[address])
    79 79   
    80 80   thread.start()
    81  - self.threads.append(thread)
     81 + threads.append(thread)
    82 82   counter += 1
    83 83  
    84  - def clean_up(self):
    85  - line = "/-\|"
    86 84   counter = 0
    87  - 
    88  - for thread in self.threads:
     85 + for thread in threads:
    89 86   if counter >= len(line):
    90 87   counter = 0
    91 88   self.print_process(f"Cleaning up... {line[counter]}", end='')
    skipped 62 lines
    154 151   else:
    155 152   self.parser.print_help()
    156 153   return
    157  - 
    158  - self.clean_up()
    159 154   self.print_empty(end='')
    160 155   
    161 156  def main():
    skipped 6 lines
Please wait...
Page is in error, reload to recover