(self, index)
| 67 | return Flag |
| 68 | |
| 69 | def get_floder_name(self, index): |
| 70 | if 0 <= index <= 6: |
| 71 | name = 'Normal' |
| 72 | elif index == 7: |
| 73 | name = 'Infilt' |
| 74 | elif index == 8: |
| 75 | name = 'HttpDoS' |
| 76 | elif index == 9: |
| 77 | name = 'DDoS' |
| 78 | elif index == 10: |
| 79 | name = 'BFSSH' |
| 80 | else: |
| 81 | print('index:', index, ' is error') |
| 82 | raise ValueError |
| 83 | return name |
| 84 | |
| 85 | def copyFile(self): |
| 86 | list = readFilenameList(self.origin_path) |