This example is part of this article.
This is an example for an HLS delivery with basic security. Nginx compiled with nginx-rtmp-module & secure-link is used as media server. Features:
- Domain filtering
- Referrer filtering
- Embed buster
This example is part of this article.
This is an example for an HLS delivery with basic security. Nginx compiled with nginx-rtmp-module & secure-link is used as media server. Features:
| #!/usr/bin/env python3 | |
| # | |
| # Query AWS Athena using SQL | |
| # Copyright (c) Alexey Baikov <sysboss[at]mail.ru> | |
| # | |
| # This snippet is a basic example to query Athen and load the results | |
| # to a variable. | |
| # | |
| # Requirements: | |
| # > pip3 install boto3 botocore retrying |
| echo "fs.file-max=1048576" >> /etc/sysctl.conf | |
| echo "net.core.rmem_max = 16777216" >> /etc/sysctl.conf | |
| echo "net.core.wmem_max = 16777216" >> /etc/sysctl.conf | |
| echo "net.ipv4.tcp_rmem = 4096 87380 16777216" >> /etc/sysctl.conf | |
| echo "net.ipv4.tcp_wmem = 4096 65536 16777216" >> /etc/sysctl.conf | |
| sysctl -p | |
| echo "* soft nofile 1048576" >> /etc/security/limits.conf | |
| echo "* hard nofile 1048576" >> /etc/security/limits.conf |
Follow these steps to enable Screen Sharing via Terminal.
Navigate to Applications | Utilities and launch Terminal. If you're working from a keyboard only, press Command+Space Bar to launch Spotlight, and then enter Terminal in the search box to launch the app.
Enter the following command into Terminal and press Enter to execute it. You will be prompted to provide admin credentials prior to processing the command.
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -off -restart -agent -privs -all -allowAccessFor -allUsers
The command above will work most of the time, as it uses the kickstart method of enabling remote management, which in turn enables Screen Sharing as well for all users of the device. This isn't the most secure method and it's not recommended to be used like this for long periods of time due to the potential security risks of unauthorized access, but it should serve you well as a temporary workaround for the pr
| #https://leetarxiv.substack.com/p/dual-ec-backdoor-coding-guide | |
| from fastecdsa.curve import P256 | |
| from fastecdsa.point import Point | |
| from random import randint | |
| class DualEC(): | |
| def __init__(self, seed, P, Q): | |
| self.seed = seed # Initial integer state of RNG | |
| self.P = P # First elliptic curve point (public parameter) | |
| self.Q = Q # Second elliptic curve point (could be maliciously chosen) |