Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Colombo
Kaduwela - Two Storey House for Sale
dilrasan
Updated:
Yesterday at 2:23 PM
Ad icon
Wechat qr verification
Pawan2005
Updated:
Yesterday at 1:28 AM
🚀 GOOGLE AI PRO 18 MONTHS ACTIVATION 🚀
sayuru bandara
Updated:
Wednesday at 5:34 PM
Pure VPN - Up to 27 Months
vgp
Updated:
Jun 5, 2026
එක පැකේජ් එකයි මාසෙටම Unlimited Internet. තාමත් DATA CARD දාන්න සල්ලි වියදම් කරනවද? අඩුම මිලට අපෙන්.
sayuru bandara
Updated:
Jun 2, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
Windows 11 Activation script
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="LonelyDay" data-source="post: 30649940" data-attributes="member: 587492"><p>This script is designed to download & execute a `MAS_AIO.cmd` file, which is part of the Microsoft Activation Scripts project. MAS is used to activate Microsoft products through unofficial methods.</p><p></p><p></p><p>1.TLS 1.2 Compatibility</p><p></p><p> - `[Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12`</p><p> - This line enforces the use of TLS 1.2 for secure communication, ensuring compatibility with older systems.</p><p></p><p>2. Download URLs</p><p></p><p> - The script defines two URLs (`$DownloadURL1` and `$DownloadURL2`) from which to download the `MAS_AIO.cmd` file. One from GitHub and one from Bitbucket, providing redundancy.</p><p></p><p>3. Random URL Selection</p><p></p><p> - `$RandomURL1 = Get-Random -InputObject $URLs`</p><p> - `$RandomURL2 = $URLs -ne $RandomURL1`</p><p> - The script randomly selects one URL to download the script. If the download fails from the first URL, it attempts to download from the second.</p><p></p><p>4. Error Handling</p><p> - The `try-catch` block handles potential download errors. If `Invoke-WebRequest` fails for the first URL, it tries the second URL.</p><p></p><p>5. File Path Determination</p><p></p><p> - `$isAdmin = [bool]([Security.Principal.WindowsIdentity]::GetCurrent().Groups -match 'S-1-5-32-544')`</p><p> - `$FilePath = if ($isAdmin) { "$env:SystemRoot\Temp\MAS_$rand.cmd" } else { "$env:TEMP\MAS_$rand.cmd" }`</p><p> - The script checks if the current user has administrative privileges. If so, it saves the downloaded script to the `C:\Windows\Temp` directory; otherwise, it saves to the user's temporary directory (`$env:TEMP`).</p><p></p><p>6. Script Execution</p><p></p><p> - `Start-Process $FilePath $ScriptArgs -Wait`</p><p> - This line executes the downloaded `MAS_AIO.cmd` script.</p><p> - The `-Wait` parameter ensures the script waits for `MAS_AIO.cmd` to finish before proceeding.</p><p></p><p>7. Cleanup</p><p></p><p> - `$FilePaths = @("$env:TEMP\MAS*.cmd", "$env:SystemRoot\Temp\MAS*.cmd")`</p><p> - `foreach ($FilePath in $FilePaths) { Get-Item $FilePath | Remove-Item }`</p><p> - The script cleans up temporary files created during the process, deleting any `MAS*.cmd` files from both the user's temp directory and the system's temp directory.</p><p></p><p><img class="smilie smilie--emoji" loading="lazy" alt="✴️" title="Eight-pointed star :eight_pointed_black_star:" src="https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/2734.png" data-shortname=":eight_pointed_black_star:" /> Security Analysis <img class="smilie smilie--emoji" loading="lazy" alt="✴️" title="Eight-pointed star :eight_pointed_black_star:" src="https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/2734.png" data-shortname=":eight_pointed_black_star:" /></p><p></p><p>1. Risk of Downloading from Untrusted Sources</p><p></p><p> - The script downloads and executes a `.cmd` file from a remote source, which poses a risk if the source is compromised or malicious.</p><p> - While the script uses HTTPS, it's crucial to trust the integrity of `massgrave.dev` and the linked raw content on GitHub/Bitbucket.</p><p></p><p>2. Execution of Arbitrary Code</p><p></p><p> - By downloading and executing a `.cmd` file, the script is essentially running arbitrary code on the system, which could be harmful if the downloaded script is malicious.</p><p></p><p>3. Administrative Privileges</p><p></p><p> - The script checks for administrative privileges and saves the downloaded file to a different location based on these privileges.</p><p> - Running `.cmd` scripts with administrative privileges can lead to system-wide changes, making it critical to trust the source.</p><p></p><p>4. No Integrity Check</p><p></p><p> - The script does not perform any integrity checks (e.g., hashing) on the downloaded `.cmd` file to ensure it hasn't been tampered with during transit.</p><p></p><p>5. Reliance on External Resources</p><p></p><p> - The script depends on external resources (GitHub, Bitbucket) which can be subject to downtime or tampering.</p></blockquote><p></p>
[QUOTE="LonelyDay, post: 30649940, member: 587492"] This script is designed to download & execute a `MAS_AIO.cmd` file, which is part of the Microsoft Activation Scripts project. MAS is used to activate Microsoft products through unofficial methods. 1.TLS 1.2 Compatibility - `[Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12` - This line enforces the use of TLS 1.2 for secure communication, ensuring compatibility with older systems. 2. Download URLs - The script defines two URLs (`$DownloadURL1` and `$DownloadURL2`) from which to download the `MAS_AIO.cmd` file. One from GitHub and one from Bitbucket, providing redundancy. 3. Random URL Selection - `$RandomURL1 = Get-Random -InputObject $URLs` - `$RandomURL2 = $URLs -ne $RandomURL1` - The script randomly selects one URL to download the script. If the download fails from the first URL, it attempts to download from the second. 4. Error Handling - The `try-catch` block handles potential download errors. If `Invoke-WebRequest` fails for the first URL, it tries the second URL. 5. File Path Determination - `$isAdmin = [bool]([Security.Principal.WindowsIdentity]::GetCurrent().Groups -match 'S-1-5-32-544')` - `$FilePath = if ($isAdmin) { "$env:SystemRoot\Temp\MAS_$rand.cmd" } else { "$env:TEMP\MAS_$rand.cmd" }` - The script checks if the current user has administrative privileges. If so, it saves the downloaded script to the `C:\Windows\Temp` directory; otherwise, it saves to the user's temporary directory (`$env:TEMP`). 6. Script Execution - `Start-Process $FilePath $ScriptArgs -Wait` - This line executes the downloaded `MAS_AIO.cmd` script. - The `-Wait` parameter ensures the script waits for `MAS_AIO.cmd` to finish before proceeding. 7. Cleanup - `$FilePaths = @("$env:TEMP\MAS*.cmd", "$env:SystemRoot\Temp\MAS*.cmd")` - `foreach ($FilePath in $FilePaths) { Get-Item $FilePath | Remove-Item }` - The script cleans up temporary files created during the process, deleting any `MAS*.cmd` files from both the user's temp directory and the system's temp directory. ✴️ Security Analysis ✴️ 1. Risk of Downloading from Untrusted Sources - The script downloads and executes a `.cmd` file from a remote source, which poses a risk if the source is compromised or malicious. - While the script uses HTTPS, it's crucial to trust the integrity of `massgrave.dev` and the linked raw content on GitHub/Bitbucket. 2. Execution of Arbitrary Code - By downloading and executing a `.cmd` file, the script is essentially running arbitrary code on the system, which could be harmful if the downloaded script is malicious. 3. Administrative Privileges - The script checks for administrative privileges and saves the downloaded file to a different location based on these privileges. - Running `.cmd` scripts with administrative privileges can lead to system-wide changes, making it critical to trust the source. 4. No Integrity Check - The script does not perform any integrity checks (e.g., hashing) on the downloaded `.cmd` file to ensure it hasn't been tampered with during transit. 5. Reliance on External Resources - The script depends on external resources (GitHub, Bitbucket) which can be subject to downtime or tampering. [/QUOTE]
Insert quotes…
Verification
Hathara warak wissa keeyada? (Hathara wadi karanna 20)
Post reply
Top
Bottom