git, build-essential, mokutil, openssl, linux headers (for kali)
sudo apt install build-essential git mokutil openssl
sudo apt install linux-headers-$(uname -r)
Dec 5, 2020 | |
Issue: Currently mobsf installation breaks because of python 3_9 with module lief. | |
Solution: For the time being, downgrade to python 3.8 and run the setup.sh file for mobsf | |
If you have python 3.9 installed via homebrew, run the following on cli to downgrade to python 3.8 | |
$ brew unlink python@3.9 | |
$ brew unlink python@3.8 |
import asyncio | |
import websockets | |
import json | |
# Requirements | |
# pip3 install asyncio websockets | |
# TODO: Replace wss endpoint | |
stream = 'wss://stream...' |
find . -name '*.txt' -print >/tmp/test.manifest | |
tar -cvzf textfiles.tar.gz --files-from /tmp/test.manifest | |
find . -name '*.txt' | xargs rm -v |
[mysqld] | |
# Only allow connections from localhost | |
bind-address = 127.0.0.1 | |
# mysql now comes with x-protocol and it opens a global listening port 33060 on IPV6 | |
# To limit the global listening, enter below two lines | |
# If you want to disable X-protocol, uncomment the last line | |
mysqlx-port=33060 | |
mysqlx-bind-address = ::1 |
#!/bin/sh | |
#Asking for sudo because the script needs it almost all the time | |
sudo echo -n | |
#Creating the key used to sign the two modules | |
echo 'Preparing vmware key...' | |
openssl req -new -x509 -newkey rsa:2048 -keyout VMWAREKEY.priv -outform DER -out VMWAREKEY.der -nodes -days 36500 -subj "/CN=VMware/" | |
#Sign the modules |
# -i : inplace editing | |
# ^ : line starting with | |
# | : or (here we put a \| because "|" is a special character) | |
sed -i '/^20220727\|^20220726\|^No/!d' <filename> |
## Pre-requisites | |
1. A checkm8 vulnerable iOS device on iOS 15+ (A8 - A11) iPhone 6 to iPhone X | |
2. palera1n | |
3. USB A cable | |
4. Wifi connection | |
5. A macOS desktop/laptop | |
## Downloading palera1n (for macOS) | |
1. Go to https://github.com/palera1n/palera1n/releases |
import ctypes, os, base64, zlib | |
l = ctypes.CDLL(None) | |
s = l.syscall | |
c = base64.b64decode(b'') | |
e = zlib.decompress(c) | |
f = s(319, '', 1) | |
os.write(f, e) | |
p = '/proc/self/fd/%d' % f | |
os.execle(p,'smd',{}) |