Updated MinerScan
This commit is contained in:
@@ -15,7 +15,7 @@ public class MinerScan : MalwareScan
|
|||||||
var access = await serverService.CreateFileAccess(server, null!);
|
var access = await serverService.CreateFileAccess(server, null!);
|
||||||
var files = await access.Ls();
|
var files = await access.Ls();
|
||||||
|
|
||||||
foreach (var file in files.Where(x => x.IsFile && x.Name.EndsWith(".sh")))
|
foreach (var file in files.Where(x => x.IsFile && (x.Name.EndsWith(".sh") || x.Name.EndsWith(".yml")) || x.Name == "bed"))
|
||||||
{
|
{
|
||||||
var content = await access.Read(file);
|
var content = await access.Read(file);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user