Skip to content

Instantly share code, notes, and snippets.

View geoff-nixon's full-sized avatar

Geoff Nixon geoff-nixon

View GitHub Profile
@geoff-nixon
geoff-nixon / macos-syscall.c
Created November 25, 2020 02:13 — forked from michaeljclark/macos-syscall.c
simple macos process with no dependency on libsystem.dylib
/*
* cc -Wall -O3 -c macos-syscall.c -o macos-syscall.o
* ld -static -macosx_version_min 10.12 -pagezero_size 0x1000 macos-syscall.o -o macos-syscall
*/
__attribute__ ((visibility("default"))) extern void start(void) asm("start");
#define NR_exit 0x2000001
#define NR_write 0x2000004
@geoff-nixon
geoff-nixon / osx-software-update-urls.txt
Created September 23, 2015 08:04 — forked from stefanschmidt/osx-software-update-urls.txt
URLs of the index files used by the software update client on OS X
10.3 (Panther):
https://swscan.apple.com/scanningpoints/scanningpointX.xml
10.4 (Tiger):
https://swscan.apple.com/content/catalogs/index.sucatalog
https://swscan.apple.com/content/catalogs/index-1.sucatalog
10.5 (Leopard):
https://swscan.apple.com/content/catalogs/others/index-leopard.merged-1.sucatalog
@geoff-nixon
geoff-nixon / PrintBootCampESDInfo.swift
Created September 30, 2021 14:44 — forked from nuomi1/PrintBootCampESDInfo.swift
macOS and BootCamp Latest
#!/usr/bin/env swift
//
// REPL.swift
//
// Created by nuomi1 on 8/5/18.
// Copyright © 2018年 nuomi1. All rights reserved.
//
import Foundation
@geoff-nixon
geoff-nixon / GCP
Created October 16, 2020 17:14 — forked from armanhakimsagar/GCP
Step :
1. give credit card info
2. create project
3. after that you can create instance.
4. now install apcache by ssh:
sudo apt get update
https://accounts.google.com/signin/v2/sl/pwd?
service=mail
&hl=en
&uilel=1
&continue=https://www.gmail.com
@geoff-nixon
geoff-nixon / arcfour.c
Created September 30, 2020 08:34 — forked from lnsp/arcfour.c
a ARC4 encryption / decryption program
// ARC4 by Ronald L. Rivest
// Implementation by mooxmirror
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#define byte unsigned char
#define STDIN_BUFFER_SIZE 8
@geoff-nixon
geoff-nixon / RootHelper.x.c
Created September 30, 2020 01:58 — forked from NullArray/RootHelper.x.c
RootHelper Obfuscated, Encrypted, Converted to C source
//#____ ____ __
//#\ \ / /____ _____/ |_ ___________
//# \ Y // __ \_/ ___\ __\/ _ \_ __ \
//# \ /\ ___/\ \___| | ( <_> ) | \/
//# \___/ \___ >\___ >__| \____/|__|
//# \/ \/
//#--Licensed under GNU GPL 3
//#----Authored by Vector/NullArray
//###############################################
//
// AppDelegate.swift
// test
//
// Created by IOANNIS DELIGIANNIS on 1/2/16.
// Copyright © 2016 IOANNIS DELIGIANNIS. All rights reserved.
//
import Cocoa
//
// SharedWebCredentialsManager.swift
// Keychain
//
// Created by Mohammad Alatrash on 6/14/18.
//
import Foundation
enum SharedWebCredentialsManagerError: Error {