Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fuzzBackEnd
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钱炳权
fuzzBackEnd
Commits
ab14670f
Commit
ab14670f
authored
May 08, 2024
by
钱炳权
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订正漏洞类型单词错误
parent
bdfae3cc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
VulnerabilityTypeServiceImpl.java
...zzControll/service/impl/VulnerabilityTypeServiceImpl.java
+4
-4
application.yml
fuzzbackendmaster/src/main/resources/application.yml
+1
-1
No files found.
fuzzIntegration/src/main/java/com/example/fuzzControll/service/impl/VulnerabilityTypeServiceImpl.java
View file @
ab14670f
...
@@ -32,7 +32,7 @@ public class VulnerabilityTypeServiceImpl implements VulnerabilityTypeService {
...
@@ -32,7 +32,7 @@ public class VulnerabilityTypeServiceImpl implements VulnerabilityTypeService {
public
String
parseParameters
(
TestEntity
testEntity
)
{
public
String
parseParameters
(
TestEntity
testEntity
)
{
try
{
try
{
switch
(
testEntity
.
getTestClassName
().
toLowerCase
())
{
switch
(
testEntity
.
getTestClassName
().
toLowerCase
())
{
case
"array_index_out_of_bounds_vulnerabilit"
:
//have error
case
"array_index_out_of_bounds_vulnerabilit
y
"
:
//have error
return
cmd
(
testEntity
,
0
);
return
cmd
(
testEntity
,
0
);
case
"boundary_condition_vulnerability"
:
//have error
case
"boundary_condition_vulnerability"
:
//have error
return
cmd
(
testEntity
,
1
);
return
cmd
(
testEntity
,
1
);
...
@@ -46,15 +46,15 @@ public class VulnerabilityTypeServiceImpl implements VulnerabilityTypeService {
...
@@ -46,15 +46,15 @@ public class VulnerabilityTypeServiceImpl implements VulnerabilityTypeService {
return
cmd
(
testEntity
,
5
);
return
cmd
(
testEntity
,
5
);
case
"integer_overflow_vulnerability"
:
//have error
case
"integer_overflow_vulnerability"
:
//have error
return
cmd
(
testEntity
,
6
);
return
cmd
(
testEntity
,
6
);
case
"numeric_error_vulnerabilit"
:
//have error
case
"numeric_error_vulnerabilit
y
"
:
//have error
return
cmd
(
testEntity
,
7
);
return
cmd
(
testEntity
,
7
);
case
"symbol_extension_vulnerability"
:
//have error
case
"symbol_extension_vulnerability"
:
//have error
return
cmd
(
testEntity
,
8
);
return
cmd
(
testEntity
,
8
);
case
"uaf_vulnerabilit"
:
//have error
case
"uaf_vulnerabilit
y
"
:
//have error
return
cmd
(
testEntity
,
9
);
return
cmd
(
testEntity
,
9
);
case
"cross_script_vulnerability"
:
//have error
case
"cross_script_vulnerability"
:
//have error
return
cmd
(
testEntity
,
10
);
return
cmd
(
testEntity
,
10
);
case
"sql_injection_vulnerabilit"
:
//have error
case
"sql_injection_vulnerabilit
y
"
:
//have error
return
cmd
(
testEntity
,
11
);
return
cmd
(
testEntity
,
11
);
default
:
default
:
throw
new
FuzzException
(
"Unknown method!"
);
throw
new
FuzzException
(
"Unknown method!"
);
...
...
fuzzbackendmaster/src/main/resources/application.yml
View file @
ab14670f
...
@@ -5,6 +5,6 @@ spring:
...
@@ -5,6 +5,6 @@ spring:
active
:
dev
#默认为开发环境
active
:
dev
#默认为开发环境
server
:
server
:
port
:
810
1
port
:
810
3
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment