Skip to content

Commit d28755c

Browse files
committed
프로토콜 업데이트
1 parent 436b52f commit d28755c

2 files changed

Lines changed: 14 additions & 4 deletions

File tree

HSProtocol/HSProtocol.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ const (
2929
)
3030

3131
const (
32-
TCP = 0b0001
33-
UDP = 0b0010
34-
HTTP = 0b0011
35-
HTTPS = 0b0100
32+
UNKNOWN = 0b0000
33+
TCP = 0b0001
34+
UDP = 0b0010
35+
HTTP = 0b0011
36+
HTTPS = 0b0100
3637
)
3738

3839
const (

ReadMe.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,15 @@ hsManager.PrintByte(data2)
154154
- **제목:** sendProcedureLog
155155
- **설명:** Agent가 Server 측에 공격 시나리오 로그를 JSON 형태로 Data 필드에 직렬화하여 전송합니다.
156156

157+
### Command: 8 (0b0000001000)
158+
- **제목:** getApplication
159+
- **설명:** Server 가 Agent 측에 Application 데이터를 JSON 형태로 Data 필드에 직렬화하여 전송을 요청합니다.
160+
161+
### Command: 9 (0b0000001001)
162+
- **제목:** getSystemInfo
163+
- **설명:** Server 가 Agent 측에 SystemInfo 데이터를 JSON 형태로 Data 필드에 직렬화하여 전송을 요청합니다.
164+
165+
157166
---
158167

159168
## 잡생각

0 commit comments

Comments
 (0)