Rajnish Kumar 0 Posted March 18 Share Posted March 18 I ran a scan of 51 files with different formats. I am getting exit code of 10. I am trying to get 4 files(names) causing this issues but unable to find them. Below is my cli output: 1. Running a scan: Command: /opt/eset/efs/bin/odscan --scan --show-scan-info --profile="@In-depth scan" /ESET_TEST/*; echo $? Output: { "type":0, "session_id":165, "log_name":"ndlf8oirV" } 10 2. Getting log Summary: Command: /opt/eset/efs/bin/lslog -s --ods-details="ndlf8oirV"; Output: Triggered by: isctol_dev_1 Time started: 03/13/2024 02:57:19 PM Time of completion: 03/13/2024 02:57:58 PM Duration: 00:00:39 Scanned targets: /ESET_TEST/ACCDB_LEXUS-LOCALP-03-01-19.accdb; /ESET_TEST/ACCDB_TOYOTA-LOCALP-03-01-19.accdb; /ESET_TEST/Cat2015WD.xml; /ESET_TEST/Cat2015WD.zip; /ESET_TEST/Cat2015WK.xml; /ESET_TEST/Cat2015WK.zip; /ESET_TEST/Cat2015ZD.xml; /ESET_TEST/Cat2015ZD.zip; /ESET_TEST/CRPT_fmpc_112818.mdb; /ESET_TEST/curpt_xlsx.xls; /ESET_TEST/DBF_BI02SBTL_UVT.DBF; /ESET_TEST/emp_10_rk.zip; /ESET_TEST/emp_11_rk.csv; /ESET_TEST/emp_15.csv; /ESET_TEST/emp_16.csv; /ESET_TEST/emp_17.csv; /ESET_TEST/emp_18.csv; /ESET_TEST/emp_19.csv; /ESET_TEST/emp_2.csv; /ESET_TEST/emp_3.CSV; /ESET_TEST/emp_4.CsV; /ESET_TEST/EMP_5.csv; /ESET_TEST/EmP_6.csv; /ESET_TEST/emp6.zip; /ESET_TEST/emp7.zip; /ESET_TEST/emp.csv; /ESET_TEST/emp_test.zip; /ESET_TEST/emp.zip; /ESET_TEST/ENC_DBF_bi02opcd.dbf; /ESET_TEST/file_3.pdf; /ESET_TEST/GM_SYNONYMS_EN_EREN_20220224.XlsX; /ESET_TEST/gzip_1.gz; /ESET_TEST/gzip_2.gz; /ESET_TEST/master.zip; /ESET_TEST/MDB_Lexus FMPC 2019-1 DB.mdb; /ESET_TEST/MDB_Toyota FMPC 2019-1 DB Final_03072019.mdb; /ESET_TEST/pswrd_zip.zip; /ESET_TEST/special _346834 $%#$#.csv; /ESET_TEST/SPLIT_3.csv; /ESET_TEST/tar_1.tar; /ESET_TEST/tar_2.tar; /ESET_TEST/test_1.txt; /ESET_TEST/test_2.txt; /ESET_TEST/Type_9.zip; /ESET_TEST/WebFormat_US_082021.zip; /ESET_TEST/XLREPLACE_SOA_chemicals.xlsx; /ESET_TEST/XLREPLACE_Substitute_Parts.xlsx; /ESET_TEST/XL_Sample_file.xlsx; /ESET_TEST/XL_VintageADD0516.xlsx; /ESET_TEST/XL_VintageDELETE0516.xls; /ESET_TEST/xml_1.xml Detections occurred: 0 Cleaned: 0 Not scanned: 4 Scanned: 138 3. To see if anything is logged in detections: Command: /opt/eset/efs/bin/lslog -c --ods-detection="ndlf8oirV" Output: Time detected,Severity,Object URI,Detection,Detection Type,Action,Hash,Raw detection name Question: How can I find the files which are not being scanned, also is there any special case/ standard for files which can't be scanned. Link to comment Share on other sites More sharing options...
Administrators Marcos 5,238 Posted March 18 Administrators Share Posted March 18 What about temporarily enabling "Log all objects" for the In-depth scan profile that is used in the scan? Link to comment Share on other sites More sharing options...
Rajnish Kumar 0 Posted March 18 Author Share Posted March 18 Is there any command, way to enable it through cli, or pass along with scan command I am using as shown above? Link to comment Share on other sites More sharing options...
Administrators Marcos 5,238 Posted March 18 Administrators Share Posted March 18 You can run the following command to list not scanned files in the said log: /opt/eset/efs/bin/lslog -s --ods-notscanned="ndlf8oirV" Link to comment Share on other sites More sharing options...
Rajnish Kumar 0 Posted March 18 Author Share Posted March 18 It is giving me results but 1 file is still missing.. What could be the reson? /opt/eset/efs/bin/lslog -s --ods-notscanned="ndlf8oirV" Object URI Reason file:///ESET_TEST/pswrd_zip.zip Error - password-protected file file:///ESET_TEST/WebFormat_US_082021.zip Archive damaged - the file could not be extracted. file:///ESET_TEST/master.zip Archive damaged - the file could not be extracted. Link to comment Share on other sites More sharing options...
Administrators Marcos 5,238 Posted March 18 Administrators Share Posted March 18 What is different if you run: /opt/eset/efs/bin/lslog -s --ods-details="ndlf8oirV" Link to comment Share on other sites More sharing options...
Rajnish Kumar 0 Posted March 18 Author Share Posted March 18 That I have already shared above. It contains names of all 51 sources. Nothing is different which can tell me which 4 files are not able to be scanned. Link to comment Share on other sites More sharing options...
Recommended Posts