Jump to content
Tuts 4 You

1 Screenshot

This file is packed with DotNetSafer using the following protections;

  • Constants Protection
  • Mutation Protection
  • ILDasm Protection
  • Invalid Metadata Protection
  • Invalid Cctor Protection
  • Name Protection

Goal : Unpack the file and detail the methods you used to bypass the above protection options.

using System;

namespace ucan_tunpackthisretarded
{
	// Token: 0x02000002 RID: 2
	internal class Program
	{
		// Token: 0x06000001 RID: 1 RVA: 0x0000205C File Offset: 0x0000025C
		private static void Main(string[] args)
		{
			string str = "| Welcome : ";
			string userName = Environment.UserName;
			Console.Title = "Reversers Moment : O" + str + userName + " | Prab#1337";
			Console.ForegroundColor = ConsoleColor.Yellow;
			Console.WriteLine("This program is the sample for testing packer from Prab#1337\r\nInput password : ");
			Console.ForegroundColor = ConsoleColor.White;
			string a = Console.ReadLine();
			bool flag = a == "goodstuff";
			if (flag)
			{
				Console.ForegroundColor = ConsoleColor.Green;
				Console.WriteLine("You are a good reverser !");
			}
			else
			{
				Console.ForegroundColor = ConsoleColor.Red;
				Console.WriteLine("You are not a good reverser !");
			}
			Console.ReadLine();
		}

		// Token: 0x06000002 RID: 2 RVA: 0x00002050 File Offset: 0x00000250
		public Program()
		{
		}
	}
}

User Feedback

Recommended Comments

There are no comments to display.

×
×
  • Create New...