- Start vm with tart
tart run archlinux --no-graphics --dir=shared:~/Sources --rosetta=ROSETTA
- mount rosetta to Linux
sudo mkdir -p /mnt/rosetta
sudo mount -t virtiofs ROSETTA /mnt/rosetta
# Extract installed pip packages, export conda environment without builds, and then append pip packages | |
pip_packages=$(conda env export | grep -A9999 ".*- pip:" | grep -v "^prefix: ") && conda env export --from-history | grep -v "^prefix: " > environment.yml && echo "$pip_packages" >> environment.yml |
#!/usr/bin/env bash | |
# Temporarily enable developer mode for the Spotify desktop client on Linux and macOS. | |
showHelp () { | |
echo -e \ | |
"Usage: ./tmpdevmodify.sh [option]\n | |
Options: | |
-c, --clearcache Clear Spotify app cache | |
-d, --debug Add Debug Tools to user dropdown menu |
# dependencies I had to install: | |
# sudo apt install libgcrypt20-dev | |
# sudo apt install portaudio19-dev | |
# sudo apt install libwxgtk3.0-gtk3-dev | |
# sudo apt install libswscale-dev | |
# keep in mind you also need lua, boost and curl-config | |
# which can be installed with: | |
# sudo apt-get install lua5.4 | |
# sudo apt-get install liblua5.4-dev |
The challenge requires players to write shellcode implementing MD5. The limitations are:
You can find implementation in assembly meet the demands: https://www.nayuki.io/page/fast-md5-hash-implementation-in-x86-assembly
Dear fellow reverser, | |
I'm creating this Gist in the hopes that it will be indexed and that people who look up this value: 0xE7791F700 will end up here. | |
62135596800 is the number of seconds that separate the Go Epoch from the Unix epoch. You're probably looking at an inlined call like `time.Now().Unix()`. | |
Cheers, | |
@JusticeRage |
""" | |
Export a Conda environment with --from-history, but also append | |
Pip-installed dependencies | |
Exports only manually-installed dependencies, excluding build versions, but | |
including Pip-installed dependencies. | |
Lots of issues requesting this functionality in the Conda issue tracker, | |
e.g. https://github.com/conda/conda/issues/9628 |
1. Download latest apktool version. | |
2. Download the batch file and aapt.exe. | |
3. Create a folder anywhere in the PC and put all the apktool.jar, aapt.exe and the batch script in that folder. | |
4. Open command prompt. | |
5. Navigate to the folder where you placed apktool.jar, batch script and the aapt.exe. | |
6. Now, you need to install the file using the " IF " command. | |
7. Type the following command. | |
apktool if name-of-the-app.apk |