Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View denysvitali's full-sized avatar

Denys Vitali denysvitali

View GitHub Profile
@thesamesam
thesamesam / xz-backdoor.md
Last active April 23, 2024 12:44
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

This is still a new situation. There is a lot we don't know. We don't know if there are more possible exploit paths. We only know about this one path. Please update your systems regardless.

This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.

@mitchellh
mitchellh / archive.md
Last active January 17, 2024 11:17
Archive List

Planned Repo Archive

In the new year, I plan on archiving the repositories below. Because I plan on only archiving the repositories, any project that depends on any of these projects will continue to work. However, I will no longer be accepting issues or pull requests and will never tag a new release.

The reality of each of the projects listed below is that I've almost completely ignored issues and pull requests for

These instructions are based on this blogpost by Anton Semjonov and this video by Animortis Productions. Please follow the link if you want more details, they go into much more detail about each step, whereas this document is more focused on being a concise cheat sheet. Let's go.

Install base system

Boot the Ubuntu installation medium. When asked, choose the "Try Ubuntu" option and open a terminal.

Switch to root, otherwise you'll have to type sudo all the time:

sudo su -
@Albinoman887
Albinoman887 / logcat.log
Created April 1, 2020 21:58
full bootup logcat of hotdogg trying to fix radio
This file has been truncated, but you can view the full file.
--------- beginning of system
02-25 10:17:22.638 620 630 I QISL : QSEE Interrupt Service Listener Thread is started
02-25 10:17:22.638 620 630 I QISL : QSEE Interrupt Service Listener was activated successfully
02-25 10:17:22.639 620 620 D SPL : Call QSEECom_register_listener()
02-25 10:17:22.639 620 620 D SPL : Registered listener sucessfully!
02-25 10:17:22.639 620 620 D SPL : pipe read-fd [33] write-fd [34]
02-25 10:17:22.639 620 620 D SPL : Create thread
02-25 10:17:22.639 620 620 D SPL : Thread created sucessfully.
02-25 10:17:22.639 620 631 D SPL : spl_dispatch() started
02-25 10:17:22.639 620 631 D SPL : ==== Wait For Request ======
@rettichschnidi
rettichschnidi / gist:cc92fee8f8076cd97b699817f14eb7cb
Created January 11, 2020 01:29
Startup log of the Swisscom Internet-Box Light
D%G----
BTL1
V1.1
CPUI
L1CI
PMCI
PMCS
AFEL
PWRZ
MEML
@hanetzer
hanetzer / $ cat liveboot.log;
Created January 7, 2020 22:03
$ cat liveboot.log;
This file has been truncated, but you can view the full file.
$ cat liveboot.log
-BOC-
-BOC-
uid=0(root) gid=0(root)
uid=0(root) gid=0(root)
6,0,0,-;[ 0.000000]@0 Booting Linux on physical CPU 0x0
5,1,0,-;[ 0.000000]@0 Linux version 4.14.117-perf+ (OnePlus@rd-build-91) (clang version 8.0.8 for Android NDK) #1 SMP PREEMPT Wed Dec 4 20:44:37 CST 2019
6,2,0,-;[ 0.000000]@0 Boot CPU: AArch64 Processor [51df805e]
6,3,0,-;[ 0.000000]@0 Machine: Qualcomm Technologies, Inc. SM8150P v2 PM8150 SDX55M MTP 19861 53 54
3,4,0,-;[ 0.000000]@0 OF: reserved mem: OVERLAP DETECTED!\x0adisp_rdump_region (0x000000009c000000--0x000000009e400000) overlaps with cont_splash_region (0x000000009c000000--0x000000009e400000)
@jessicah
jessicah / head_tag.html
Created October 25, 2019 23:25
Use fullnames for mentions
<script type="text/discourse-plugin" version="0.1">
var decorateAtMentions = function($post) {
$post.find("a.mention").each(function() {
var $elem = $(this);
var username = $elem.text().substr(1);
var data = Discourse.User.findByUsername(username).then(function(user) {
var avatarurl = user.avatar_template.replace("{size}", 18);
var realname = user.name;
$elem.before("<img src='"+avatarurl+"' title='"+realname+"'>");
@thedroidgeek
thedroidgeek / nokia-router-cfg-tool.py
Last active April 22, 2024 16:46
Nokia/Alcatel-Lucent router backup configuration tool
#!/usr/bin/env python3
#
# Nokia/Alcatel-Lucent router backup configuration tool
#
# Features:
# - Unpack/repack .cfg files generated from the backup and restore functionnality
# in order to modify the full router configuration
# - Decrypt/encrypt the passwords/secret values present in the configuration
@Juul
Juul / lte_mbim_from_scratch.md
Last active March 29, 2024 03:06
How to use 4G LTE modems like the MC7455 on both Debian/Ubuntu and OpenWRT using MBIM

The purpose of this document is to get you familiar with the concepts and command line tools involved with connecting to the internet using modern 4G LTE modems on both Debian/Ubuntu and OpenWRT.

This writeup is based on my experiences with the Sierra Wireless AirPrime MC7455 modem and a Calyx (Sprint) SIM card, but it should apply to most modern 4G LTE modems.

High level overview

These are the steps required:

  • Physically connect antennas
@floriankammermann
floriankammermann / URLTest.java
Last active December 2, 2023 03:32
URL Connection Test
import javax.net.ssl.*;
import java.io.IOException;
import java.net.*;
import java.security.cert.X509Certificate;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
public class URLTest {