Skip to content

Commit 3b950b6

Browse files
tyranidJames Forshaw
authored andcommitted
Don't detect version if using serialization as we don't use the value for anything
1 parent 0962e84 commit 3b950b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ExploitRemotingService/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ static int Main(string[] args)
578578
}
579579
else
580580
{
581-
if (_ver == 0)
581+
if (_ver == 0 && !_useser)
582582
{
583583
_ver = DetectMajorVersion(channel);
584584
Console.WriteLine("Detected version {0} server", _ver);

0 commit comments

Comments
 (0)