Skip to content

Instantly share code, notes, and snippets.

@gm3197
gm3197 / vas.md
Last active April 5, 2025 20:53
Reverse Engineered Value Added Services Protocol Specification

Reverse Engineered VAS Protocol Specification

Research by Grayson Martin
Last Updated 7/8/23

Introduction

Value Added Services (VAS) is the protocol used by NFC capable passes in Apple Wallet. Access to this protocol is heavily restricted on both the device end (a special certificate issued by Apple is required to create these passes) and the reader end (NDA enforced confidentiality). As such, a desire arose to better understand the protocol in order to explore additional use cases and examine its cryptographic integrity. There are gaps in understanding in certain parts of this protocol, however this document contains the minimum necessary understanding to automatically select, read data from, and decrypt a pass.

Importantly, this specification does not enable a malicious actor to read the data from a pass for which they do not have both the reader's private key, and the pass type identifier. Imp

@Miguel2617
Miguel2617 / apacheJenaSetUp.md
Last active April 10, 2025 10:24
Set up triple store based on the Apache Jena respectively Fuseki framework. The tutorial describes how to integrate a SWRL reasoner to apply arbitrary SWRL rules to the triple in the triple store.

Apache Jena: Step by step guide

Steps Presentation
1. Download the zip file of Apache Jena Fuseki on the website Apache Jena image2021-4-17_11-10-57
2. After unpacking, the server can be executed for the first time by running (double-clicking) the "fuseki-server.bat". image2021-4-17_11-14-21
3. The server offers a web interface that can be reached in the browser under localhost:3030. Here, so-called datasets, i.e. independent ontologies (e.g. for different projects) can be created or existing datasets can be edited. Files can also be uploaded. image2021-4-17_11-23-35

Information

  • SPARQL que
@hjbotha
hjbotha / free_ports.sh
Last active April 2, 2025 14:19
Free ports 80 and 443 on Synology NAS
#! /bin/bash
# NEWLY ADDED BACKUP FUNCTIONALITY IS NOT FULLY TESTED YET, USE WITH CARE, ESPECIALLY DELETION
# Developed for DSM 6 - 7.0.1. Not tested on other versions.
# Steps to install
# Save this script in one of your shares
# Edit it according to your requirements
# Backup /usr/syno/share/nginx/ as follows:
# # cd /usr/syno/share/
# # tar cvf ~/nginx.tar nginx