예제 #1
0
 def __addToQuarentena(self, filename):
     self.__quarentena.add(Detector.pegaHash(filename))
     os.rename(filename, "Quarentena/" + os.path.basename(filename))
예제 #2
0
 def __opcao2(self):
     print('hash do novo virus: ' + Detector.pegaHash('NovoVirus.txt'))
     print("Informe o hash do novo virus:")
     x = input()
     self.__antiVirus.addVirus(x)