+ Start a Discussion
saleforce beesaleforce bee 

Scan .txt file content in apex and find malicious(exe,dll,jar war,JS..ect) content if any

My user case is to read/scan .txt file content in apex and thrown an error if it is not human readable format/virus content/executable content(.exe,.jar,war,javascript..etc contents).

Normally we can save .exe file as .txt file , if we open the same file it has exe content.