Toggle navigation
Toggle navigation
This project
Loading...
Sign in
노현종
/
2018-1-Capstone1-VulnNotti
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
노현종
2018-06-01 13:11:20 +0900
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
db24d9458e46b28516066956acbb083457eeecb3
db24d945
2 parents
99c3c080
fd24e2e7
180601
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
Vulnerablity_DB/VulnCrawler/VulnRDS.cs
Vulnerablity_DB/VulnCrawler/VulnWorker.cs
Vulnerablity_DB/VulnCrawler/VulnRDS.cs
View file @
db24d94
This diff is collapsed. Click to expand it.
Vulnerablity_DB/VulnCrawler/VulnWorker.cs
View file @
db24d94
...
...
@@ -134,19 +134,16 @@ namespace VulnCrawler
VulnRDS
.
Vuln
vuln
=
new
VulnRDS
.
Vuln
()
{
Cve
=
cve
,
Language
=
"C"
,
BlockHash
=
block
.
Hash
,
LenBlock
=
block
.
Code
.
Length
,
FuncName
=
Convert
.
ToBase64String
(
funcNameBytes
),
RepositName
=
repoName
,
CodeOriBefore
=
Convert
.
ToBase64String
(
codeOriBeforeBytes
),
CodeAbsBefore
=
Convert
.
ToBase64String
(
codeAbsBeforeBytes
),
BlockNum
=
block
.
Num
,
NumBlock
=
block
.
Num
,
};
Console
.
WriteLine
(
$
"Vuln FuncName:{vuln.FuncName}"
);
/* VulnDB에 추가 */
//
VulnRDS.InsertVulnData(vuln);
VulnRDS
.
InsertVulnData
(
vuln
);
}
}
}
...
...
Please
register
or
login
to post a comment