{"id":29671282,"url":"https://github.com/abdullah-erturk/tsf_ohook_activation","last_synced_at":"2025-07-22T20:07:26.194Z","repository":{"id":293715539,"uuid":"983933636","full_name":"abdullah-erturk/tsf_ohook_activation","owner":"abdullah-erturk","description":"Powershell TSF Activation","archived":false,"fork":false,"pushed_at":"2025-07-22T07:21:35.000Z","size":1557,"stargazers_count":17,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-22T08:46:34.304Z","etag":null,"topics":["activator","kms","kms-office","kms38","microsoft","office","office365","powershell","tsforge","windows","windows-11"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abdullah-erturk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-15T06:24:38.000Z","updated_at":"2025-07-22T07:21:39.000Z","dependencies_parsed_at":"2025-05-16T19:39:40.700Z","dependency_job_id":"1ba31dd0-4e76-4b5c-87bd-f8e45e9dfdd7","html_url":"https://github.com/abdullah-erturk/tsf_ohook_activation","commit_stats":null,"previous_names":["abdullah-erturk/tsf_activation"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/abdullah-erturk/tsf_ohook_activation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullah-erturk%2Ftsf_ohook_activation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullah-erturk%2Ftsf_ohook_activation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullah-erturk%2Ftsf_ohook_activation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullah-erturk%2Ftsf_ohook_activation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdullah-erturk","download_url":"https://codeload.github.com/abdullah-erturk/tsf_ohook_activation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullah-erturk%2Ftsf_ohook_activation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266563915,"owners_count":23948689,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["activator","kms","kms-office","kms38","microsoft","office","office365","powershell","tsforge","windows","windows-11"],"created_at":"2025-07-22T20:07:25.712Z","updated_at":"2025-07-22T20:07:26.185Z","avatar_url":"https://github.com/abdullah-erturk.png","language":"Batchfile","funding_links":["https://buymeacoffee.com/abdullaherturk"],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://buymeacoffee.com/abdullaherturk\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" style=\"height: 60px !important;width: 217px !important;\" \u003e\u003c/a\u003e\n\n![sample](https://github.com/abdullah-erturk/tsf_activation/blob/main/preview.jpg)\n\n# PowerShell TSF \u0026 Ohook Activation Script\n\n     Türkçe Açıklama\n\n\u003cdetails\u003e\n\n  ![sample](https://raw.githubusercontent.com/abdullah-erturk/tsf_activation/refs/heads/main/TR/aktivasyon_%C3%B6nizleme.jpg)\n  \n## Teşekkür\n\n* Projede kullanılan LibTSforge.dll dosyasını geliştiren [MASSGRAVE](https://github.com/massgravel/TSforge) ekibine çok teşekkürler 🎉\n* PowerShell betiğini hazırlamamda bana ilham veren (MDL) **Dark Vador**'a özel teşekkür 🎉\n\n---\n\n# 🔐 PowerShell TSF \u0026 Ohook Activation Script v4\n\nBu gelişmiş PowerShell scripti, Windows ve Office ürünlerini lisanslamak için tasarlanmış esnek ve modüler bir çözümdür. Office lisanslamasında `LibTSforge.dll` adlı özel bir .NET kütüphanesini bellekten çalıştırır. GUI veya sessiz modda çalışabilir.\n\nPowershell komut satırı üzerinden çalıştırmak için:\n1.   **PowerShell Açın**  \n\tBunu yapmak için Windows tuşu + X'e basın, ardından PowerShell veya Terminal'i seçin.\n\n2.   **Aşağıdaki kodu kopyalayıp yapıştırın ve Enter tuşuna basın.**  \n```\niwr cutt.ly/tsf-ohook | iex\n```\n**Internet Explorer motorunun olmadığı Windows sürümlerinde aşağıdaki kodu kopyalayıp yapıştırın ve Enter tuşuna basın.**  \n```\niwr cutt.ly/tsf-ohook -UseBasicParsing | iex\n```\n---\n\n## 📌 Özellikler\n\n- ✅ Windows ve Office ürünleri için lisans yönetimi\n- ✅ `LibTSforge.dll` desteği ile ürün anahtarı üretimi\n- ✅ Out-GridView ile kullanıcı dostu grafik seçim ekranı\n- ✅ KMS, MAK, RETAIL, OEM, AVMA gibi lisans türleriyle uyumlu\n- ✅ Office ürünleri için yalnızca **LibTSforge.dll’in desteklediği ürün türlerinden birer tanesini** lisanslar (sadece katılımsız modda)\n- ✅ `-w` ve `-o` parametreleri ile otomatik mod desteği\n- ✅ KMS ürünleri için sahte rastgele oluşturulmuş IP adresi atayarak **Office Genuine Banner** lisans uyarılarını engeller\n- ✅ Lisanslı ürünlerde işlem yapmadan önce kullanıcı onayı ister\n- ✅ Base64 + GZIP ile script içine gömülü DLL dosyası\n- ✅ `TSF Activation.bat` dosyası ile kolay kullanım\n\n---\n\n## 🚀 Kullanım Şekilleri\n\n### 1. Grafiksel (Out-GridView) Mod – Parametresiz\n\n* Yüklü Windows ve Office ürünleri listelenir\n* Kullanıcı seçim yapar\n* KMS IP adresi gerekiyorsa bir kez rastgele atanır\n* Ürünler lisanslanır\n* KMS Lisans yöntemi sadece bu modda kullanıcı tercihine göre yapılır ve KMS lisans süresi 4000 yılı aşkındır\n\n---\n\n### 2. Yalnızca Windows Ürünlerini Lisansla\n\n* Sadece Windows ürünü işlenir, Office lisanslaması yapılmaz\n* StaticCID yöntemiyle kalıcı lisans uygulanır\n\n---\n\n### 3. Yalnızca Office (DLL destekli) Ürünlerini Lisansla\n\n* Sadece Office ürünü işlenir, Windows lisanslaması yapılmaz\n* `LibTSforge.dll` tarafından desteklenen Office ürün türlerinden\n  yalnızca bilgisayarda **yüklü olanlara** karşılık gelen **birer tane** seçilir\n* StaticCID yöntemiyle kalıcı lisans uygulanır\n\n### 4. Windows + Office (DLL destekli) Ürünlerini Lisansla\n\n* Windows ve Office ürünleri aynı anda işlenir\n* StaticCID yöntemiyle kalıcı lisans uygulanır\n\n---\n\n### 5. Ohook Aktivasyon\n* Ohook yöntemi açık kaynak bir dll dosyasının manipülasyonu ile Office ürünlerinin bir abonelik yöntemiyle etkinleştirilmesini sağlar.\n\n---\n\n## ⚙️ Teknik Detaylar\n\n* `Set-RandomKMSAddress`: Out-GridView modunda sadece KMS kanalına sahip ürün seçilirse çalışır.\n* `GetRandomKey`: Product ID’ye özel rastgele lisans anahtarı üretir.\n* `Activate-License`: Ürün türüne göre ilgili sınıfı çağırarak lisanslama yapar.\n* `LibTSforge.dll`: Script içinde Base64-GZIP kodlu olarak gömülüdür, bellekte çalıştırılır.\n* Out-GridView görünümü sadeleştirilmiş olup `ProductName`, `Description`, `ID` sütunlarını içerir.\n\n---\n\n## 📋 Örnek Out-GridView\n\nKullanıcı dostu seçim ekranında ürünler listelenir:\n\n```\nProductName            Description           ID\n------------           -----------           --\nWindows 10 Pro         Windows KMS           0\nOffice ProPlus 2019    Office MAK            1\nProject 2019 Standard  Office Retail         2\n```\n\nNot: Görsel çizgiler PowerShell'deki varsayılan Out-GridView davranışı nedeniyle görünmez. Bu teknik olarak özelleştirilemez.\n\n---\n\n✅ Uyumlu Windows Sürümleri\n🎯 Desteklenen platformlar:\n\n* Windows 10\n* Windows 11\n* Windows Server 2016 and newer\n\nBetik, KMS/Mak/Retail türlerini desteklediğinden bu sürümlerin tümüyle uyumludur. Ayrıca AVMA destekli Windows Server sürümleri için de uygundur.\n\n⚠️ Çalışması için gereken sistem özellikleri:\n\n* PowerShell 5.1 veya üzeri (Windows 10 ile birlikte yerleşik gelir)\n* .NET Framework 4.x (Varsayılan olarak Windows 10/11’de mevcuttur)\n* Yönetici olarak çalıştırılmalıdır (KMS IP adres ataması ve ürün lisanslama işlemleri için)\n* 64-bit işletim sistemi önerilir (özellikle bellek içi DLL yüklemesi açısından)\n\n\n⛔ Desteklenmeyen sistemler:\n\n* Windows 7 / 8 / 8.1 (resmî destek sona erdi, PowerShell ve .NET sürümleri yetersiz olabilir)\n* Windows XP / Vista (PowerShell 5.1 çalıştırılamaz)\n* ARM tabanlı Windows sürümleri (DLL yüklemesi başarısız olabilir)\n* Bu sürümlerde bazı Powershell kodları desteklenmediği için betik dosyası hata verebilir.\n\n## ⚠️ Gereksinimler\n\n* **PowerShell 5.1 veya üzeri**\n* **Yönetici olarak çalıştırılmalıdır**\n* .NET Framework desteği (DLL çalıştırmak için)\n\n---\n\n## 📄 Lisans\n\nBu script yalnızca kişisel kullanım ve eğitim içindir. Microsoft ürünleri için lisanslama işlemleri, yürürlükteki kullanım şartlarına uygun olarak yapılmalıdır.\n\n---\n\n## 🧑‍💻 Katkı\n\nHer türlü öneri ve geri bildirim için lütfen GitHub üzerinden katkıda bulunun.\n\n---\n\u003c/details\u003e\n\n     English Explanation\n\n\u003cdetails\u003e \n\n![sample](https://raw.githubusercontent.com/abdullah-erturk/tsf_activation/refs/heads/main/ENG/activation_preview.jpg)\n\n## Thanks\n\n* Huge thanks to the [MASSGRAVE](https://github.com/massgravel/TSforge) team for developing the `LibTSforge.dll` file used in this project 🎉\n* Special thanks to **Dark Vador** (from MDL) for the inspiration in creating this PowerShell script 🎉\n\n---\n\n# 🔐 PowerShell TSF Activation Script\n\nThis advanced PowerShell script is a flexible and modular solution designed to license Windows and Office products. It runs a custom .NET library called `LibTSforge.dll` directly from memory for Office licensing. It can operate in GUI or silent mode.\n\nTo run via powershell command line:\n1.   **Open PowerShell**  \n\tTo do that, press the Windows key + X, then select PowerShell or Terminal.\n\n2.   **Copy and paste the code below, then press Enter.**  \n```\niwr cutt.ly/tsf-ohook | iex\n```\n**On Windows versions without the Internet Explorer engine.**  \n```\niwr cutt.ly/tsf-ohook -UseBasicParsing | iex\n```\n---\n\n## 📌 Features\n\n* ✅ License management for both Windows and Office products\n* ✅ Product key generation with `LibTSforge.dll` support\n* ✅ User-friendly graphical selection with Out-GridView\n* ✅ Compatible with KMS, MAK, RETAIL, OEM, AVMA license types\n* ✅ In unattended mode, only **one product of each Office type supported by LibTSforge.dll** is licensed\n* ✅ Automatic mode support with `-w` and `-o` parameters\n* ✅ Assigns fake, randomly generated IP for KMS products to suppress **Office Genuine Banner** warnings\n* ✅ Asks for user confirmation before modifying licensed products\n* ✅ DLL embedded in script using Base64 + GZIP\n* ✅ Easy to use with the `TSF Activation.bat` file\n\n---\n\n## 🚀 Usage Modes\n\n### 1. Graphical (Out-GridView) Mode – No Parameters\n\n* Lists installed Windows and Office products\n* User selects the products\n* If needed, a random KMS IP address is assigned once\n* Products are licensed\n* KMS license mode is available only in this mode based on user selection, and the KMS license duration exceeds the year 4000\n\n---\n\n### 2. License Only Windows Products\n\n* Only the Windows product is processed, no Office licensing\n* Permanent license applied using the StaticCID method\n\n---\n\n### 3. License Only Office (DLL-Supported) Products\n\n* Only the Office product is processed, no Windows licensing\n* One product of each type **supported by LibTSforge.dll** is selected, matching those **installed on the system**\n* Permanent license applied using the StaticCID method\n\n---\n\n### 4. License Windows + Office (DLL-Supported) Products\n\n* Both Windows and Office products are processed simultaneously\n* Permanent license applied using the StaticCID method\n\n---\n\n### 5. Ohook Activation\n* The Ohook method enables activation of Office products via a subscription method by manipulating an open source DLL file.\n\n---\n\n## ⚙️ Technical Details\n\n* `Set-RandomKMSAddress`: Runs only if a KMS channel product is selected in Out-GridView mode\n* `GetRandomKey`: Generates a random license key specific to the Product ID\n* `Activate-License`: Performs licensing by invoking the appropriate class based on product type\n* `LibTSforge.dll`: Embedded in the script as Base64-GZIP and executed in memory\n* Out-GridView interface is simplified and includes only `ProductName`, `Description`, and `ID` columns\n\n---\n\n## 📋 Example Out-GridView\n\nThe user-friendly selection window lists the products:\n\n```\nProductName            Description           ID\n------------           -----------           --\nWindows 10 Pro         Windows KMS           0\nOffice ProPlus 2019    Office MAK            1\nProject 2019 Standard  Office Retail         2\n```\n\nNote: Visual grid lines are not shown due to the default behavior of PowerShell's Out-GridView. This is technically not customizable.\n\n---\n\n✅ Supported Windows Versions\n🎯 Supported platforms:\n\n* Windows 10\n* Windows 11\n* Windows Server 2016 and newer\n\nThe script supports KMS/MAK/Retail types, so it's compatible with all of these versions. Also suitable for Windows Server editions that support AVMA.\n\n⚠️ System Requirements:\n\n* PowerShell 5.1 or higher (comes preinstalled with Windows 10)\n* .NET Framework 4.x (available by default in Windows 10/11)\n* Must be run as Administrator (for KMS IP assignment and product licensing)\n* 64-bit OS is recommended (especially for in-memory DLL loading)\n\n⛔ Unsupported Systems:\n\n* Windows 7 / 8 / 8.1 (official support ended; PowerShell and .NET versions may be insufficient)\n* Windows XP / Vista (PowerShell 5.1 cannot run)\n* ARM-based Windows versions (DLL loading may fail)\n\nThe script may throw errors on these systems due to lack of PowerShell feature support.\n\n---\n\n## ⚠️ Requirements\n\n* **PowerShell 5.1 or higher**\n* **Must be run as Administrator**\n* .NET Framework support (required to run the DLL)\n\n---\n\n## 📄 License\n\nThis script is for **personal and educational use only**. Licensing Microsoft products must be done in accordance with applicable terms of use.\n\n---\n\n## 🧑‍💻 Contributing\n\nPlease contribute via GitHub for any suggestions or feedback.\n\n---\n    \n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullah-erturk%2Ftsf_ohook_activation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdullah-erturk%2Ftsf_ohook_activation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullah-erturk%2Ftsf_ohook_activation/lists"}