Skip to content

Instantly share code, notes, and snippets.

@IridiumXOR
IridiumXOR / private_fork.md
Created October 18, 2024 09:07 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare git@github.com:usi-systems/easytrace.git

@IridiumXOR
IridiumXOR / linked-clone.sh
Created August 20, 2024 15:42 — forked from aojea/linked-clone.sh
Script to create a linked clone with libvirt
#!/bin/bash
set -xe
# This script takes as a parameter the name of the VM
# and creates a linked clone
# Ref: https://unix.stackexchange.com/a/33584
# The scripts assumes that it runs from the same folder
# where the vm image is located and it coincides with the
# image name
@IridiumXOR
IridiumXOR / main.md
Created February 27, 2024 13:44 — forked from mikolajwojcicki/main.md
Extracting apple .pkg files on Linux

In order to extract such a package following software is requried:

  • 7zip for general .pkg

  • pbzx for Payload files Github Source

    • xar Github Source
      • fix
      • download optional dependency libbzip2 / bzip2 and enable it in xar compilation configuration. This enables use or xar for extracting .pkg
    • compile with gcc pbzx.c -o pbzx -llzma -lxar
@IridiumXOR
IridiumXOR / FindInvalidMemoryReferences.java
Created September 13, 2021 20:08 — forked from starfleetcadet75/FindInvalidMemoryReferences.java
Ghidra script that searches all instructions for any references to undefined memory addresses. Useful for reversing firmware when you are still determining the correct memory mappings. Invalid addresses could indicate that you need to add a new segment at that address.
// Searches all instructions for any references to undefined memory addresses.
// Useful for reversing firmware when you are still determining the correct memory mappings.
// Invalid addresses could indicate that you need to add a new segment at that address.
//
// @author starfleetcadet75
// @category Search
// @keybinding
// @menupath
// @toolbar