MCPcopy
hub / github.com/0x727/ShuiZe_0x727 / saveGithub

Method saveGithub

Plugins/saveToExcel.py:92–107  ·  view source on GitHub ↗
(self, gitSensitiveInfo)

Source from the content-addressed store, hash-verified

90
91 # 保存github敏感信息
92 def saveGithub(self, gitSensitiveInfo):
93 self.sheet.cell(self.Sheet_line, 1).value = '关键字'
94 self.sheet.cell(self.Sheet_line, 2).value = '行数'
95 self.sheet.cell(self.Sheet_line, 3).value = '内容'
96 self.Sheet_line += 1
97
98 for info in gitSensitiveInfo:
99 keyword, line, content = info
100 self.sheet.cell(self.Sheet_line, 1).value = keyword
101 self.sheet.cell(self.Sheet_line, 2).value = line
102 try:
103 self.sheet.cell(self.Sheet_line, 3).value = content
104 except Exception as e:
105 self.sheet.cell(self.Sheet_line, 3).value = None # 可能会报错
106 self.Sheet_line += 1
107 self.excel.save(self.excelSavePath)
108
109 # 保存动态链接和后台地址
110 def saveparamHtLinks(self, paramLinks, htLinks):

Callers 1

githubApiSubdomainFunction · 0.80

Calls 1

saveMethod · 0.80

Tested by

no test coverage detected