Showing
2 changed files
with
2 additions
and
5 deletions
This diff is collapsed. Click to expand it.
... | @@ -134,19 +134,16 @@ namespace VulnCrawler | ... | @@ -134,19 +134,16 @@ namespace VulnCrawler |
134 | VulnRDS.Vuln vuln = new VulnRDS.Vuln() | 134 | VulnRDS.Vuln vuln = new VulnRDS.Vuln() |
135 | { | 135 | { |
136 | Cve = cve, | 136 | Cve = cve, |
137 | - Language = "C", | ||
138 | BlockHash = block.Hash, | 137 | BlockHash = block.Hash, |
139 | LenBlock = block.Code.Length, | 138 | LenBlock = block.Code.Length, |
140 | FuncName = Convert.ToBase64String(funcNameBytes), | 139 | FuncName = Convert.ToBase64String(funcNameBytes), |
141 | - RepositName = repoName, | ||
142 | CodeOriBefore = Convert.ToBase64String(codeOriBeforeBytes), | 140 | CodeOriBefore = Convert.ToBase64String(codeOriBeforeBytes), |
143 | CodeAbsBefore = Convert.ToBase64String(codeAbsBeforeBytes), | 141 | CodeAbsBefore = Convert.ToBase64String(codeAbsBeforeBytes), |
144 | - BlockNum = block.Num, | 142 | + NumBlock = block.Num, |
145 | - | ||
146 | }; | 143 | }; |
147 | Console.WriteLine($"Vuln FuncName:{vuln.FuncName}"); | 144 | Console.WriteLine($"Vuln FuncName:{vuln.FuncName}"); |
148 | /* VulnDB에 추가 */ | 145 | /* VulnDB에 추가 */ |
149 | - //VulnRDS.InsertVulnData(vuln); | 146 | + VulnRDS.InsertVulnData(vuln); |
150 | } | 147 | } |
151 | } | 148 | } |
152 | } | 149 | } | ... | ... |
-
Please register or login to post a comment