This study focuses on the strategies used by the "xz backdoor", an extremely
complex piece of malware that contains its own x64 disassembler inside of it
to find critical locations in your code and hijacks it by swapping out your
code with its own as it runs. Because this a machine-code based attack,
all code written in any program language can be attacked and is vulnerable.
Instead of targeting sshd directly, the xz
backdoor injects itself in the parent systemd process then hijacks the
GNU Dynamic Linker (ld), before sshd is even started or libcrypto.so is
You also might wanna just use Whisky which does this automatically
This guide works on macOS 13.4+ using Command Line Tools for XCode 15 Beta!
In the recent WWDC, Apple announced and released the "game porting toolkit", which upon further inspection this is just a modified version of CrossOver's fork of wine which is a "compatibility layer" that allows you to run Windows applications on macOS and Linux.
David Fowler 🇧🇧🇺🇸💉💉💉 on Twitter: "If you are queuing background jobs/work items today in your .NET applications, how are you doing it and what are you using it for? #dotnet #aspnetcore" / Twitter | |
https://twitter.com/davidfowl/status/1442566223099666436 | |
Background tasks with hosted services in ASP.NET Core | Microsoft Docs | |
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/host/hosted-services?view=aspnetcore-6.0&tabs=visual-studio | |
Messaging that just works — RabbitMQ | |
https://www.rabbitmq.com/ | |
.NET/C# Client API Guide — RabbitMQ |
# Example to use Docker instead of containerd & nerdctl | |
# $ limactl start ./lima_docker_rootless.yaml | |
# $ limactl shell lima_docker_rootless docker run -it -v $HOME:$HOME --rm alpine | |
# To run `docker` on the host (assumes docker-cli is installed): | |
# $ export DOCKER_HOST=unix://$HOME/docker.sock | |
# $ docker ... | |
# This example requires Lima v0.7.3 or later | |
# CPUs: if you see performance issues, try limiting cpus to 1. |
VMWare Fusion 13 is now released. Read Vagrant and VMWare Fusion 13 Player on Apple M1 Pro for the latest.
This document summarizes notes taken while to make the VMWare Tech preview work on Apple M1 Pro, it originated
use futures::StreamExt; | |
use std::error::Error; | |
use tokio; | |
use tokio::macros::support::Pin; | |
use tokio::prelude::*; | |
use tokio::time::{Duration, Instant}; | |
pub fn main() -> Result<(), Box<dyn std::error::Error>> { | |
let mut multi_threaded_runtime = tokio::runtime::Builder::new() | |
.threaded_scheduler() |
use rusoto_core::ByteStream; | |
use rusoto_s3::{S3Client, S3}; | |
use futures::{future, stream, Stream, StreamExt, TryStreamExt}; | |
pub async fn upload_stream( | |
client: S3Client, | |
bucket: String, | |
key: String, | |
data_stream: impl Stream<Item = String>, |
#!/bin/bash | |
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | |
TARGET_HOST="${TARGET_HOST:?"You must define TARGET_HOST"}" | |
PASSWORD_FILE="${PASSWORD_FILE:?"You must define PASSWORD_FILE"}" | |
EAP_PROXY_IMAGE="${EAP_PROXY_IMAGE:-"pbrah/eap_proxy-udmpro:v1.1"}" | |
HC_CONTAINER_NAME="eap_proxy-healthcheck" | |
UDM_CONTAINER_NAME="eap_proxy-udmpro" |
Photo by Ricardo Gomez Angel on Unsplash
This gist is a collection of common patterns I've personally used here and there with Custom Elements.
These patterns are all basic suggestions that could be improved, enriched, readapted, accordingly with your needs.