This file contains hidden or 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
# vyziadaj ADMIN prava na dalsi krok | |
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs; exit } | |
# posli do localhostu sindikaciu JOJky | |
Add-Content C:\Windows\System32\drivers\etc\hosts "`n# Blokovanie videoreklam na *.joj.sk bo uz seru...`n127.0.0.1 vasterix.joj.sk`n127.0.0.1 campaigns.caroda.io`n" |
This file contains hidden or 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
#!/usr/bin/env python3 | |
import asyncio | |
from functools import partial | |
from pathlib import Path | |
import os | |
import ssl | |
import subprocess | |
import sys | |
from urllib.parse import urlparse, parse_qs, urlunparse |
This file contains hidden or 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
1. Create a new directory; | |
mkdir Apple\ Enterprise | |
cd Apple\ Enterprise | |
2. Generate a certificate signing request | |
openssl req -nodes -newkey rsa:2048 -keyout ios_enterprise.key -out CertificateSigningRequest.certSigningRequest | |
3. With the information like so (ensure you give it a password): | |
Country Name (2 letter code) [AU]:GB | |
State or Province Name (full name) [Some-State]:London |