clammit icon indicating copy to clipboard operation
clammit copied to clipboard

Test uploaded virus files cannot be intercepted

Open wuchuwei opened this issue 4 years ago • 0 comments

[root@localhost tmp]# curl -sf http://172.20.100.20:8438/clammit/test -d @mozi.m -v

  • About to connect() to 172.20.100.20 port 8438 (#0)
  • Trying 172.20.100.20...
  • Connected to 172.20.100.20 (172.20.100.20) port 8438 (#0)

POST /clammit/test HTTP/1.1 User-Agent: curl/7.29.0 Host: 172.20.100.20:8438 Accept: / Content-Length: 46060 Content-Type: application/x-www-form-urlencoded Expect: 100-continue

< HTTP/1.1 301 Moved Permanently < Location: /clammit/test/ < Date: Mon, 22 Nov 2021 08:06:18 GMT < Content-Length: 0 < Connection: close <

  • Closing connection 0 [root@localhost tmp]# curl -sf http://172.20.100.20:8438/clammit -d @mozi.m -v
  • About to connect() to 172.20.100.20 port 8438 (#0)
  • Trying 172.20.100.20...
  • Connected to 172.20.100.20 (172.20.100.20) port 8438 (#0)

POST /clammit HTTP/1.1 User-Agent: curl/7.29.0 Host: 172.20.100.20:8438 Accept: / Content-Length: 46060 Content-Type: application/x-www-form-urlencoded Expect: 100-continue

< HTTP/1.1 200 OK < Content-Type: application/json < Date: Mon, 22 Nov 2021 08:06:50 GMT < Content-Length: 310 < Connection: close <

  • Closing connection 0 {"clammit_version":"0.7.3","scan_server_url":"tcp://172.20.100.2:3310","ping_result":"Connected to server OK","scan_server_version":"ClamAV 0.103.3/26360/Sun Nov 21 17:19:26 2021","test_scan_virus":"Status: FOUND; Virus: true; Description: Win.Test.EICAR_HDB-1","test_scan_clean":"Status: CLEAN; Virus: false"}

wuchuwei avatar Nov 22 '21 09:11 wuchuwei