Skip to content

Instantly share code, notes, and snippets.

Avatar

Tad SkewedZeppelin

View GitHub Profile
@SkewedZeppelin
SkewedZeppelin / android_kernel_fairphone_fp2-ubp5.1.sh
Last active Oct 20, 2021
UBports actively shipping devices with critical vulnerabilities such as CVE-2015-1805, CVE-2016-5195, and CVE-2020-29661. See https://github.com/ubports/ubuntu-touch/issues/1566
View android_kernel_fairphone_fp2-ubp5.1.sh
#!/bin/bash
git apply $DOS_PATCHES_LINUX_CVES/0001-LinuxIncrementals/3.4/3.4.0032-0033.patch --exclude=Makefile
git apply $DOS_PATCHES_LINUX_CVES/0001-LinuxIncrementals/3.4/3.4.0046-0047.patch --exclude=Makefile
git apply $DOS_PATCHES_LINUX_CVES/0001-LinuxIncrementals/3.4/3.4.0077-0078.patch --exclude=Makefile
git apply $DOS_PATCHES_LINUX_CVES/0001-LinuxIncrementals/3.4/3.4.0085-0086.patch --exclude=Makefile
git apply $DOS_PATCHES_LINUX_CVES/0001-LinuxIncrementals/3.4/3.4.0089-0090.patch --exclude=Makefile
git apply $DOS_PATCHES_LINUX_CVES/0002-Misc_Fixes/ANY/0007.patch
git apply $DOS_PATCHES_LINUX_CVES/0003-syzkaller-Misc/ANY/0008.patch
git apply $DOS_PATCHES_LINUX_CVES/0003-syzkaller-Misc2/ANY/0001.patch
git apply $DOS_PATCHES_LINUX_CVES/0005-AndroidHardening-Deny_USB/3.4/3.4-Backport.patch
View rm-kcmp.patch
From c51fae67f7409fd0e86b171bea960964aa96b6b8 Mon Sep 17 00:00:00 2001
From: Tad <tad@spotco.us>
Date: Wed, 29 Apr 2020 14:34:28 -0400
Subject: [PATCH] DNM: Drop KCMP
---
contrib/vim/syntax/firejail.vim | 2 +-
etc-fixes/0.9.38/firefox.profile | 4 ++--
etc-fixes/0.9.52/firefox.profile | 2 +-
etc/profile-a-l/dnscrypt-proxy.profile | 2 +-
View 0.9.52.patch
From f5751157c874645f4238dc77934baa54e6d64887 Mon Sep 17 00:00:00 2001
From: smitsohu <smitsohu@gmail.com>
Date: Sat, 23 Mar 2019 22:32:30 +0000
Subject: [PATCH] mount runtime seccomp files read-only (#2602)
avoid creating locations in the file system that are both writable and
executable (in this case for processes with euid of the user).
for the same reason also remove user owned libfiles
when it is not needed any more
View Orbot_Snackbar.patch
diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java
index 664d17ec..7271b680 100644
--- a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java
+++ b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java
@@ -108,6 +108,7 @@ import eu.siacs.conversations.utils.Patterns;
import eu.siacs.conversations.utils.QuickLoader;
import eu.siacs.conversations.utils.StylingHelper;
import eu.siacs.conversations.utils.TimeframeUtils;
+import eu.siacs.conversations.utils.TorServiceUtils;
import eu.siacs.conversations.utils.UIHelper;
View mini.css-table_colors.html
<!DOCTYPE html>
<html lang="en">
<head>
<title>Table Coloring</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- <link rel="stylesheet" href="https://cdn.rawgit.com/Chalarangelo/mini.css/v2.3.7/dist/mini-default.min.css"> WORKS!-->
<link rel="stylesheet" href="https://cdn.rawgit.com/Chalarangelo/mini.css/gluon.v3/dist/mini-default.min.css"> <!-- DOESN'T WORK -->
</head>
View Focus-Orbot.patch
From da159eb27ed1806b28b416fe3c94ecf95b7f7fd0 Mon Sep 17 00:00:00 2001
From: n8fr8 <nathan@freitas.net>
Date: Wed, 28 Jun 2017 10:48:08 -0400
Subject: [PATCH 1/8] add NetCipher library to allow for easy Orbot detection
and port lookup
---
app/build.gradle | 2 ++
1 file changed, 2 insertions(+)