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

McAfee ePO Support Center Plug-in
Check out the new McAfee ePO Support Center. Simply access the ePO Software Manager and follow the instructions in the Product Guide for the most commonly used utilities, top known issues announcements, search the knowledgebase for product documentation, and server status and statistics – all from within ePO.