aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Frontend
diff options
context:
space:
mode:
authorwilliam341 <[email protected]>2017-07-28 14:26:14 -0700
committerwilliam341 <[email protected]>2017-07-28 14:26:27 -0700
commita9779111b59f259d834b431a53b11de868e7b6a3 (patch)
treebfa0ed1fd2a7c288ce33665024cd9f8e4943fdb6 /ShiftOS.Frontend
parent5c6d90ce3de81174bd254b0291ab6a598d3d2898 (diff)
downloadshiftos_thereturn-a9779111b59f259d834b431a53b11de868e7b6a3.tar.gz
shiftos_thereturn-a9779111b59f259d834b431a53b11de868e7b6a3.tar.bz2
shiftos_thereturn-a9779111b59f259d834b431a53b11de868e7b6a3.zip
partially implemented loot system
Diffstat (limited to 'ShiftOS.Frontend')
-rw-r--r--ShiftOS.Frontend/Properties/Resources.Designer.cs42
-rw-r--r--ShiftOS.Frontend/Resources/Exploits.txt3
-rw-r--r--ShiftOS.Frontend/Resources/LootInfo.txt21
-rw-r--r--ShiftOS.Frontend/Resources/Payloads.txt5
-rw-r--r--ShiftOS.Frontend/Resources/Shiftorium.txt15
5 files changed, 52 insertions, 34 deletions
diff --git a/ShiftOS.Frontend/Properties/Resources.Designer.cs b/ShiftOS.Frontend/Properties/Resources.Designer.cs
index dfc728e..0815696 100644
--- a/ShiftOS.Frontend/Properties/Resources.Designer.cs
+++ b/ShiftOS.Frontend/Properties/Resources.Designer.cs
@@ -71,27 +71,6 @@ namespace ShiftOS.Frontend.Properties {
}
/// <summary>
- /// Looks up a localized string similar to /* ShiftOS Exploits data file
- /// *
- /// * This file contains information about all exploits in the game&apos;s campaign.
- /// *
- /// */
- ///
- ///[
- /// {
- /// FriendlyName: &quot;FTP Exploit&quot;,
- /// ExploitName: &quot;ftpwn&quot;
- /// EffectiveAgainstPort: &quot;FileServer&quot;,
- /// }
- ///].
- /// </summary>
- public static string Exploits {
- get {
- return ResourceManager.GetString("Exploits", resourceCulture);
- }
- }
-
- /// <summary>
/// Looks up a localized string similar to /* ShiftOS hackables data file
/// *
/// * This file contains information about all hackable systems in the game&apos;s campaign.
@@ -105,7 +84,7 @@ namespace ShiftOS.Frontend.Properties {
/// Password: &quot;h0ldy0urc0l0ur&quot;,
/// PasswordHint: &quot;Prepare to hold your colour...&quot;,
/// WelcomeMessage: &quot;Don&apos;t make fun of SpamSyndicate web design.&quot;,
- /// FirewallStrength: 1,
+ /// FirewallStrength: 0,
/// LootRarity: 1,
/// LootAmount: 4,
/// ConnectionTimeoutLevel: 4,
@@ -151,9 +130,16 @@ namespace ShiftOS.Frontend.Properties {
///[
/// {
/// FriendlyName: &quot;FTP Payload&quot;,
- /// PayloadName: &quot;ftpull&quot;
+ /// PayloadName: &quot;ftpull&quot;,
/// EffectiveAgainstFirewall: 1,
/// EffectiveAgainst: &quot;FileServer&quot;,
+ /// },
+ /// {
+ /// FriendlyName: &quot;Ping Spam&quot;,
+ /// PayloadName: &quot;keepalive&quot;,
+ /// EffectiveAgainstFirewall: 1,
+ /// EffectiveAgainst: &quot;SSHServer&quot;,
+ /// Function: 1,
/// }
///].
/// </summary>
@@ -173,26 +159,26 @@ namespace ShiftOS.Frontend.Properties {
///[
/// {
/// FriendlyName: &quot;SMTP mailserver (unencrypted)&quot;,
- /// AttachTo: &quot;EmailServer&quot;
+ /// AttachTo: &quot;EmailServer&quot;,
/// Value: 25,
/// Name: &quot;smtp&quot;,
/// },
/// {
/// FriendlyName: &quot;File Transfer Protocol&quot;,
- /// AttachTo: &quot;FileServer&quot;
+ /// AttachTo: &quot;FileServer&quot;,
/// Value: 21,
/// Name: &quot;ftp&quot;,
/// },
/// {
/// FriendlyName: &quot;ShiftSSH server&quot;,
- /// AttachTo: &quot;SSHServer&quot;
+ /// AttachTo: &quot;SSHServer&quot;,
/// Value: 22,
/// Name: &quot;ssh&quot;,
/// },
/// {
/// FriendlyName: &quot;MySQL server&quot;,
- /// AttachTo: &quot;Database&quot;
- /// Val [rest of string was truncated]&quot;;.
+ /// AttachTo: &quot;Database&quot;,
+ /// [rest of string was truncated]&quot;;.
/// </summary>
public static string Ports {
get {
diff --git a/ShiftOS.Frontend/Resources/Exploits.txt b/ShiftOS.Frontend/Resources/Exploits.txt
index 4ad6caf..a3fa2fc 100644
--- a/ShiftOS.Frontend/Resources/Exploits.txt
+++ b/ShiftOS.Frontend/Resources/Exploits.txt
@@ -8,11 +8,12 @@
{
FriendlyName: "FTP Exploit",
ExploitName: "ftpwn",
- EffectiveAgainstPort: "FileServer",
+ EffectiveAgainstPort: "FileServer"
},
{
FriendlyName: "SSH Exploit",
ExploitName: "sshardline",
EffectiveAgainstPort: "SSHServer",
+ Dependencies: "sploitset_sshardline"
}
] \ No newline at end of file
diff --git a/ShiftOS.Frontend/Resources/LootInfo.txt b/ShiftOS.Frontend/Resources/LootInfo.txt
index 361bab9..ff2784d 100644
--- a/ShiftOS.Frontend/Resources/LootInfo.txt
+++ b/ShiftOS.Frontend/Resources/LootInfo.txt
@@ -1,3 +1,20 @@
-//Loot information table
+/* ShiftOS Loot data file
+ *
+ * This file contains information about all loot in the game's campaign.
+ *
+ */
-[] \ No newline at end of file
+[
+ {
+ FriendlyName: "Force Heartbeat",
+ LootName: "sploitset_keepalive",
+ Rarity: 1,
+ PointTo: "sploitset_keepalive",
+ },
+ {
+ FriendlyName: "SSHardline",
+ LootName: "sploitset_sshardline",
+ Rarity: 1,
+ PointTo: "sploitset_sshardline",
+ }
+] \ No newline at end of file
diff --git a/ShiftOS.Frontend/Resources/Payloads.txt b/ShiftOS.Frontend/Resources/Payloads.txt
index 37eace6..d203158 100644
--- a/ShiftOS.Frontend/Resources/Payloads.txt
+++ b/ShiftOS.Frontend/Resources/Payloads.txt
@@ -9,13 +9,14 @@
FriendlyName: "FTP Payload",
PayloadName: "ftpull",
EffectiveAgainstFirewall: 1,
- EffectiveAgainst: "FileServer",
+ EffectiveAgainst: "FileServer"
},
{
- FriendlyName: "Ping Spam",
+ FriendlyName: "Force Heartbeat",
PayloadName: "keepalive",
EffectiveAgainstFirewall: 1,
EffectiveAgainst: "SSHServer",
Function: 1,
+ Dependencies: "sploitset_keepalive"
}
] \ No newline at end of file
diff --git a/ShiftOS.Frontend/Resources/Shiftorium.txt b/ShiftOS.Frontend/Resources/Shiftorium.txt
index 0637a08..55368b3 100644
--- a/ShiftOS.Frontend/Resources/Shiftorium.txt
+++ b/ShiftOS.Frontend/Resources/Shiftorium.txt
@@ -1 +1,14 @@
-[] \ No newline at end of file
+[
+ }
+ Name: "sploitset_keepalive",
+ Cost: 1000000000,
+ Description: "lolyouarentsupposedtobeabletobuythis",
+ Dependencies: "thisupgradeshouldneverexistever;sploitset_sshardline",
+ },
+ }
+ Name: "sploitset_sshardline",
+ Cost: 1000000000,
+ Description: "lolyouarentsupposedtobeabletobuythis",
+ Dependencies: "thisupgradeshouldneverexistever",
+ }
+] \ No newline at end of file