Skip to content

Instantly share code, notes, and snippets.

@duraki
duraki / add_debug_entitlement.sh
Created October 11, 2021 20:29 — forked from talaviram/add_debug_entitlement.sh
Simple Utility Script for allowing debug of hardened macOS apps.
#! /bin/bash
# Simple Utility Script for allowing debug of hardened macOS apps.
# This is useful mostly for plug-in developer that would like keep developing without turning SIP off.
# Credit for idea goes to (McMartin): https://forum.juce.com/t/apple-gatekeeper-notarised-distributables/29952/57?u=ttg
app_path=$1
if [ -z "$app_path" ];
then
echo "You need to specify app to re-codesign!"
exit 0
@duraki
duraki / breach_compilation_passlist-extraction.txt
Last active May 7, 2022 12:49
1.4 billion password breach compilation wordlist
# => create a wordlist from original 41G stash via:
$ grep -rohP '(?<=:).*$' | uniq > breachcompilation.txt
# => compressed with:
$ 7z a breachcompilation.txt.7z breachcompilation.txt
# => size (rel):
## 4.1G compressed
## 9.0G uncompressed
# => Open this file
$ sudo vi /etc/default/tlp
# => Set this from 1 to 0:
USB_AUTOSUSPEND=0
# => Reboot
# SD card reader should work #
@duraki
duraki / fix_macbook_air_redhat_linux_wifi.txt
Last active May 7, 2022 13:04
Wi-fi fix RHEL on Macbook Air
# => unload/load wl module
$ modprobe -r wl
$ modprobe wl
$ nmtui ...
# => show use across the linux
$ modprobe --show-depends wl
insmod /lib/modules/3.10.0-693.11.1.el7.x86_64/kernel/net/rfkill/rfkill.ko.xz
insmod /lib/modules/3.10.0-693.11.1.el7.x86_64/kernel/net/wireless/cfg80211.ko.xz
# => first reboot coreaudiod
$ sudo pkill coreaudiod
$ sudo kill -9 `ps ax | grep 'coreaudiod' | grep -v grep | awk '{print $1}'`
$ sudo defaults read bluetoothaudiod
## 2021-01-11 09:01:55.659 defaults[1519:22962]
## Domain bluetoothaudiod does not exist
# => write defaults
$ sudo defaults write bluetoothaudiod "Apple Bitpool Max" 40
$ sudo defaults write bluetoothaudiod "Disable AAC codec" 1
1. If the turn signal switch is pressed in until it is in the most extreme position, the marker on one side (parking marker) will light up.
2. The rear sofa is made so that it can be used as a seat in nature (there is even a carrying handle and the bottom of the sofa is made of plastic).
3. The sun protective blind can turn to the window when the sun is lateral (3D blind).
4. By clicking on the reset daily mileage, you can see the mileage even without a key.
5. In the rear doors in the locks themselves there are latches for children that will not allow a child to open the doors (turn with a key or a screwdriver).
6. By lifting the driver's handle and holding it for 15 seconds, the lock cylinder will warm up.
7.Lifting the driver's handle turns on the interior light.
8. Recirculation of the cabin works even with the engine off (if the goal is additional help, you can sit in the car driving warm air through the cabin through the stove).
9. When you have to carry something dirty in the trunk, you can turn the ca
@duraki
duraki / E34 Wipes Programming.txt
Created June 17, 2022 19:55
E34 Wipes Programming
First, a little theory. The brushes and, accordingly, the switch have 5 main modes of operation of the brushes:
3 - The fastest mode.
2 - Continuous mode (With "nuances". What? Read below!).
1 - Intermittent mode.
0 - Not working (off).
@duraki
duraki / sqlmap_which_tamper_to_use.txt
Created May 8, 2021 09:35
Best sqlmap tampers to use depending on the DBMS
## MySQL
space2randomblank
unionalltounion
unmagicquotes
versionedkeywords
versionedmorekeywords
xforwardedforbetween
bluecoat
charencode
@duraki
duraki / shell_bind_tcp.asm
Created December 9, 2017 18:54 — forked from geyslan/shell_bind_tcp.asm
Shell Bind TCP in Assembly (Linux/x86)
; This is a snippet of the original file in https://github.com/geyslan/SLAE/blob/master/1st.assignment/shell_bind_tcp.asm
global _start
section .text
_start:
; syscalls (/usr/include/asm/unistd_32.h)
; socketcall numbers (/usr/include/linux/net.h)

Setup

  • Create a developer account with Apple
  • Download and install X-Code from the Apple App Store
  • Open and run X-Code app and install whatever extras it requires
  • Open the preferences pane (cmd+,)
    • click the + in the lower right corner
    • choose Apple ID
    • enter your apple ID and password