IERAE CTF had one of the coolest pwn challenges I've done in the while. It was written by hugeh0ge.
Here's the full source:
// gcc chal.c -fno-stack-protector -static -o chal
#include <stdio.h>
#include IERAE CTF had one of the coolest pwn challenges I've done in the while. It was written by hugeh0ge.
Here's the full source:
// gcc chal.c -fno-stack-protector -static -o chal
#include <stdio.h>
#include | # Apple Silicon laptops with firmware > 13.0 have a native charge threshold that does not required any userspace daemon running. | |
| # This native limit works even when the laptop is sleeping or powered off therefore it is preferable to the userspace daemon. | |
| # Nonetheless, it only works with fixed thresholds (80% as upper limit and 70% as lower limit). | |
| # CHWA key is the one used to enable/disable the native limit. 01 = 80% limit, 00 = no limit | |
| ## | |
| typeset -g smc_command="/usr/local/bin/smc" | |
| typeset -g smc_charge_limit_key="CHWA" | |
| typeset -g smc_charge_limit_status_on="01" | |
| typeset -g smc_charge_limit_status_off="00" |
| # This script automatically handles Syncthing conflicts on text files by applying a | |
| # git three-way merge between the previously synced version and each divergent version. | |
| # It depends on the watchdog package and git. | |
| # For automatic dependency installation when running with ´uv run --script deconflicter.py´: | |
| # /// script | |
| # requires-python = ">=3.10" | |
| # dependencies = [ | |
| # "watchdog", |
Disclaimer: I am not a Windows Admin and I'm not even that good with PowerShell.
I wanted to be able to SSH into my Windows laptop directly into Linux. I also wanted to disable password authentication and only allow public key (RSA in my case) authentication.
Scott Hanselman wrote a blog post on how to make your default WSL2 distro your default shell for SSH. Windows OS Hub published an article on using public key
| csrutil disable | |
| sudo nvram boot-args="intcoproc_unrestricted=1 kext-dev-mode=1 amfi_allow_any_signature=1 amfi_unrestrict_task_for_pid=1 PE_i_can_has_debugger=1 cs_enforcement_disable=1 amfi_get_out_of_my_way=1 amfi=0xff cs_debug=1 ipc_control_port_options=0" | |
| sudo spctl --global-disable | |
| sudo defaults write /Library/Preferences/com.apple.security GKAutoRearm -bool NO | |
| sudo defaults write /Library/Preferences/com.apple.security.coderequirements Entitlements -string always | |
| sudo defaults write /Library/Preferences/com.apple.security.coderequirements AllowUnsafeDynamicLinking -bool YES | |
| sudo defaults write /Library/Preferences/com.apple.security.libraryvalidation.plist DisableLibraryValidation -bool YES | |
| defaults write com.apple.loginwindow DisableScreenLockImmediate -bool yes |
| Filter | Description | Example |
|---|---|---|
| allintext | Searches for occurrences of all the keywords given. | allintext:"keyword" |
| intext | Searches for the occurrences of keywords all at once or one at a time. | intext:"keyword" |
| inurl | Searches for a URL matching one of the keywords. | inurl:"keyword" |
| allinurl | Searches for a URL matching all the keywords in the query. | allinurl:"keyword" |
| intitle | Searches for occurrences of keywords in title all or one. | intitle:"keyword" |