Glossary:
- md: multiple devices
command | description |
---|---|
cat /proc/mdstat |
show status of all raids |
mdadm --detail /dev/md0 |
detailed status of raid md0 |
""" | |
Automate loading of F-Script Anywhere into any app. | |
By Daniel Jalkut - @danielpunkass - http://indiestack.com/ | |
To set up: | |
0. Make sure you have FScript.framework installed in /Library/Frameworks (http://www.fscript.org) | |
1. Copy this script to ~/.lldb/fsa.py | |
2. Add the following to your ~/.lldbinit file: |
/* jshint loopfunc: true, undef: true, unused: false, strict: false */ | |
/* global ch_sdcka, ch_sdckb, dec_item_add_post_text, dec_item_add_comment, hex_add_byte, dark_colors, pkt_start, pkt_end, pkt_add_item, trs_go_before, dec_item_add_data, sample_val, ui_clear, ui_add_ch_selector, dec_item_add_sample_point, DRAW_0, DRAW_1, clear_dec_items, dec_item_new, dec_item_add_pre_text, get_ui_vals, add_to_err_log, trs_get_first, trs_is_not_last, abort_requested, trs_get_next, debug, trs_go_after, sample_rate, get_ch_color */ | |
/* | |
************************************************************************************* | |
SCANASTUDIO 2 MAPLE BUS DECODER | |
The following commented block allows some related informations to be displayed online |
import Foundation | |
/// Protocol for NSLocking objects that also provide tryLock() | |
public protocol TryLockable: NSLocking { | |
func tryLock() -> Bool | |
} | |
// These Cocoa classes have tryLock() | |
extension NSLock: TryLockable {} | |
extension NSRecursiveLock: TryLockable {} |
Full ROP explanation! | |
At the beginning, we predict a address were our payload will be in the end. | |
We can trick a bit by using a nop slide, but the payload we want execute is statically linked so we need to get rid of the nops. | |
For this, we build a special payload, it consists of the folllowing parts | |
1. a bunch of nops to nop slide. Now we just need to have a good enough guess to not hit our real code. | |
2. the "wiiuhaxx_loader.s". To removes the nops. | |
3. the size of the "real" payload | |
4. the real payload. |
-- Usage | |
-- 1. Edit the settings (see below). This step is NECESSARY the first time you use it! | |
-- 2. Run this script (this should open Audio Hijack Pro and Spotify) | |
-- | |
-- NOTE: the script assumes that each track is played entirely. You CANNOT skip tracks in Spotify. | |
-- If you do so the script will get out of sync and the resulting files contain partial or multiple songs. | |
-- You can abort a recordig session by stopping this script and ending (manually) the recording | |
-- in Audio Hijack Pro. | |
-- | |
-- You need to have "atomicparsley" installed on your system. You can install the application with |
# maximum capability of system | |
user@ubuntu:~$ cat /proc/sys/fs/file-max | |
708444 | |
# available limit | |
user@ubuntu:~$ ulimit -n | |
1024 | |
# To increase the available limit to say 200000 | |
user@ubuntu:~$ sudo vim /etc/sysctl.conf |
# Building static nginx for teh lulz | |
# | |
# basic dependencies | |
sudo apt-get install libxslt1-dev libxml2-dev zlib1g-dev libpcre3-dev libbz2-dev libssl-dev | |
# download nginx and openssl | |
wget http://nginx.org/download/nginx-1.5.6.tar.gz | |
tar xf nginx-1.5.6.tar.gz; cd nginx-1.5.6 |
As the Ghidra open source community is growing, trying to document the new projects around Ghidra. Feel free to fork the gist and propose improvements.
unc0ver: ~13.5 https://unc0ver.dev/
checkra1n: ~13 (14 & A10+ experimental) https://checkra.in/