Skip to content

Commit

Permalink
Initial main commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Ylian Saint-Hilaire committed Aug 28, 2017
1 parent 802cbec commit b831b7c
Show file tree
Hide file tree
Showing 104 changed files with 62,749 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Ignore node_modules
## Ignore nodejs things
[Nn]ode_modules/
[Tt]yping/
[Ii]mages-spare/
[Dd]aemon/
[Bb]in/

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
Expand Down
2 changes: 2 additions & 0 deletions CreateSourcePackage.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
del MeshCentral2.zip
"C:\Program Files\WinRAR\WinRAR.exe" a MeshCentral2.zip @SourceFileList.txt
22 changes: 22 additions & 0 deletions MeshCentral.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9092AA53-FB77-4645-B42D-1CCCA6BD08BD}") = "MeshCentralServer", "MeshCentralServer.njsproj", "{00C71E60-81CC-4B15-B486-10D27935D7EB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{00C71E60-81CC-4B15-B486-10D27935D7EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{00C71E60-81CC-4B15-B486-10D27935D7EB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{00C71E60-81CC-4B15-B486-10D27935D7EB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{00C71E60-81CC-4B15-B486-10D27935D7EB}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
146 changes: 146 additions & 0 deletions MeshCentralServer.njsproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{00c71e60-81cc-4b15-b486-10d27935d7eb}</ProjectGuid>
<ProjectHome />
<ProjectView>ShowAllFiles</ProjectView>
<StartupFile>meshcentral.js</StartupFile>
<WorkingDirectory>.</WorkingDirectory>
<OutputPath>.</OutputPath>
<ProjectTypeGuids>{3AF33F2E-1136-4D97-BBB7-1795711AC8B8};{349c5851-65df-11da-9384-00065b846f21};{9092AA53-FB77-4645-B42D-1CCCA6BD08BD}</ProjectTypeGuids>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">11.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
<Name>MeshCentralServer</Name>
<StartWebBrowser>False</StartWebBrowser>
<ScriptArguments>
</ScriptArguments>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Debug'" />
<PropertyGroup Condition="'$(Configuration)' == 'Release'" />
<ItemGroup>
<Compile Include="agents\meshcore.js" />
<Compile Include="agents\tinycore.js" />
<Compile Include="amtevents.js" />
<Compile Include="amtscanner.js" />
<Compile Include="amtscript.js" />
<Compile Include="meshscanner.js" />
<Compile Include="certoperations.js" />
<Compile Include="common.js" />
<Compile Include="db.js" />
<Compile Include="interceptor.js" />
<Compile Include="meshcentral.js" />
<Compile Include="meshagent.js" />
<Compile Include="meshrelay.js" />
<Compile Include="mpsserver.js" />
<Compile Include="multiserver.js" />
<Compile Include="pass.js" />
<Compile Include="public\scripts\amt-0.2.0.js" />
<Compile Include="public\scripts\agent-desktop-0.0.2.js" />
<Compile Include="public\scripts\amt-desktop-0.0.2.js" />
<Compile Include="public\scripts\amt-ider-ws-0.0.1.js" />
<Compile Include="public\scripts\agent-redir-ws-0.1.0.js" />
<Compile Include="public\scripts\amt-redir-ws-0.1.0.js" />
<Compile Include="public\scripts\amt-script-0.2.0.js" />
<Compile Include="public\scripts\amt-setupbin-0.1.0.js" />
<Compile Include="public\scripts\amt-terminal-0.0.2.js" />
<Compile Include="public\scripts\amt-wsman-0.2.0.js" />
<Compile Include="public\scripts\amt-wsman-ws-0.2.0.js" />
<Compile Include="public\scripts\common-0.0.1.js" />
<Compile Include="public\scripts\filesaver.1.1.20151003.js" />
<Compile Include="public\scripts\inflate.js" />
<Compile Include="public\scripts\meshcentral.js" />
<Compile Include="redirserver.js" />
<Compile Include="webserver.js" />
<Content Include="package.json" />
<Content Include="public\images-isdu\ComputerIcon.png" />
<Content Include="public\images-isdu\ComputerIcon2.png" />
<Content Include="public\images-isdu\IntelLogo.png" />
<Content Include="public\images-isdu\IntelLogoWhite42.png" />
<Content Include="public\images-isdu\ISDUTitle.png" />
<Content Include="public\images-isdu\TabConfig.png" />
<Content Include="public\images-isdu\TabConnection.png" />
<Content Include="public\images-isdu\TabDesktop.png" />
<Content Include="public\images-isdu\TabDiscovery.png" />
<Content Include="public\images-isdu\TabEvents.png" />
<Content Include="public\images-isdu\TabNetwork.png" />
<Content Include="public\images-isdu\TabPolicies.png" />
<Content Include="public\images-isdu\TabRemote.png" />
<Content Include="public\images-isdu\caution.gif" />
<Content Include="public\images-isdu\info.gif" />
<Content Include="public\images-isdu\warning.gif" />
<Content Include="public\images-isdu\isdu.ico" />
<Content Include="public\styles\style.css" />
<Content Include="readme.txt" />
<Content Include="views\default.handlebars" />
<Content Include="views\download.handlebars" />
<Content Include="views\login.handlebars" />
<Content Include="views\terms.handlebars" />
</ItemGroup>
<ItemGroup>
<Folder Include="agents\" />
<Folder Include="public" />
<Folder Include="public\images-isdu" />
<Folder Include="public\scripts\" />
<Folder Include="public\styles\" />
<Folder Include="typings\" />
<Folder Include="typings\globals\" />
<Folder Include="typings\globals\connect-redis\" />
<Folder Include="typings\globals\express-handlebars\" />
<Folder Include="typings\globals\express-session\" />
<Folder Include="typings\globals\node-forge\" />
<Folder Include="typings\globals\node\" />
<Folder Include="views\" />
</ItemGroup>
<ItemGroup>
<TypeScriptCompile Include="typings\globals\connect-redis\index.d.ts" />
<TypeScriptCompile Include="typings\globals\express-handlebars\index.d.ts" />
<TypeScriptCompile Include="typings\globals\express-session\index.d.ts" />
<TypeScriptCompile Include="typings\globals\node-forge\index.d.ts" />
<TypeScriptCompile Include="typings\globals\node\index.d.ts" />
<TypeScriptCompile Include="typings\index.d.ts" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.Common.targets" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<!--Do not delete the following Import Project. While this appears to do nothing it is a marker for setting TypeScript properties before our import that depends on them.-->
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.targets" Condition="False" />
<Import Project="$(VSToolsPath)\Node.js Tools\Microsoft.NodejsTools.targets" />
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<UseIIS>False</UseIIS>
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>0</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost:48022/</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>True</UseCustomServer>
<CustomServerUrl>http://localhost:1337</CustomServerUrl>
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
</WebProjectProperties>
</FlavorProperties>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}" User="">
<WebProjectProperties>
<StartPageUrl>
</StartPageUrl>
<StartAction>CurrentPage</StartAction>
<AspNetDebugging>True</AspNetDebugging>
<SilverlightDebugging>False</SilverlightDebugging>
<NativeDebugging>False</NativeDebugging>
<SQLDebugging>False</SQLDebugging>
<ExternalProgram>
</ExternalProgram>
<StartExternalURL>
</StartExternalURL>
<StartCmdLineArguments>
</StartCmdLineArguments>
<StartWorkingDirectory>
</StartWorkingDirectory>
<EnableENC>False</EnableENC>
<AlwaysStartWebServerOnDebug>False</AlwaysStartWebServerOnDebug>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
</Project>
12 changes: 12 additions & 0 deletions SourceFileList.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
readme.txt
license.txt
package.json
*.js
views/*
public/*
public/images/*
public/scripts/*
public/styles/*
agents/MeshAgent-Win32.exe
MeshCentral.sln
MeshCentralServer.njsproj
Binary file added agent/MeshAgent.exe
Binary file not shown.
4 changes: 4 additions & 0 deletions agent/MeshAgent.msh.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
MeshName=TestMesh
MeshID=0xF5565E916018381CE5FA9F01AAF526A2984F13A3622D8B82C433A92B795CB840
MeshServer=wss://devbox.mesh.meshcentral.com:443/agent.ashx
ServerID=02CC5EC709F5954D28EED3A4AF4618A622C8E148CF79989CF15333476A78DDBE
Binary file added agent/MeshAgentx.db
Binary file not shown.
Binary file added agent/MeshService.db
Binary file not shown.
Binary file added agent/MeshService.exe
Binary file not shown.
4 changes: 4 additions & 0 deletions agent/MeshService.msh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
MeshName=TestMesh
MeshID=0xF5565E916018381CE5FA9F01AAF526A2984F13A3622D8B82C433A92B795CB840
MeshServer=wss://devbox.mesh.meshcentral.com:443/agent.ashx
ServerID=02CC5EC709F5954D28EED3A4AF4618A622C8E148CF79989CF15333476A78DDBE
Binary file added agent/MeshService.wlg
Binary file not shown.
Binary file added agent/meshagent.db
Binary file not shown.
18 changes: 18 additions & 0 deletions agent/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
MeshAgent 2.0, 32bit Windows Executable

This is a super early development sample. Agent can't do anything yet.

Command parameters:
--info (shows info)
--update-key (update key, pertinent keys include �MeshServer�, �MeshID�, �ServerID�
--update-key-hex
--delete-key
--dump-key
--dump-key-hex
--mesh-server (same as doing �update-key MeshServer)

Note: MeshServer, specify uri� For now, use ws:// as it doesn�t connect TLS to server right now, because the Mesh Server I have right now doesn�t do TLS, so I couldn�t test.

Use �update-key-hex to specify MeshID and ServerID
MeshAgent.exe �update-key-hex MeshID 5BFC963FA34940E24C032A43E1AD675EEBF27AD1E4CE24C678D081E8B2725FD9

Binary file added agents/MeshService.exe
Binary file not shown.
Binary file added agents/MeshService64.exe
Binary file not shown.
Binary file added agents/meshagent_arm
Binary file not shown.
Binary file added agents/meshagent_arm-linaro
Binary file not shown.
Binary file added agents/meshagent_mips
Binary file not shown.
Binary file added agents/meshagent_pi2
Binary file not shown.
Binary file added agents/meshagent_pogo
Binary file not shown.
Binary file added agents/meshagent_poky
Binary file not shown.
Binary file added agents/meshagent_poky64
Binary file not shown.
Binary file added agents/meshagent_x86
Binary file not shown.
Binary file added agents/meshagent_x86-64
Binary file not shown.
Binary file added agents/meshagent_x86-64_nokvm
Binary file not shown.
Binary file added agents/meshagent_x86_nokvm
Binary file not shown.
Loading

0 comments on commit b831b7c

Please sign in to comment.