From ec46ad8eefbf0f72d3d3476bd4862b5d119ec595 Mon Sep 17 00:00:00 2001 From: Alee14 Date: Fri, 11 May 2018 20:17:23 -0400 Subject: [PATCH] Inital Commit --- .gitattributes | 63 +++++ .gitignore | 261 ++++++++++++++++++ ShiftOS Decypter/App.config | 6 + ShiftOS Decypter/File_Crypt.vb | 55 ++++ ShiftOS Decypter/Form1.Designer.vb | 149 ++++++++++ ShiftOS Decypter/Form1.resx | 120 ++++++++ ShiftOS Decypter/Form1.vb | 51 ++++ .../My Project/Application.Designer.vb | 38 +++ ShiftOS Decypter/My Project/Application.myapp | 11 + ShiftOS Decypter/My Project/AssemblyInfo.vb | 35 +++ .../My Project/Resources.Designer.vb | 63 +++++ ShiftOS Decypter/My Project/Resources.resx | 117 ++++++++ .../My Project/Settings.Designer.vb | 73 +++++ ShiftOS Decypter/My Project/Settings.settings | 7 + ShiftOS Decypter/Paths.vb | 4 + ShiftOS Decypter/ShiftOS Hack Client.vbproj | 126 +++++++++ ShiftOS Hack Client.sln | 25 ++ 17 files changed, 1204 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 ShiftOS Decypter/App.config create mode 100644 ShiftOS Decypter/File_Crypt.vb create mode 100644 ShiftOS Decypter/Form1.Designer.vb create mode 100644 ShiftOS Decypter/Form1.resx create mode 100644 ShiftOS Decypter/Form1.vb create mode 100644 ShiftOS Decypter/My Project/Application.Designer.vb create mode 100644 ShiftOS Decypter/My Project/Application.myapp create mode 100644 ShiftOS Decypter/My Project/AssemblyInfo.vb create mode 100644 ShiftOS Decypter/My Project/Resources.Designer.vb create mode 100644 ShiftOS Decypter/My Project/Resources.resx create mode 100644 ShiftOS Decypter/My Project/Settings.Designer.vb create mode 100644 ShiftOS Decypter/My Project/Settings.settings create mode 100644 ShiftOS Decypter/Paths.vb create mode 100644 ShiftOS Decypter/ShiftOS Hack Client.vbproj create mode 100644 ShiftOS Hack Client.sln diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1ff0c42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,63 @@ +############################################################################### +# Set default behavior to automatically normalize line endings. +############################################################################### +* text=auto + +############################################################################### +# Set default behavior for command prompt diff. +# +# This is need for earlier builds of msysgit that does not have it on by +# default for csharp files. +# Note: This is only used by command line +############################################################################### +#*.cs diff=csharp + +############################################################################### +# Set the merge driver for project and solution files +# +# Merging from the command prompt will add diff markers to the files if there +# are conflicts (Merging from VS is not affected by the settings below, in VS +# the diff markers are never inserted). Diff markers may cause the following +# file extensions to fail to load in VS. An alternative would be to treat +# these files as binary and thus will always conflict and require user +# intervention with every merge. To do so, just uncomment the entries below +############################################################################### +#*.sln merge=binary +#*.csproj merge=binary +#*.vbproj merge=binary +#*.vcxproj merge=binary +#*.vcproj merge=binary +#*.dbproj merge=binary +#*.fsproj merge=binary +#*.lsproj merge=binary +#*.wixproj merge=binary +#*.modelproj merge=binary +#*.sqlproj merge=binary +#*.wwaproj merge=binary + +############################################################################### +# behavior for image files +# +# image files are treated as binary by default. +############################################################################### +#*.jpg binary +#*.png binary +#*.gif binary + +############################################################################### +# diff behavior for common document formats +# +# Convert binary document formats to text before diffing them. This feature +# is only available from the command line. Turn it on by uncommenting the +# entries below. +############################################################################### +#*.doc diff=astextplain +#*.DOC diff=astextplain +#*.docx diff=astextplain +#*.DOCX diff=astextplain +#*.dot diff=astextplain +#*.DOT diff=astextplain +#*.pdf diff=astextplain +#*.PDF diff=astextplain +#*.rtf diff=astextplain +#*.RTF diff=astextplain diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3c4efe2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,261 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ + +# Visual Studio 2015 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUNIT +*.VisualState.xml +TestResult.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# DNX +project.lock.json +project.fragment.lock.json +artifacts/ + +*_i.c +*_p.c +*_i.h +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# JustCode is a .NET coding add-in +.JustCode + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# TODO: Comment the next line if you want to checkin your web deploy settings +# but database connection strings (with potential passwords) will be unencrypted +#*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# The packages folder can be ignored because of Package Restore +**/packages/* +# except build/, which is used as an MSBuild target. +!**/packages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/packages/repositories.config +# NuGet v3's project.json files produces more ignoreable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +node_modules/ +orleans.codegen.cs + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm + +# SQL Server files +*.mdf +*.ldf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# JetBrains Rider +.idea/ +*.sln.iml + +# CodeRush +.cr/ + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc \ No newline at end of file diff --git a/ShiftOS Decypter/App.config b/ShiftOS Decypter/App.config new file mode 100644 index 0000000..5534e28 --- /dev/null +++ b/ShiftOS Decypter/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/ShiftOS Decypter/File_Crypt.vb b/ShiftOS Decypter/File_Crypt.vb new file mode 100644 index 0000000..d6ee0f7 --- /dev/null +++ b/ShiftOS Decypter/File_Crypt.vb @@ -0,0 +1,55 @@ +Imports System +Imports System.IO +Imports System.Security +Imports System.Security.Cryptography +Imports System.Text +Public Class File_Crypt + Public Const sSecretKey As String = "Password" + + Public Shared Sub EncryptFile(ByVal sInputFilename As String, ByVal sOutputFilename As String, ByVal sKey As String) + + Dim fsInput As New FileStream(sInputFilename, FileMode.Open, FileAccess.Read) + Dim fsEncrypted As New FileStream(sOutputFilename, FileMode.Create, FileAccess.Write) + + Dim DES As New DESCryptoServiceProvider() + + + DES.Key = ASCIIEncoding.ASCII.GetBytes(sKey) + + DES.IV = ASCIIEncoding.ASCII.GetBytes(sKey) + + Dim desencrypt As ICryptoTransform = DES.CreateEncryptor() + + Dim cryptostream As New CryptoStream(fsEncrypted, desencrypt, CryptoStreamMode.Write) + + Dim bytearrayinput(fsInput.Length - 1) As Byte + fsInput.Read(bytearrayinput, 0, bytearrayinput.Length) + cryptostream.Write(bytearrayinput, 0, bytearrayinput.Length) + cryptostream.Dispose() + fsInput.Dispose() + fsEncrypted.Dispose() + End Sub + + Public Shared Sub DecryptFile(ByVal sInputFilename As String, ByVal sOutputFilename As String, ByVal sKey As String) + + Dim DES As New DESCryptoServiceProvider() + + + DES.Key() = ASCIIEncoding.ASCII.GetBytes(sKey) + + DES.IV = ASCIIEncoding.ASCII.GetBytes(sKey) + + Dim fsread As New FileStream(sInputFilename, FileMode.Open, FileAccess.Read) + + Dim desdecrypt As ICryptoTransform = DES.CreateDecryptor() + + Dim cryptostreamDecr As New CryptoStream(fsread, desdecrypt, CryptoStreamMode.Read) + + Dim fsDecrypted As New StreamWriter(sOutputFilename) + fsDecrypted.Write(New StreamReader(cryptostreamDecr).ReadToEnd) + fsDecrypted.Flush() + fsread.Dispose() + fsDecrypted.Dispose() + End Sub + +End Class \ No newline at end of file diff --git a/ShiftOS Decypter/Form1.Designer.vb b/ShiftOS Decypter/Form1.Designer.vb new file mode 100644 index 0000000..de0312b --- /dev/null +++ b/ShiftOS Decypter/Form1.Designer.vb @@ -0,0 +1,149 @@ + _ +Partial Class Form1 + Inherits System.Windows.Forms.Form + + 'Form overrides dispose to clean up the component list. + _ + Protected Overrides Sub Dispose(ByVal disposing As Boolean) + Try + If disposing AndAlso components IsNot Nothing Then + components.Dispose() + End If + Finally + MyBase.Dispose(disposing) + End Try + End Sub + + 'Required by the Windows Form Designer + Private components As System.ComponentModel.IContainer + + 'NOTE: The following procedure is required by the Windows Form Designer + 'It can be modified using the Windows Form Designer. + 'Do not modify it using the code editor. + _ + Private Sub InitializeComponent() + Me.Label1 = New System.Windows.Forms.Label() + Me.Button3 = New System.Windows.Forms.Button() + Me.Button1 = New System.Windows.Forms.Button() + Me.Button2 = New System.Windows.Forms.Button() + Me.Panel1 = New System.Windows.Forms.Panel() + Me.Panel2 = New System.Windows.Forms.Panel() + Me.Label2 = New System.Windows.Forms.Label() + Me.Button4 = New System.Windows.Forms.Button() + Me.Panel1.SuspendLayout() + Me.SuspendLayout() + ' + 'Label1 + ' + Me.Label1.AutoSize = True + Me.Label1.Location = New System.Drawing.Point(28, 46) + Me.Label1.Name = "Label1" + Me.Label1.Size = New System.Drawing.Size(299, 78) + Me.Label1.TabIndex = 2 + Me.Label1.Text = "Welcome to the ShiftOS 0.0.x Hack Client!" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "To get started press one of the butt" & + "ons!" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "NOTE: THIS SOFTWARE IS IN PRE ALPHA AND IT MIGHT" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "BREAK YOUR SAVE FILE P" & + "LEASE BEWARE..." & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) + ' + 'Button3 + ' + Me.Button3.BackColor = System.Drawing.Color.White + Me.Button3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None + Me.Button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat + Me.Button3.Location = New System.Drawing.Point(112, 136) + Me.Button3.Name = "Button3" + Me.Button3.Size = New System.Drawing.Size(115, 23) + Me.Button3.TabIndex = 3 + Me.Button3.Text = "Get codepoints" + Me.Button3.UseVisualStyleBackColor = False + ' + 'Button1 + ' + Me.Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat + Me.Button1.Location = New System.Drawing.Point(233, 136) + Me.Button1.Name = "Button1" + Me.Button1.Size = New System.Drawing.Size(75, 23) + Me.Button1.TabIndex = 4 + Me.Button1.Text = "Save" + Me.Button1.UseVisualStyleBackColor = True + ' + 'Button2 + ' + Me.Button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat + Me.Button2.Location = New System.Drawing.Point(31, 136) + Me.Button2.Name = "Button2" + Me.Button2.Size = New System.Drawing.Size(75, 23) + Me.Button2.TabIndex = 5 + Me.Button2.Text = "Decrypt" + Me.Button2.UseVisualStyleBackColor = True + ' + 'Panel1 + ' + Me.Panel1.BackColor = System.Drawing.Color.Gray + Me.Panel1.Controls.Add(Me.Panel2) + Me.Panel1.Controls.Add(Me.Label2) + Me.Panel1.Cursor = System.Windows.Forms.Cursors.SizeAll + Me.Panel1.Location = New System.Drawing.Point(0, 0) + Me.Panel1.Name = "Panel1" + Me.Panel1.Size = New System.Drawing.Size(382, 39) + Me.Panel1.TabIndex = 6 + ' + 'Panel2 + ' + Me.Panel2.BackColor = System.Drawing.SystemColors.ActiveCaptionText + Me.Panel2.Location = New System.Drawing.Point(344, 6) + Me.Panel2.Name = "Panel2" + Me.Panel2.Size = New System.Drawing.Size(26, 26) + Me.Panel2.TabIndex = 1 + ' + 'Label2 + ' + Me.Label2.AutoSize = True + Me.Label2.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) + Me.Label2.ForeColor = System.Drawing.SystemColors.ControlLightLight + Me.Label2.Location = New System.Drawing.Point(12, 9) + Me.Label2.Name = "Label2" + Me.Label2.Size = New System.Drawing.Size(166, 16) + Me.Label2.TabIndex = 0 + Me.Label2.Text = "ShiftOS Hack Client 0.1" + ' + 'Button4 + ' + Me.Button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat + Me.Button4.Location = New System.Drawing.Point(31, 165) + Me.Button4.Name = "Button4" + Me.Button4.Size = New System.Drawing.Size(75, 23) + Me.Button4.TabIndex = 7 + Me.Button4.Text = "About" + Me.Button4.UseVisualStyleBackColor = True + ' + 'Form1 + ' + Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) + Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font + Me.BackColor = System.Drawing.Color.White + Me.ClientSize = New System.Drawing.Size(382, 194) + Me.ControlBox = False + Me.Controls.Add(Me.Button4) + Me.Controls.Add(Me.Panel1) + Me.Controls.Add(Me.Button2) + Me.Controls.Add(Me.Button1) + Me.Controls.Add(Me.Button3) + Me.Controls.Add(Me.Label1) + Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None + Me.Name = "Form1" + Me.Text = "Form1" + Me.Panel1.ResumeLayout(False) + Me.Panel1.PerformLayout() + Me.ResumeLayout(False) + Me.PerformLayout() + + End Sub + Friend WithEvents Label1 As Label + Friend WithEvents Button3 As Button + Friend WithEvents Button1 As Button + Friend WithEvents Button2 As Button + Friend WithEvents Panel1 As Panel + Friend WithEvents Label2 As Label + Friend WithEvents Panel2 As Panel + Friend WithEvents Button4 As Button +End Class diff --git a/ShiftOS Decypter/Form1.resx b/ShiftOS Decypter/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/ShiftOS Decypter/Form1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/ShiftOS Decypter/Form1.vb b/ShiftOS Decypter/Form1.vb new file mode 100644 index 0000000..4eaeb71 --- /dev/null +++ b/ShiftOS Decypter/Form1.vb @@ -0,0 +1,51 @@ +Public Class Form1 + Public Const sSecretKey As String = "Password" + Public codepoints As Integer + Public savelines(2000) As String + Public Sub savegame() + savelines(1) = codepoints + IO.File.WriteAllLines(Paths.savedata & "Drivers\HDD.dri", savelines) + File_Crypt.EncryptFile(Paths.savedata & "Drivers\HDD.dri", Paths.savedata & "SKernal.sft", sSecretKey) + End Sub + Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load + + End Sub + + Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click + File_Crypt.DecryptFile(Paths.savedata & "Drivers\HDD.dri", Paths.savedata & "SKernal.sft", sSecretKey) + codepoints = codepoints + 1000 + MessageBox.Show("1000 Codepoints has been added to your save file") + End Sub + + Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click + File_Crypt.DecryptFile(Paths.savedata & "Drivers\HDD.dri", Paths.savedata & "SKernal.sft", sSecretKey) + End Sub + + Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click + savegame() + End Sub + + Public Const WM_NCLBUTTONDOWN As Integer = &HA1 + Public Const HTCAPTION As Integer = &H2 + + Public Shared Function ReleaseCapture() As Boolean + End Function + + Public Shared Function SendMessage(ByVal hWnd As IntPtr, ByVal Msg As Integer, ByVal wParam As Integer, ByVal lParam As Integer) As Integer + End Function + + Private Sub Panel1_MouseDown(sender As Object, e As MouseEventArgs) Handles Panel1.MouseDown + If e.Button = MouseButtons.Left Then + ReleaseCapture() + SendMessage(Handle, WM_NCLBUTTONDOWN, HTCAPTION, 0) + End If + End Sub + + Private Sub Panel2_Click(sender As Object, e As EventArgs) Handles Panel2.Click + Me.Close() + End Sub + + Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click + MessageBox.Show("ShiftOS Hack Client\nBy: Alee14") + End Sub +End Class \ No newline at end of file diff --git a/ShiftOS Decypter/My Project/Application.Designer.vb b/ShiftOS Decypter/My Project/Application.Designer.vb new file mode 100644 index 0000000..e45158c --- /dev/null +++ b/ShiftOS Decypter/My Project/Application.Designer.vb @@ -0,0 +1,38 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:4.0.30319.42000 +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My + + 'NOTE: This file is auto-generated; do not modify it directly. To make changes, + ' or if you encounter build errors in this file, go to the Project Designer + ' (go to Project Properties or double-click the My Project node in + ' Solution Explorer), and make changes on the Application tab. + ' + Partial Friend Class MyApplication + + _ + Public Sub New() + MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) + Me.IsSingleInstance = false + Me.EnableVisualStyles = true + Me.SaveMySettingsOnExit = true + Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses + End Sub + + _ + Protected Overrides Sub OnCreateMainForm() + Me.MainForm = Global.ShiftOS_Hack_Client.Form1 + End Sub + End Class +End Namespace diff --git a/ShiftOS Decypter/My Project/Application.myapp b/ShiftOS Decypter/My Project/Application.myapp new file mode 100644 index 0000000..1243847 --- /dev/null +++ b/ShiftOS Decypter/My Project/Application.myapp @@ -0,0 +1,11 @@ + + + true + Form1 + false + 0 + true + 0 + 0 + true + diff --git a/ShiftOS Decypter/My Project/AssemblyInfo.vb b/ShiftOS Decypter/My Project/AssemblyInfo.vb new file mode 100644 index 0000000..9dd8216 --- /dev/null +++ b/ShiftOS Decypter/My Project/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/ShiftOS Decypter/My Project/Resources.Designer.vb b/ShiftOS Decypter/My Project/Resources.Designer.vb new file mode 100644 index 0000000..fcb5aab --- /dev/null +++ b/ShiftOS Decypter/My Project/Resources.Designer.vb @@ -0,0 +1,63 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:4.0.30319.42000 +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + +Imports System + +Namespace My.Resources + + 'This class was auto-generated by the StronglyTypedResourceBuilder + 'class via a tool like ResGen or Visual Studio. + 'To add or remove a member, edit your .ResX file then rerun ResGen + 'with the /str option, or rebuild your VS project. + ''' + ''' A strongly-typed resource class, for looking up localized strings, etc. + ''' + _ + Friend Module Resources + + Private resourceMan As Global.System.Resources.ResourceManager + + Private resourceCulture As Global.System.Globalization.CultureInfo + + ''' + ''' Returns the cached ResourceManager instance used by this class. + ''' + _ + Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager + Get + If Object.ReferenceEquals(resourceMan, Nothing) Then + Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("ShiftOS_Hack_Client.Resources", GetType(Resources).Assembly) + resourceMan = temp + End If + Return resourceMan + End Get + End Property + + ''' + ''' Overrides the current thread's CurrentUICulture property for all + ''' resource lookups using this strongly typed resource class. + ''' + _ + Friend Property Culture() As Global.System.Globalization.CultureInfo + Get + Return resourceCulture + End Get + Set + resourceCulture = value + End Set + End Property + End Module +End Namespace diff --git a/ShiftOS Decypter/My Project/Resources.resx b/ShiftOS Decypter/My Project/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/ShiftOS Decypter/My Project/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/ShiftOS Decypter/My Project/Settings.Designer.vb b/ShiftOS Decypter/My Project/Settings.Designer.vb new file mode 100644 index 0000000..1d1538e --- /dev/null +++ b/ShiftOS Decypter/My Project/Settings.Designer.vb @@ -0,0 +1,73 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:4.0.30319.42000 +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My + + _ + Partial Friend NotInheritable Class MySettings + Inherits Global.System.Configuration.ApplicationSettingsBase + + Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings) + +#Region "My.Settings Auto-Save Functionality" +#If _MyType = "WindowsForms" Then + Private Shared addedHandler As Boolean + + Private Shared addedHandlerLockObject As New Object + + _ + Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs) + If My.Application.SaveMySettingsOnExit Then + My.Settings.Save() + End If + End Sub +#End If +#End Region + + Public Shared ReadOnly Property [Default]() As MySettings + Get + +#If _MyType = "WindowsForms" Then + If Not addedHandler Then + SyncLock addedHandlerLockObject + If Not addedHandler Then + AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings + addedHandler = True + End If + End SyncLock + End If +#End If + Return defaultInstance + End Get + End Property + End Class +End Namespace + +Namespace My + + _ + Friend Module MySettingsProperty + + _ + Friend ReadOnly Property Settings() As Global.ShiftOS_Hack_Client.My.MySettings + Get + Return Global.ShiftOS_Hack_Client.My.MySettings.Default + End Get + End Property + End Module +End Namespace diff --git a/ShiftOS Decypter/My Project/Settings.settings b/ShiftOS Decypter/My Project/Settings.settings new file mode 100644 index 0000000..85b890b --- /dev/null +++ b/ShiftOS Decypter/My Project/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/ShiftOS Decypter/Paths.vb b/ShiftOS Decypter/Paths.vb new file mode 100644 index 0000000..b25f961 --- /dev/null +++ b/ShiftOS Decypter/Paths.vb @@ -0,0 +1,4 @@ +Module Paths + Public root As String = "C:\ShiftOS\" + Public savedata As String = root & "Shiftum42\" +End Module diff --git a/ShiftOS Decypter/ShiftOS Hack Client.vbproj b/ShiftOS Decypter/ShiftOS Hack Client.vbproj new file mode 100644 index 0000000..b70f105 --- /dev/null +++ b/ShiftOS Decypter/ShiftOS Hack Client.vbproj @@ -0,0 +1,126 @@ + + + + + Debug + AnyCPU + {567CB692-D67E-423D-BC24-574770A99BF3} + WinExe + ShiftOS_Hack_Client.My.MyApplication + ShiftOS_Hack_Client + ShiftOS Hack Client + 512 + WindowsForms + v4.6.1 + true + + + AnyCPU + true + full + true + true + bin\Debug\ + ShiftOS Hack Client.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + AnyCPU + pdbonly + false + true + true + bin\Release\ + ShiftOS Hack Client.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + On + + + Binary + + + Off + + + On + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Form + + + Form1.vb + Form + + + + True + Application.myapp + + + True + True + Resources.resx + + + True + Settings.settings + True + + + + + + Form1.vb + + + VbMyResourcesResXFileCodeGenerator + Resources.Designer.vb + My.Resources + Designer + + + + + MyApplicationCodeGenerator + Application.Designer.vb + + + SettingsSingleFileGenerator + My + Settings.Designer.vb + + + Designer + + + + \ No newline at end of file diff --git a/ShiftOS Hack Client.sln b/ShiftOS Hack Client.sln new file mode 100644 index 0000000..cbe6f2e --- /dev/null +++ b/ShiftOS Hack Client.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.27428.2043 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "ShiftOS Hack Client", "ShiftOS Decypter\ShiftOS Hack Client.vbproj", "{567CB692-D67E-423D-BC24-574770A99BF3}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {567CB692-D67E-423D-BC24-574770A99BF3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {567CB692-D67E-423D-BC24-574770A99BF3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {567CB692-D67E-423D-BC24-574770A99BF3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {567CB692-D67E-423D-BC24-574770A99BF3}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {9D5CAE4E-B369-41B0-931E-8BB21856152A} + EndGlobalSection +EndGlobal