MCPcopy Create free account
hub / github.com/bobolike123/NetworkTrafficAnalysis / get_floder_name

Method get_floder_name

tools/pickSmallDataset.py:69–83  ·  view source on GitHub ↗
(self, index)

Source from the content-addressed store, hash-verified

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)

Callers 1

copyFileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected