summaryrefslogtreecommitdiff
path: root/test/decoders/ftp/json/05-only-ctrl-link.json
diff options
context:
space:
mode:
Diffstat (limited to 'test/decoders/ftp/json/05-only-ctrl-link.json')
-rw-r--r--test/decoders/ftp/json/05-only-ctrl-link.json33
1 files changed, 33 insertions, 0 deletions
diff --git a/test/decoders/ftp/json/05-only-ctrl-link.json b/test/decoders/ftp/json/05-only-ctrl-link.json
new file mode 100644
index 0000000..036bf70
--- /dev/null
+++ b/test/decoders/ftp/json/05-only-ctrl-link.json
@@ -0,0 +1,33 @@
+[
+ {
+ "topic": "control_request",
+ "session": "192.168.20.1:40920-192.168.60.1:21-6-0",
+ "0.USER": "USER test1",
+ "1.PASS": "PASS iiecas2021",
+ "2.OTHERS": "TYPE I",
+ "3.PASV": "PASV",
+ "4.STOR": "STOR /home/test1/20210622201359人肉炸弹.txt"
+ },
+ {
+ "topic": "control_response",
+ "session": "192.168.20.1:40920-192.168.60.1:21-6-0",
+ "0.220": "220 (vsFTPd 3.0.2)",
+ "1.OTHERS": "331 Please specify the password.",
+ "2.OTHERS": "230 Login successful.",
+ "3.200": "200 Switching to Binary mode.",
+ "4.227": "227 Entering Passive Mode (192,168,60,1,39,16).",
+ "5.OTHERS": "150 Ok to send data."
+ },
+ {
+ "topic": "control_dtp",
+ "session": "192.168.20.1:40920-192.168.60.1:21-6-0",
+ "0.dtp": {
+ "username": "test1",
+ "password": "iiecas2021",
+ "uri": "ftp://192.168.60.1/home/test1/20210622201359人肉炸弹.txt",
+ "dir": "stor",
+ "mode": "pasv",
+ "cmd": "STOR"
+ }
+ }
+] \ No newline at end of file