flowchart LR
API[Job API] --> JR[Job Run Context]
SCH[Scheduler] --> JR
JR --> DEL[Redis Delivery]
DEL --> R[(Redis)]SOPS is a handy utility for encrypting sensitive content within files while making it easy to edit and track them with standard developer tools (git, diff, vi, etc.). Using the sops-secret-operator, you can deploy encrypted Kubernetes secrets as SopsSecret custom resources, which are decrypted by the operator and made available as standard Secrets for general consumption. This allows secrets to be tracked securely in version control, deployed with standard CI/CD tools, and edited securely by developers.
KSOPS is a Kustomize plugin that supports decrypting SOPS files and applying them to your cluster.
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
| <?php | |
| /** | |
| * Complete Database Setup with 5000 Mock Employees for MySQL | |
| * Creates database, tables, and generates performance test data | |
| */ | |
| echo "🚀 Setting up complete MySQL database with 5000 mock employees...\n"; | |
| // MySQL connection settings | |
| $host = 'localhost'; | |
| $username = 'root'; | |
| $password = ''; |
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
| #!/bin/bash | |
| # PHP Server Runner Script | |
| # รันเซิร์ฟเวอร์ PHP โดยลบ service เดิมก่อน และกำหนด port ได้ | |
| # ตั้งค่า default port | |
| DEFAULT_PORT=3000 | |
| PORT=${1:-$DEFAULT_PORT} | |
| # ตรวจสอบว่า port เป็นตัวเลข | |
| if ! [[ "$PORT" =~ ^[0-9]+$ ]]; then | |
| echo "❌ Error: Port must be a number" | |
| echo "Usage: $0 [port]" |
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
| // $ frida -l antiroot.js -U -f com.example.app --no-pause | |
| // CHANGELOG by Pichaya Morimoto (p.morimoto@sth.sh): | |
| // - I added extra whitelisted items to deal with the latest versions | |
| // of RootBeer/Cordova iRoot as of August 6, 2019 | |
| // - The original one just fucked up (kill itself) if Magisk is installed lol | |
| // Credit & Originally written by: https://codeshare.frida.re/@dzonerzy/fridantiroot/ | |
| // If this isn't working in the future, check console logs, rootbeer src, or libtool-checker.so | |
| Java.perform(function() { | |
| var RootPackages = ["com.noshufou.android.su", "com.noshufou.android.su.elite", "eu.chainfire.supersu", |
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
| (function(_0x455ff5, | |
| _0x5ba119){ | |
| function _0x406157(_0x87a0cd, | |
| _0x3bdd05, | |
| _0x35737e, | |
| _0x38bfaa, | |
| _0x4bdc9c){ | |
| return _0x2834(_0x87a0cd--0xb4, | |
| _0x3bdd05); | |
| }function _0x555598(_0x2ecde1, |
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
| #!/bin/bash | |
| # Variables | |
| MYSQL_PLUGIN_DIR="/usr/lib64/mysql/plugin" | |
| AUDIT_LOG_PLUGIN="audit_log.so" | |
| AUDIT_LOG_URL="https://github.com/zhaopinglu/mysql-audit/archive/refs/heads/master.zip" | |
| MYSQL_CONF="/etc/my.cnf" | |
| MYSQL_AUDIT_DIR="/var/lib/mysql" | |
| MYSQL_USER="root" | |
| MYSQL_PASS="your_password" |
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
| # Load the SYSTEM hive | |
| reg load HKLM\TEMP_SYSTEM C:\Backup\system | |
| # Load the SAM hive | |
| reg load HKLM\TEMP_SAM C:\Backup\sam | |
| # Get the Boot Key from the SYSTEM hive | |
| $BootKey = "" | |
| $SystemKey = "HKLM:\TEMP_SYSTEM\ControlSet001\Control\Lsa" | |
| $SelectKey = Get-ItemProperty -Path $SystemKey |
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
| # Ensure the script is run with administrative privileges | |
| if (-not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { | |
| Write-Host "You need to run this script as an Administrator." | |
| exit | |
| } | |
| # Validate file paths | |
| $samFilePath = "C:\sam" | |
| $systemFilePath = "C:\system" |
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
| param ( | |
| [string]$exportPath = "C:\Hashes", | |
| [string]$outputFile = "C:\Hashes\exported_hashes.txt" | |
| ) | |
| # Ensure running as administrator | |
| if (-not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) | |
| { | |
| Write-Warning "You need to run this script as an Administrator." | |
| exit |
NewerOlder