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
e8313a6d
Commit
e8313a6d
authored
May 22, 2024
by
钱炳权
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aflnet日志文件和kitty日志结果文件下载功能完成
parent
65837fad
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
29 additions
and
17 deletions
+29
-17
application-dev.yml
fuzzIntegration/src/main/resources/application-dev.yml
+1
-1
demo.html
fuzzIntegration/src/main/resources/demo.html
+14
-0
FuzzLogController.java
...ample/fuzzbackendmaster/controller/FuzzLogController.java
+2
-4
KittyServerMessageController.java
...ackendmaster/controller/KittyServerMessageController.java
+2
-0
MissionInfoController.java
...e/fuzzbackendmaster/controller/MissionInfoController.java
+2
-0
SeedFileController.java
...mple/fuzzbackendmaster/controller/SeedFileController.java
+2
-4
TestClassController.java
...ple/fuzzbackendmaster/controller/TestClassController.java
+2
-4
TestController.java
.../example/fuzzbackendmaster/controller/TestController.java
+2
-4
WebSocket.java
...a/com/example/fuzzbackendmaster/controller/WebSocket.java
+2
-0
No files found.
fuzzIntegration/src/main/resources/application-dev.yml
View file @
e8313a6d
...
@@ -32,7 +32,7 @@ kitty:
...
@@ -32,7 +32,7 @@ kitty:
vulnerabilityTypePath
:
"
/usr/fuzzenv/fuzzenv/fuzz50/kitty/2020test/"
#kitty下漏洞类型python路径
vulnerabilityTypePath
:
"
/usr/fuzzenv/fuzzenv/fuzz50/kitty/2020test/"
#kitty下漏洞类型python路径
mutationPath
:
"
/usr/fuzzenv/fuzzenv/fuzz50/kitty/2020test/"
mutationPath
:
"
/usr/fuzzenv/fuzzenv/fuzz50/kitty/2020test/"
templateInfoHttp
:
"
http://127.0.0.1:26001/api/template_info.json"
#模板信息请求链接
templateInfoHttp
:
"
http://127.0.0.1:26001/api/template_info.json"
#模板信息请求链接
statsHttp
:
"
http://127.0.0.1:26001"
#运行时数据
statsHttp
:
"
http://127.0.0.1:26001
/api/stats.json
"
#运行时数据
stagesHttp
:
"
http://127.0.0.1:26001/api/stages.json"
#
stagesHttp
:
"
http://127.0.0.1:26001/api/stages.json"
#
reportHttp
:
"
http://127.0.0.1:26001/api/report"
#
reportHttp
:
"
http://127.0.0.1:26001/api/report"
#
spring
:
spring
:
...
...
fuzzIntegration/src/main/resources/demo.html
0 → 100644
View file @
e8313a6d
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<title>
Title
</title>
</head>
<body>
<javascript>
this.$axios(
</javascript>
</body>
</html>
\ No newline at end of file
fuzzbackendmaster/src/main/java/com/example/fuzzbackendmaster/controller/FuzzLogController.java
View file @
e8313a6d
...
@@ -3,10 +3,7 @@ package com.example.fuzzbackendmaster.controller;
...
@@ -3,10 +3,7 @@ package com.example.fuzzbackendmaster.controller;
import
com.example.fuzzbackendmaster.service.FuzzIntegrationFileApi
;
import
com.example.fuzzbackendmaster.service.FuzzIntegrationFileApi
;
import
com.example.fuzzbackendmaster.service.FuzzLogService
;
import
com.example.fuzzbackendmaster.service.FuzzLogService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
javax.servlet.http.HttpServletResponse
;
...
@@ -14,6 +11,7 @@ import java.io.IOException;
...
@@ -14,6 +11,7 @@ import java.io.IOException;
@RestController
@RestController
@RequestMapping
(
"/log"
)
@RequestMapping
(
"/log"
)
@CrossOrigin
public
class
FuzzLogController
{
public
class
FuzzLogController
{
@Autowired
@Autowired
FuzzLogService
fuzzLogService
;
FuzzLogService
fuzzLogService
;
...
...
fuzzbackendmaster/src/main/java/com/example/fuzzbackendmaster/controller/KittyServerMessageController.java
View file @
e8313a6d
...
@@ -5,6 +5,7 @@ import com.example.fuzzbackendmaster.pojo.vo.AjaxResult;
...
@@ -5,6 +5,7 @@ import com.example.fuzzbackendmaster.pojo.vo.AjaxResult;
import
com.example.fuzzbackendmaster.service.FuzzIntegrationFileApi
;
import
com.example.fuzzbackendmaster.service.FuzzIntegrationFileApi
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.CrossOrigin
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
...
@@ -15,6 +16,7 @@ import org.springframework.web.bind.annotation.RestController;
...
@@ -15,6 +16,7 @@ import org.springframework.web.bind.annotation.RestController;
*/
*/
@RestController
@RestController
@RequestMapping
(
"/kittyServer"
)
@RequestMapping
(
"/kittyServer"
)
@CrossOrigin
@Slf4j
@Slf4j
public
class
KittyServerMessageController
{
public
class
KittyServerMessageController
{
...
...
fuzzbackendmaster/src/main/java/com/example/fuzzbackendmaster/controller/MissionInfoController.java
View file @
e8313a6d
...
@@ -3,6 +3,7 @@ package com.example.fuzzbackendmaster.controller;
...
@@ -3,6 +3,7 @@ package com.example.fuzzbackendmaster.controller;
import
com.example.fuzzbackendmaster.pojo.vo.AjaxResult
;
import
com.example.fuzzbackendmaster.pojo.vo.AjaxResult
;
import
com.example.fuzzbackendmaster.service.FuzzIntegrationFileApi
;
import
com.example.fuzzbackendmaster.service.FuzzIntegrationFileApi
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.CrossOrigin
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
...
@@ -11,6 +12,7 @@ import java.io.IOException;
...
@@ -11,6 +12,7 @@ import java.io.IOException;
@RestController
@RestController
@RequestMapping
(
"/log"
)
@RequestMapping
(
"/log"
)
@CrossOrigin
public
class
MissionInfoController
{
public
class
MissionInfoController
{
@Autowired
@Autowired
FuzzIntegrationFileApi
fuzzIntegrationFileApi
;
FuzzIntegrationFileApi
fuzzIntegrationFileApi
;
...
...
fuzzbackendmaster/src/main/java/com/example/fuzzbackendmaster/controller/SeedFileController.java
View file @
e8313a6d
...
@@ -5,10 +5,7 @@ import com.example.fuzzbackendmaster.pojo.vo.AjaxResult;
...
@@ -5,10 +5,7 @@ import com.example.fuzzbackendmaster.pojo.vo.AjaxResult;
import
com.example.fuzzbackendmaster.service.FuzzIntegrationFileApi
;
import
com.example.fuzzbackendmaster.service.FuzzIntegrationFileApi
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.multipart.MultipartFile
;
import
org.springframework.web.multipart.MultipartFile
;
import
java.util.List
;
import
java.util.List
;
...
@@ -19,6 +16,7 @@ import java.util.List;
...
@@ -19,6 +16,7 @@ import java.util.List;
@Slf4j
@Slf4j
@RestController
@RestController
@RequestMapping
(
"/seedFile"
)
@RequestMapping
(
"/seedFile"
)
@CrossOrigin
public
class
SeedFileController
{
public
class
SeedFileController
{
@Autowired
@Autowired
...
...
fuzzbackendmaster/src/main/java/com/example/fuzzbackendmaster/controller/TestClassController.java
View file @
e8313a6d
...
@@ -8,10 +8,7 @@ import com.example.fuzzbackendmaster.pojo.vo.TestEntity;
...
@@ -8,10 +8,7 @@ import com.example.fuzzbackendmaster.pojo.vo.TestEntity;
import
com.example.fuzzbackendmaster.service.FuzzIntegrationFileApi
;
import
com.example.fuzzbackendmaster.service.FuzzIntegrationFileApi
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -22,6 +19,7 @@ import java.util.Map;
...
@@ -22,6 +19,7 @@ import java.util.Map;
@Slf4j
@Slf4j
@RestController
@RestController
@RequestMapping
(
"/testClass"
)
@RequestMapping
(
"/testClass"
)
@CrossOrigin
public
class
TestClassController
{
public
class
TestClassController
{
@Autowired
@Autowired
...
...
fuzzbackendmaster/src/main/java/com/example/fuzzbackendmaster/controller/TestController.java
View file @
e8313a6d
...
@@ -5,10 +5,7 @@ import com.example.fuzzbackendmaster.pojo.vo.CmdStartParams;
...
@@ -5,10 +5,7 @@ import com.example.fuzzbackendmaster.pojo.vo.CmdStartParams;
import
com.example.fuzzbackendmaster.service.FuzzIntegrationFileApi
;
import
com.example.fuzzbackendmaster.service.FuzzIntegrationFileApi
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
/**
/**
* aflnet测试控制
* aflnet测试控制
...
@@ -16,6 +13,7 @@ import org.springframework.web.bind.annotation.RestController;
...
@@ -16,6 +13,7 @@ import org.springframework.web.bind.annotation.RestController;
@Slf4j
@Slf4j
@RestController
@RestController
@RequestMapping
(
"/test"
)
@RequestMapping
(
"/test"
)
@CrossOrigin
public
class
TestController
{
public
class
TestController
{
@Autowired
@Autowired
FuzzIntegrationFileApi
fuzzIntegrationFileApi
;
FuzzIntegrationFileApi
fuzzIntegrationFileApi
;
...
...
fuzzbackendmaster/src/main/java/com/example/fuzzbackendmaster/controller/WebSocket.java
View file @
e8313a6d
...
@@ -9,6 +9,7 @@ import org.springframework.beans.factory.annotation.Qualifier;
...
@@ -9,6 +9,7 @@ import org.springframework.beans.factory.annotation.Qualifier;
import
org.springframework.messaging.handler.annotation.SendTo
;
import
org.springframework.messaging.handler.annotation.SendTo
;
import
org.springframework.stereotype.Component
;
import
org.springframework.stereotype.Component
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.web.bind.annotation.CrossOrigin
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.socket.client.WebSocketClient
;
import
org.springframework.web.socket.client.WebSocketClient
;
...
@@ -26,6 +27,7 @@ import java.util.concurrent.ConcurrentHashMap;
...
@@ -26,6 +27,7 @@ import java.util.concurrent.ConcurrentHashMap;
@Component
@Component
@ServerEndpoint
(
"/websocket/testResult/{name}"
)
@ServerEndpoint
(
"/websocket/testResult/{name}"
)
@Slf4j
@Slf4j
@CrossOrigin
public
class
WebSocket
{
public
class
WebSocket
{
private
Session
session
;
//与某个客户端连接对话,通过此对客户端发送消息
private
Session
session
;
//与某个客户端连接对话,通过此对客户端发送消息
private
static
final
ConcurrentHashMap
<
String
,
WebSocket
>
WEBSOCKET_CONCURRENTHASHMAP
=
new
ConcurrentHashMap
<
String
,
WebSocket
>();
//存放所有连接的客户端
private
static
final
ConcurrentHashMap
<
String
,
WebSocket
>
WEBSOCKET_CONCURRENTHASHMAP
=
new
ConcurrentHashMap
<
String
,
WebSocket
>();
//存放所有连接的客户端
...
...
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