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-08 15:30:07 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
444af87c054ca4132191334c26d387bd886e7e0f
444af87c
1 parent
064b7b6e
SelectVulnByLen 수정
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
Vulnerablity_DB/VulnCrawler/VulnRDS.cs
Vulnerablity_DB/VulnCrawler/VulnRDS.cs
View file @
444af87
...
...
@@ -414,14 +414,16 @@ namespace VulnCrawler
//vuln에 입력
foreach
(
System
.
Data
.
DataRow
row
in
ds
.
Tables
[
0
].
Rows
)
{
_Vuln
vuln
=
new
_Vuln
();
vuln
.
VulnId
=
Convert
.
ToInt32
(
row
[
"vulnId"
]);
vuln
.
Cve
=
Convert
.
ToString
(
row
[
"cve"
]);
vuln
.
FuncName
=
Convert
.
ToString
(
row
[
"funcName"
]);
vuln
.
LenFunc
=
Convert
.
ToInt32
(
row
[
"lenFunc"
]);
vuln
.
Code
=
Convert
.
ToString
(
row
[
"code"
]);
vuln
.
BlockHash
=
Convert
.
ToString
(
row
[
"blockHash"
]);
vuln
.
Url
=
Convert
.
ToString
(
row
[
"url"
]);
_Vuln
vuln
=
new
_Vuln
{
VulnId
=
Convert
.
ToInt32
(
row
[
"vulnId"
]),
Cve
=
Convert
.
ToString
(
row
[
"cve"
]),
FuncName
=
Convert
.
ToString
(
row
[
"funcName"
]),
LenFunc
=
Convert
.
ToInt32
(
row
[
"lenFunc"
]),
Code
=
Convert
.
ToString
(
row
[
"code"
]),
BlockHash
=
Convert
.
ToString
(
row
[
"blockHash"
]),
Url
=
Convert
.
ToString
(
row
[
"url"
])
};
yield
return
vuln
;
//list.Add(vuln);
}
...
...
Please
register
or
login
to post a comment