diff options
| author | Michael <[email protected]> | 2017-08-02 09:30:39 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-08-02 09:30:39 -0400 |
| commit | 10d2c0bbaa2b5c933a37056c784d3de84fa82eaf (patch) | |
| tree | e8894d69a359721c1363e32b97d4ff855fd81ef2 /ShiftOS.Frontend/Apps | |
| parent | 52319b29eef65560a737353a71e1e4017dc87c09 (diff) | |
| download | shiftos_thereturn-10d2c0bbaa2b5c933a37056c784d3de84fa82eaf.tar.gz shiftos_thereturn-10d2c0bbaa2b5c933a37056c784d3de84fa82eaf.tar.bz2 shiftos_thereturn-10d2c0bbaa2b5c933a37056c784d3de84fa82eaf.zip | |
sploitset ftpwn mounts ftp directory on breach
Diffstat (limited to 'ShiftOS.Frontend/Apps')
| -rw-r--r-- | ShiftOS.Frontend/Apps/FileSkimmer.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ShiftOS.Frontend/Apps/FileSkimmer.cs b/ShiftOS.Frontend/Apps/FileSkimmer.cs index c4dbb09..58a9908 100644 --- a/ShiftOS.Frontend/Apps/FileSkimmer.cs +++ b/ShiftOS.Frontend/Apps/FileSkimmer.cs @@ -21,6 +21,27 @@ namespace ShiftOS.Frontend.Apps public void OnLoad() { + if(Hacking.CurrentHackable != null) + { + if (Hacking.CurrentHackable.VectorsUnlocked.Contains(Objects.SystemType.FileServer)) + { + if(Mounts.Count > 2) + { + Mounts.RemoveAt(2); + } + var dir = new Objects.ShiftFS.Directory(); + dir.Name = $"{Hacking.CurrentHackable.Data.SystemName} (ftp)"; + Mounts.Add(dir); + foreach (var loot in Hacking.CurrentHackable.ServerFTPLoot) + { + if(!FileExists("2:/" + loot.LootName)) + { + var bytes = Hacking.GetLootBytes(loot.PointTo); + } + } + } + } + Width = 720; Height = 480; _fList = new GUI.ListBox(); |
