This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<unattend xmlns="urn:schemas-microsoft-com:unattend"> | |
<settings pass="generalize"> | |
<component name="Microsoft-Windows-PnpSysprep" processorArchitecture="amd64" | |
publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" | |
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> | |
</component> | |
</settings> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// IMPORTANT!!! CHANGE THE FOLLOWING VARIABLES BEFORE USING: | |
// mainDomain, clientId, clientSecret, tenantId, siteId, listId, cloudflare_TurnstileTSecret, companyName, allowedDomains | |
addEventListener('fetch', event => { | |
event.respondWith(handleRequest(event.request)); | |
}) | |
async function validateTurnstileToken(tokenCf, ip, cloudflare_TurnstileTSecret) { | |
const formDataT = new FormData(); | |
formDataT.append("secret", cloudflare_TurnstileTSecret); | |
formDataT.append("response", tokenCf); |