Skip to content

Instantly share code, notes, and snippets.

int64_t _generic_dropbear_exit(int32_t arg1, int64_t arg2, int64_t arg3)
{
int64_t var_170 = arg2;
void var_15c;
___snprintf_chk(&var_15c, 0x12c, 0, 0x12c, "Exited: %s");
__dropbear_log(6, &var_15c, arg3);
int64_t x0_2;
char* x1_1;
va_list x2_1;
x0_2 = _exit(arg1);
#!/usr/bin/env bash
# Remove heavy apps
sudo rm -rf /Applications/Chess.app
sudo rm -rf /Applications/Freeform.app
sudo rm -rf /Applications/GarageBand.app
sudo rm -rf /Applications/iMovie.app
sudo rm -rf /Applications/Keynote.app
sudo rm -rf /Applications/Numbers.app
sudo rm -rf /Applications/Pages.app
@sen0rxol0
sen0rxol0 / genstrings.sh
Created June 5, 2025 00:01
Generating random string in bash
openssl rand -base64 24
openssl rand -hex 24
xxd -l24 -ps /dev/urandom
@sen0rxol0
sen0rxol0 / messages.json
Last active January 28, 2024 23:33
JSON data for testing sms phone number verification
[
{"phoneNumber": "+33751288664", "message": "Your verification code is: 1234"}
]
@sen0rxol0
sen0rxol0 / mountfs.c
Created July 3, 2023 10:25
SSH ramdisk mount filesystems in 64bit iOS devices, sep devices
/* compile with: xcrun -sdk iphoneos clang -arch arm64 -Wall -o ./mountfs ./mountfs.c */
#include <stdio.h>
#include <sys/wait.h>
#include <spawn.h>
#include <unistd.h>
/*
if [[ $(/System/Library/Filesystems/apfs.fs/apfs.util -p /dev/disk0s1s3) == 'Preboot' ]]; then \n\
/sbin/mount_apfs /dev/disk0s1s3 /mnt6 \n\
fi \n\
@sen0rxol0
sen0rxol0 / ipad4doulci.sh
Last active July 3, 2023 10:32
iPad4 Activation Lock Bypass
#!/usr/bin/env bash
clear
cat <<EOF
----iPad 4th generation Activation Lock Bypass script----
made by @sen0rxol0
------------------------------------------------
----Credits----
u/johnponflanchan and @appletech752
@sen0rxol0
sen0rxol0 / usbmux.js
Last active August 11, 2022 23:46
usbmuxd listen for device
// Modified from source: https://github.com/DeMille/node-usbmux/blob/master/lib/usbmux.js
const net = require('net'),
usbmuxd = { path: '/var/run/usbmuxd' }
devices = {},
protocol = {
payloadListen: `
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
@sen0rxol0
sen0rxol0 / generate_icns.sh
Created June 20, 2022 13:52
create icns files using iconutil
#!/usr/bin/env bash
mkdir Icon.iconset
sips -z 16 16 icon1024@1x.png --out Icon.iconset/icon_16x16.png
sips -z 32 32 icon1024@1x.png --out Icon.iconset/icon_16x16@2x.png
sips -z 32 32 icon1024@1x.png --out Icon.iconset/icon_32x32.png
sips -z 64 64 icon1024@1x.png --out Icon.iconset/icon_32x32@2x.png
sips -z 128 128 icon1024@1x.png --out Icon.iconset/icon_128x128.png
sips -z 256 256 icon1024@1x.png --out Icon.iconset/icon_128x128@2x.png
sips -z 256 256 icon1024@1x.png --out Icon.iconset/icon_256x256.png
@sen0rxol0
sen0rxol0 / readme.md
Last active January 25, 2022 09:58
La JSTL

JSTL (JavaServer Pages Standard Tag Library)

Liens utiles

JSTL JSR JSTL Core

SOMMAIRE

  • catch Catches any Throwable that occurs in its body and optionally exposes it.
  • choose Simple conditional tag that establishes a context for mutually exclusive conditional operations, marked by <when> and <otherwise>
  • if Simple conditional tag, which evalutes its body if the supplied condition is true and optionally exposes a Boolean scripting variable representing the evaluation of this condition import Retrieves an absolute or relative URL and exposes its contents to either the page, a String in 'var', or a Reader in 'varReader'.
  • forEach The basic iteration tag, accepting many different collection types and supporting subsetting and other functionality