Skip to content
This repository has been archived by the owner on Oct 5, 2019. It is now read-only.

Commit

Permalink
Fixed value proxy for hex values
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaczero committed Apr 15, 2017
1 parent 30ddcf6 commit 6470d10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SharpLoader/Core/SourceRandomizer.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Text;
Expand Down Expand Up @@ -967,7 +968,7 @@ private void Proxy(ref string str)
continue;
}
// Value proxy
if (argStr.ToCharArray().All(char.IsDigit))
if (argStr.ToCharArray().All(char.IsDigit) || argStr.StartsWith("0x", StringComparison.OrdinalIgnoreCase))
{
int arg;

Expand Down

0 comments on commit 6470d10

Please sign in to comment.