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-04-22 15:15:42 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
72c48b3e419475a3513af9f5c7498104fae3d94c
72c48b3e
1 parent
76d75146
주석 추가
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
Vulnerablity_DB/VulnCrawler/Program.cs
Vulnerablity_DB/VulnCrawler/VulnWorker.cs
Vulnerablity_DB/VulnCrawler/Program.cs
View file @
72c48b3
...
...
@@ -72,6 +72,7 @@ namespace VulnCrawler
}
// Repository 목록 만큼 반복함.
foreach
(
var
directory
in
directorys
)
{
// 템플릿 패턴화 T : VulnAbstractCrawler
VulnWorker
.
Run
<
VulnPython
>(
directory
);
}
}
...
...
Vulnerablity_DB/VulnCrawler/VulnWorker.cs
View file @
72c48b3
...
...
@@ -12,6 +12,7 @@ namespace VulnCrawler
public
static
class
VulnWorker
{
// 템플릿 메서드 패턴
public
static
void
Run
<
T
>(
string
dirPath
)
where
T
:
VulnAbstractCrawler
,
new
()
{
var
self
=
new
T
();
self
.
Init
(
dirPath
);
...
...
Please
register
or
login
to post a comment