├── NanoDecrypt
├── obj
│ └── Debug
│ │ ├── NanoDecrypt.csproj.CopyComplete
│ │ ├── NanoDecrypt.csproj.CoreCompileInputs.cache
│ │ ├── NanoDecrypt.exe
│ │ ├── NanoDecrypt.pdb
│ │ ├── NanoDecrypt.csprojAssemblyReference.cache
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── .NETFramework,Version=v4.7.2.AssemblyAttributes.cs
│ │ └── NanoDecrypt.csproj.FileListAbsolute.txt
├── bin
│ └── Debug
│ │ ├── NanoDecrypt.exe
│ │ ├── NanoDecrypt.pdb
│ │ ├── Newtonsoft.Json.dll
│ │ └── NanoDecrypt.exe.config
├── packages.config
├── App.config
├── Plugin.cs
├── Properties
│ └── AssemblyInfo.cs
├── NanoDecrypt.csproj
├── Configuration.cs
└── Program.cs
├── logo.jpg
├── screenshot1.jpg
├── screenshot2.jpg
├── .vs
└── NanoDecrypt
│ └── v16
│ └── .suo
├── packages
└── Newtonsoft.Json.12.0.3
│ ├── .signature.p7s
│ ├── packageIcon.png
│ ├── Newtonsoft.Json.12.0.3.nupkg
│ ├── lib
│ ├── net20
│ │ └── Newtonsoft.Json.dll
│ ├── net35
│ │ └── Newtonsoft.Json.dll
│ ├── net40
│ │ └── Newtonsoft.Json.dll
│ ├── net45
│ │ └── Newtonsoft.Json.dll
│ ├── netstandard1.0
│ │ └── Newtonsoft.Json.dll
│ ├── netstandard1.3
│ │ └── Newtonsoft.Json.dll
│ ├── netstandard2.0
│ │ └── Newtonsoft.Json.dll
│ ├── portable-net45+win8+wp8+wpa81
│ │ └── Newtonsoft.Json.dll
│ └── portable-net40+sl5+win8+wp8+wpa81
│ │ └── Newtonsoft.Json.dll
│ └── LICENSE.md
├── README.md
├── NanoDecrypt.sln
└── LICENSE
/NanoDecrypt/obj/Debug/NanoDecrypt.csproj.CopyComplete:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/logo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NexusFuzzy/NanoDump/HEAD/logo.jpg
--------------------------------------------------------------------------------
/screenshot1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NexusFuzzy/NanoDump/HEAD/screenshot1.jpg
--------------------------------------------------------------------------------
/screenshot2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NexusFuzzy/NanoDump/HEAD/screenshot2.jpg
--------------------------------------------------------------------------------
/.vs/NanoDecrypt/v16/.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NexusFuzzy/NanoDump/HEAD/.vs/NanoDecrypt/v16/.suo
--------------------------------------------------------------------------------
/NanoDecrypt/obj/Debug/NanoDecrypt.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | d0f31f2032c08008b09b0b8e990cf283034cedbb
2 |
--------------------------------------------------------------------------------
/NanoDecrypt/bin/Debug/NanoDecrypt.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NexusFuzzy/NanoDump/HEAD/NanoDecrypt/bin/Debug/NanoDecrypt.exe
--------------------------------------------------------------------------------
/NanoDecrypt/bin/Debug/NanoDecrypt.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NexusFuzzy/NanoDump/HEAD/NanoDecrypt/bin/Debug/NanoDecrypt.pdb
--------------------------------------------------------------------------------
/NanoDecrypt/obj/Debug/NanoDecrypt.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NexusFuzzy/NanoDump/HEAD/NanoDecrypt/obj/Debug/NanoDecrypt.exe
--------------------------------------------------------------------------------
/NanoDecrypt/obj/Debug/NanoDecrypt.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NexusFuzzy/NanoDump/HEAD/NanoDecrypt/obj/Debug/NanoDecrypt.pdb
--------------------------------------------------------------------------------
/NanoDecrypt/bin/Debug/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NexusFuzzy/NanoDump/HEAD/NanoDecrypt/bin/Debug/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.12.0.3/.signature.p7s:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NexusFuzzy/NanoDump/HEAD/packages/Newtonsoft.Json.12.0.3/.signature.p7s
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.12.0.3/packageIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NexusFuzzy/NanoDump/HEAD/packages/Newtonsoft.Json.12.0.3/packageIcon.png
--------------------------------------------------------------------------------
/NanoDecrypt/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.12.0.3/Newtonsoft.Json.12.0.3.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NexusFuzzy/NanoDump/HEAD/packages/Newtonsoft.Json.12.0.3/Newtonsoft.Json.12.0.3.nupkg
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.12.0.3/lib/net20/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NexusFuzzy/NanoDump/HEAD/packages/Newtonsoft.Json.12.0.3/lib/net20/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.12.0.3/lib/net35/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NexusFuzzy/NanoDump/HEAD/packages/Newtonsoft.Json.12.0.3/lib/net35/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.12.0.3/lib/net40/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NexusFuzzy/NanoDump/HEAD/packages/Newtonsoft.Json.12.0.3/lib/net40/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NexusFuzzy/NanoDump/HEAD/packages/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/NanoDecrypt/obj/Debug/NanoDecrypt.csprojAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NexusFuzzy/NanoDump/HEAD/NanoDecrypt/obj/Debug/NanoDecrypt.csprojAssemblyReference.cache
--------------------------------------------------------------------------------
/NanoDecrypt/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NexusFuzzy/NanoDump/HEAD/NanoDecrypt/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.12.0.3/lib/netstandard1.0/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NexusFuzzy/NanoDump/HEAD/packages/Newtonsoft.Json.12.0.3/lib/netstandard1.0/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.12.0.3/lib/netstandard1.3/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NexusFuzzy/NanoDump/HEAD/packages/Newtonsoft.Json.12.0.3/lib/netstandard1.3/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.12.0.3/lib/netstandard2.0/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NexusFuzzy/NanoDump/HEAD/packages/Newtonsoft.Json.12.0.3/lib/netstandard2.0/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/NanoDecrypt/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.12.0.3/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NexusFuzzy/NanoDump/HEAD/packages/Newtonsoft.Json.12.0.3/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.12.0.3/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NexusFuzzy/NanoDump/HEAD/packages/Newtonsoft.Json.12.0.3/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/NanoDecrypt/bin/Debug/NanoDecrypt.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/NanoDecrypt/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs:
--------------------------------------------------------------------------------
1 | //
2 | using System;
3 | using System.Reflection;
4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
5 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Tool to decrypt the configuration of NanoCore and dump all used plugins
6 |
7 | Usage: NanoDecrypt.exe NanoCore.exe C:\Users\Vladimir\Desktop\NanoCore
8 |
9 | 
10 |
11 | 
12 |
13 | If you are not interested in compiling it yourself just grab the binary from bin/debug! Please note that most samples are packed and before you can use this tool you should have the dumped sample. You may use [HollowsHunter](https://github.com/hasherezade/hollows_hunter).
14 |
15 |
--------------------------------------------------------------------------------
/NanoDecrypt/Plugin.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace NanoDecrypt
8 | {
9 | class Plugin
10 | {
11 | private Guid _Guid;
12 | public Guid Guid
13 | {
14 | get { return _Guid; }
15 | set { _Guid = value; }
16 | }
17 |
18 | private DateTime _LastUpdated;
19 | public DateTime LastUpdated
20 | {
21 | get { return _LastUpdated; }
22 | set { _LastUpdated = value; }
23 | }
24 |
25 | private string _Name;
26 | public string Name
27 | {
28 | get { return _Name; }
29 | set { _Name = value; }
30 | }
31 |
32 | private byte[] _Payload;
33 | public byte[] Payload
34 | {
35 | get { return _Payload; }
36 | set { _Payload = value; }
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/packages/Newtonsoft.Json.12.0.3/LICENSE.md:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2007 James Newton-King
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of
6 | this software and associated documentation files (the "Software"), to deal in
7 | the Software without restriction, including without limitation the rights to
8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9 | the Software, and to permit persons to whom the Software is furnished to do so,
10 | subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/NanoDecrypt.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.30330.147
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NanoDecrypt", "NanoDecrypt\NanoDecrypt.csproj", "{869E8F13-6B4B-4E05-B7FB-C4113E19A7E9}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {869E8F13-6B4B-4E05-B7FB-C4113E19A7E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {869E8F13-6B4B-4E05-B7FB-C4113E19A7E9}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {869E8F13-6B4B-4E05-B7FB-C4113E19A7E9}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {869E8F13-6B4B-4E05-B7FB-C4113E19A7E9}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {20810149-FAC7-40D5-A2EC-D639DF80EB48}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/NanoDecrypt/obj/Debug/NanoDecrypt.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | C:\Users\vladimir\source\repos\NanoDecrypt\NanoDecrypt\bin\Debug\NanoDecrypt.exe.config
2 | C:\Users\vladimir\source\repos\NanoDecrypt\NanoDecrypt\bin\Debug\NanoDecrypt.exe
3 | C:\Users\vladimir\source\repos\NanoDecrypt\NanoDecrypt\bin\Debug\NanoDecrypt.pdb
4 | C:\Users\vladimir\source\repos\NanoDecrypt\NanoDecrypt\obj\Debug\NanoDecrypt.csprojAssemblyReference.cache
5 | C:\Users\vladimir\source\repos\NanoDecrypt\NanoDecrypt\obj\Debug\NanoDecrypt.csproj.CoreCompileInputs.cache
6 | C:\Users\vladimir\source\repos\NanoDecrypt\NanoDecrypt\obj\Debug\NanoDecrypt.exe
7 | C:\Users\vladimir\source\repos\NanoDecrypt\NanoDecrypt\obj\Debug\NanoDecrypt.pdb
8 | C:\Users\vladimir\Source\Repos\NanoDump\NanoDecrypt\bin\Debug\NanoDecrypt.exe.config
9 | C:\Users\vladimir\Source\Repos\NanoDump\NanoDecrypt\bin\Debug\NanoDecrypt.exe
10 | C:\Users\vladimir\Source\Repos\NanoDump\NanoDecrypt\bin\Debug\NanoDecrypt.pdb
11 | C:\Users\vladimir\Source\Repos\NanoDump\NanoDecrypt\obj\Debug\NanoDecrypt.csprojAssemblyReference.cache
12 | C:\Users\vladimir\Source\Repos\NanoDump\NanoDecrypt\obj\Debug\NanoDecrypt.csproj.CoreCompileInputs.cache
13 | C:\Users\vladimir\Source\Repos\NanoDump\NanoDecrypt\obj\Debug\NanoDecrypt.exe
14 | C:\Users\vladimir\Source\Repos\NanoDump\NanoDecrypt\obj\Debug\NanoDecrypt.pdb
15 | C:\Users\vladimir\Source\Repos\NanoDump\NanoDecrypt\bin\Debug\Newtonsoft.Json.dll
16 | C:\Users\vladimir\Source\Repos\NanoDump\NanoDecrypt\bin\Debug\Newtonsoft.Json.xml
17 | C:\Users\vladimir\Source\Repos\NanoDump\NanoDecrypt\obj\Debug\NanoDecrypt.csproj.CopyComplete
18 |
--------------------------------------------------------------------------------
/NanoDecrypt/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // Allgemeine Informationen über eine Assembly werden über die folgenden
6 | // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
7 | // die einer Assembly zugeordnet sind.
8 | [assembly: AssemblyTitle("NanoDecrypt")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("NanoDecrypt")]
13 | [assembly: AssemblyCopyright("Copyright © 2020")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
18 | // für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
19 | // COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
20 | [assembly: ComVisible(false)]
21 |
22 | // Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
23 | [assembly: Guid("869e8f13-6b4b-4e05-b7fb-c4113e19a7e9")]
24 |
25 | // Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
26 | //
27 | // Hauptversion
28 | // Nebenversion
29 | // Buildnummer
30 | // Revision
31 | //
32 | // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
33 | // indem Sie "*" wie unten gezeigt eingeben:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/NanoDecrypt/NanoDecrypt.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {869E8F13-6B4B-4E05-B7FB-C4113E19A7E9}
8 | Exe
9 | NanoDecrypt
10 | NanoDecrypt
11 | v4.7.2
12 | 512
13 | true
14 | true
15 |
16 |
17 | AnyCPU
18 | true
19 | full
20 | false
21 | bin\Debug\
22 | DEBUG;TRACE
23 | prompt
24 | 4
25 |
26 |
27 | AnyCPU
28 | pdbonly
29 | true
30 | bin\Release\
31 | TRACE
32 | prompt
33 | 4
34 |
35 |
36 |
37 |
38 | ..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
--------------------------------------------------------------------------------
/NanoDecrypt/Configuration.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace NanoDecrypt
8 | {
9 | class Configuration
10 | {
11 | private DateTime _BuildTime;
12 | public DateTime BuildTime
13 | {
14 | get { return _BuildTime; }
15 | set { _BuildTime = value; }
16 | }
17 |
18 | private Version _Version;
19 | public Version Version
20 | {
21 | get { return _Version; }
22 | set { _Version = value; }
23 | }
24 |
25 | private Guid _Mutex;
26 | public Guid Mutex
27 | {
28 | get { return _Mutex; }
29 | set { _Mutex = value; }
30 | }
31 |
32 | private string _DefaultGroup;
33 | public string DefaultGroup
34 | {
35 | get { return _DefaultGroup; }
36 | set { _DefaultGroup = value; }
37 | }
38 |
39 | private string _PrimaryConnectionHost;
40 | public string PrimaryConnectionHost
41 | {
42 | get { return _PrimaryConnectionHost; }
43 | set { _PrimaryConnectionHost = value; }
44 | }
45 |
46 | private string _BackupConnectionHost;
47 | public string BackupConnectionHost
48 | {
49 | get { return _BackupConnectionHost; }
50 | set { _BackupConnectionHost = value; }
51 | }
52 |
53 | private ushort _ConnectionPort;
54 | public ushort ConnectionPort
55 | {
56 | get { return _ConnectionPort; }
57 | set { _ConnectionPort = value; }
58 | }
59 |
60 | private bool _RunOnStartup;
61 | public bool RunOnStartup
62 | {
63 | get { return _RunOnStartup; }
64 | set { _RunOnStartup = value; }
65 | }
66 |
67 | private bool _RequestElevation;
68 | public bool RequestElevation
69 | {
70 | get { return _RequestElevation; }
71 | set { _RequestElevation = value; }
72 | }
73 |
74 | private bool _BypassUserAccountControl;
75 | public bool BypassUserAccountControl
76 | {
77 | get { return _BypassUserAccountControl; }
78 | set { _BypassUserAccountControl = value; }
79 | }
80 |
81 | private byte[] _BypassUserAccountControlData;
82 | public byte[] BypassUserAccountControlData
83 | {
84 | get { return _BypassUserAccountControlData; }
85 | set { _BypassUserAccountControlData = value; }
86 | }
87 |
88 | private bool _ClearZoneIdentifier;
89 | public bool ClearZoneIdentifier
90 | {
91 | get { return _ClearZoneIdentifier; }
92 | set { _ClearZoneIdentifier = value; }
93 | }
94 |
95 | private bool _ClearAccessControl;
96 | public bool ClearAccessControl
97 | {
98 | get { return _ClearAccessControl; }
99 | set { _ClearAccessControl = value; }
100 | }
101 |
102 | private bool _SetCriticalProcess;
103 | public bool SetCriticalProcess
104 | {
105 | get { return _SetCriticalProcess; }
106 | set { _SetCriticalProcess = value; }
107 | }
108 |
109 | private bool _PreventSystemSleep;
110 | public bool PreventSystemSleep
111 | {
112 | get { return _PreventSystemSleep; }
113 | set { _PreventSystemSleep = value; }
114 | }
115 |
116 | private bool _ActivateAwayMode;
117 | public bool ActivateAwayMode
118 | {
119 | get { return _ActivateAwayMode; }
120 | set { _ActivateAwayMode = value; }
121 | }
122 |
123 | private bool _EnableDebugMode;
124 | public bool EnableDebugMode
125 | {
126 | get { return _EnableDebugMode; }
127 | set { _EnableDebugMode = value; }
128 | }
129 |
130 | private int _RunDelay;
131 | public int RunDelay
132 | {
133 | get { return _RunDelay; }
134 | set { _RunDelay = value; }
135 | }
136 |
137 | private int _ConnectionDelay;
138 | public int ConnectionDelay
139 | {
140 | get { return _ConnectionDelay; }
141 | set { _ConnectionDelay = value; }
142 | }
143 |
144 | private int _RestartDelay;
145 | public int RestartDelay
146 | {
147 | get { return _RestartDelay; }
148 | set { _RestartDelay = value; }
149 | }
150 |
151 | private int _TimeoutInterval;
152 | public int TimeoutInterval
153 | {
154 | get { return _TimeoutInterval; }
155 | set { _TimeoutInterval = value; }
156 | }
157 |
158 | private int _KeepAliveTimeout;
159 | public int KeepAliveTimeout
160 | {
161 | get { return _KeepAliveTimeout; }
162 | set { _KeepAliveTimeout = value; }
163 | }
164 |
165 | private int _MutexTimeout;
166 | public int MutexTimeout
167 | {
168 | get { return _MutexTimeout; }
169 | set { _MutexTimeout = value; }
170 | }
171 |
172 | private int _LanTimeout;
173 | public int LanTimeout
174 | {
175 | get { return _LanTimeout; }
176 | set { _LanTimeout = value; }
177 | }
178 |
179 | private int _WanTimeout;
180 | public int WanTimeout
181 | {
182 | get { return _WanTimeout; }
183 | set { _WanTimeout = value; }
184 | }
185 |
186 | private int _BufferSize;
187 | public int BufferSize
188 | {
189 | get { return _BufferSize; }
190 | set { _BufferSize = value; }
191 | }
192 |
193 | private int _MaxPacketSize;
194 | public int MaxPacketSize
195 | {
196 | get { return _MaxPacketSize; }
197 | set { _MaxPacketSize = value; }
198 | }
199 |
200 | private int _GCThreshold;
201 | public int GCThreshold
202 | {
203 | get { return _GCThreshold; }
204 | set { _GCThreshold = value; }
205 | }
206 |
207 | private bool _UseCustomDnsServer;
208 | public bool UseCustomDnsServer
209 | {
210 | get { return _UseCustomDnsServer; }
211 | set { _UseCustomDnsServer = value; }
212 | }
213 |
214 | private string _PrimaryDnsServer;
215 | public string PrimaryDnsServer
216 | {
217 | get { return _PrimaryDnsServer; }
218 | set { _PrimaryDnsServer = value; }
219 | }
220 |
221 | private string _BackupDnsServer;
222 | public string BackupDnsServer
223 | {
224 | get { return _BackupDnsServer; }
225 | set { _BackupDnsServer = value; }
226 | }
227 |
228 | private bool _ShowInstallationDialog;
229 | public bool ShowInstallationDialog
230 | {
231 | get { return _ShowInstallationDialog; }
232 | set { _ShowInstallationDialog = value; }
233 | }
234 |
235 | private string _InstallationDialogTitle;
236 | public string InstallationDialogTitle
237 | {
238 | get { return _InstallationDialogTitle; }
239 | set { _InstallationDialogTitle = value; }
240 | }
241 |
242 | private string _InstallationDIalogMessage;
243 | public string InstallationDIalogMessage
244 | {
245 | get { return _InstallationDIalogMessage; }
246 | set { _InstallationDIalogMessage = value; }
247 | }
248 |
249 | private byte _InstallationDIalogIcon;
250 | public byte InstallationDIalogIcon
251 | {
252 | get { return _InstallationDIalogIcon; }
253 | set { _InstallationDIalogIcon = value; }
254 | }
255 | }
256 | }
257 |
--------------------------------------------------------------------------------
/NanoDecrypt/Program.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.VisualBasic.CompilerServices;
2 | using Newtonsoft.Json;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Drawing;
6 | using System.IO;
7 | using System.IO.Compression;
8 | using System.Reflection;
9 | using System.Runtime.CompilerServices;
10 | using System.Runtime.InteropServices;
11 | using System.Security.Cryptography;
12 |
13 | namespace NanoDecrypt
14 | {
15 | class Program
16 | {
17 | [DllImport("kernel32.dll", SetLastError = true)]
18 | public static extern IntPtr LoadLibraryEx(string lpFileName, IntPtr hFile, uint dwFlags);
19 |
20 | [DllImport("Kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
21 | public static extern IntPtr LoadLibrary(string lpFileName);
22 |
23 | [DllImport("kernel32.dll")]
24 | public static extern IntPtr FindResourceEx(IntPtr intptr_0, int int_0, int int_1, short short_0);
25 |
26 | [DllImport("kernel32.dll", SetLastError = true)]
27 | public static extern IntPtr LoadResource(IntPtr hModule, IntPtr hResInfo);
28 |
29 | [DllImport("kernel32.dll", SetLastError = true)]
30 | public static extern IntPtr LockResource(IntPtr hResData);
31 |
32 | [DllImport("kernel32.dll", SetLastError = true)]
33 | public static extern uint SizeofResource(IntPtr hModule, IntPtr hResInfo);
34 |
35 | [DllImport("kernel32.dll", SetLastError = true)]
36 | public static extern bool EnumResourceNames(IntPtr hModule, string lpType, IntPtr lpEnumFunc, IntPtr lParam);
37 |
38 | // Token: 0x04000064 RID: 100
39 | private static ICryptoTransform Encryptor;
40 |
41 | // Token: 0x04000065 RID: 101
42 | private static ICryptoTransform Decryptor;
43 |
44 | public struct GStruct2
45 | {
46 | // Token: 0x0400006F RID: 111
47 | public byte byte_0;
48 |
49 | // Token: 0x04000070 RID: 112
50 | public byte byte_1;
51 |
52 | // Token: 0x04000071 RID: 113
53 | public Guid guid_0;
54 |
55 | // Token: 0x04000072 RID: 114
56 | public object[] object_0;
57 | }
58 |
59 | static void Main(string[] args)
60 | {
61 | if (args.Length < 2)
62 | {
63 | PrintHelp();
64 | }
65 | else
66 | {
67 | ProcessFile(args[0], args[1]);
68 | }
69 | }
70 |
71 | static void PrintHelp()
72 | {
73 | Console.WriteLine("> NanoDump");
74 | Console.WriteLine(">> Automatically extract plugins and config from NanoCore");
75 | Console.WriteLine(">> @hariomenkel / https://github.com/hariomenkel/NanoDump");
76 | Console.WriteLine("Usage: " + System.AppDomain.CurrentDomain.FriendlyName + "