-
Install https://developer.garmin.com/connect-iq/programmers-guide/getting-started/ to
/opt/garmin-connectiq-sdk
export PATH=$PATH:/opt/garmin-connectiq-sdk/bin
-
lib issues
The badge of the Syscan 2015 conference included an ARM-based STM32F030R8 processor running some challenges. Although SWD pins are accessible on the badge, some have noted that the STM32 is readout-protected, meaning that it will refuse to dump its flash memory.
Fortunately, two researchers (Johannes Obermaier and Stefan Tatschner) recently published a paper at the WOOT '17 conference, in which they reveal a vulnerability allowing to bypass the readout protection. Their technique allows to dump the flash one DWORD at a time, rebooting the CPU between each access.
I implemented this attack using a BusPirate and the PySWD module. Here is a quick'n dirty PoC to
The assumed default setting in /etc/systemd/journald.conf
is Storage=auto
which implies that systemd journaling will only persist the journal if the expected storage location is available. Otherwise, the journal data is stored in memory and lost between reboots. On Ubuntu 16.04, /var/log/journal
does not exist by default. Create it to keep and query events from previous boots.
Considerations:
- Syslog still provides the persistant log records for Ubuntu 16.04, so enabling persistant systemd journal logging does cause a level of duplicaiton.
- There are sane defaults:
Moved to: | |
https://github.com/pwuertz/kicad_picknplace_assistant |
input:not(.tactile-searchbox-input):not(.urlbar-input):not(.textbox-input):not(.form-control):not([type='checkbox']) { | |
-moz-appearance: none !important; | |
background-color: white; | |
color: black; | |
} | |
#downloads-indicator-counter { | |
color: white; | |
} |
#!/usr/bin/env python3 | |
def parseArgs(): | |
from sys import stderr | |
import argparse | |
from os.path import expanduser, isfile | |
parser = argparse.ArgumentParser() | |
parser.add_argument( | |
'-f', '--file', help='file to be cleaned', |
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- | |
vim: set autoindent expandtab shiftwidth=2 softtabstop=2 tabstop=2: */ | |
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <getopt.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> |
{ | |
"lines.linewidth": 2.0, | |
"examples.download": true, | |
"patch.linewidth": 0.5, | |
"legend.fancybox": true, | |
"axes.color_cycle": [ | |
"#30a2da", | |
"#fc4f30", | |
"#e5ae38", | |
"#6d904f", |
#include "stm32f4_discovery.h" | |
#include "arm_math.h" | |
/* | |
- TIM4_CH1 pin (PB.06) | |
- TIM4_CH2 pin (PB.07) | |
*/ | |
void configureEncoder() { |