CrowdStrike / CAST

CrowdStrike Archive Scan Tool
MIT License
83 stars 19 forks source link

how to validate script was successful #26

Closed rc15june closed 2 years ago

rc15june commented 2 years ago

Below is the output I get. Does it mean script ran fine and nothing found?

stderr stdout
2022/01/10 16:15:40 archives: 3 found: 0 scanned: 22673 skip: 0 Searching 65 directories...
rbcrwd commented 2 years ago

Do you see found: 0? That means exactly what it says.

rc15june commented 2 years ago

It rans for only few seconds and get that result. Was is successful?

On Thu, Feb 3, 2022, 15:06 rbcrwd @.***> wrote:

Do you see found: 0? That means exactly what it says.

— Reply to this email directly, view it on GitHub https://github.com/CrowdStrike/CAST/issues/26#issuecomment-1029355998, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXBYEOJGKMAUYFFDARH73IDUZLN6DANCNFSM5NPUXUEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

rbcrwd commented 2 years ago

Success depends entirely on you because I know nothing about the context in which you ran it. Was the [lack of] findings what you expected? If it says it found nothing and the exit code is zero, it found nothing and it didn't encounter a problem during execution, the same as every other executable out there.