cancel
Showing results for 
Search instead for 
Did you mean: 
save
Level 7
Report Inappropriate Content
Message 1 of 3

MWG: curl -s -D - -X POST -F "file=@eicar.zip" http://<Proxy.IP>:<Proxy.Port>/filescanner

Hello,

i want check file with MWG. For this i have the "file Scanner" Rule Set imported. my proble is that the command line or Scripting with curl don't work.

The best is no error message and no answer. I Need help.

Have anything work with this rule set and send file with commandline script to the applaince. When yes, plaese say me whats our way.

Thank you!

2 Replies
Highlighted
McAfee Employee smasnizk
McAfee Employee
Report Inappropriate Content
Message 2 of 3

Re: MWG: curl -s -D - -X POST -F "file=@eicar.zip" http://<Proxy.IP>:<Proxy.Port>/filescanner

Save,

just did a quick test with this Rule Set. They is a entry criteria configured to run this Rule Set:

file_scanner.JPG

To successfully run this Rule Set I did following

Step 1

Define Proxy for CLI or your script:

export http_proxy=http://<Proxy_IP>:<Proxy_Port>

Step 2

Run slightly different curl command:

curl -s -D - -X POST -F "file=<file_name>" http://filescanner.mwginternal.com/

save
Level 7
Report Inappropriate Content
Message 3 of 3

Re: MWG: curl -s -D - -X POST -F "file=@eicar.zip" http://<Proxy.IP>:<Proxy.Port>/filescanner

I became no Feedback from the command-line command and at the Web Gateway i don't see any statistic. It works ? And i can see ?

I need more help

More McAfee Tools to Help You
  • How-to: Endpoint Removal Tool
  • Support: Endpoint Security
  • Visit: Business Service Portal
  • More: Search Knowledge Articles
  • ePolicy Orchestrator Support

    • Download the new ePolicy Orchestrator (ePO) Support Center Extension which simplifies ePO management and provides support resources directly in the console. Learn more about ePO Support Center