Skip to content

Instantly share code, notes, and snippets.

View unforgiven512's full-sized avatar

Gerad Munsch unforgiven512

View GitHub Profile
@bryan-hunt
bryan-hunt / cal_gg_pkcs11.md
Last active April 1, 2023 16:27
Setting up ATECC608A, Cryptoauthlib PKCS11 for Greengrass HSI

Demo Setup for Cryptoauthlib PKCS11 and Greengrass on Raspberry Pi

  • Setup the Raspberry Pi for greengrass following the AWS tutorials for the Raspberry Pi. Modules 1 & 2 need to be completed before moving forward with the pkcs11 credentials.
  • Perform the steps detailed in the pkcs11 readme and stop at the "testing" section as the tests will not succeed without an initialize device.

Probing the device

An uninitialized device with the defaults provided in the readme will display the following:

Using SSH to set up a VPN

If you're a roaming user or you're trying to link a satellite office to the main network, SSH can handle the job. Other solutions exist, and SSH isn't perfect, but this is probably the simplest trick out there.

OpenSSH since version 4.3 has the ability to set up TUN/TAP tunnels. I'm sure most of you have set up port-forwarding via SSH, but this is a little

# Modified code by CrazyT
#
# For orginal view notes below:
#
# Proof-of-concept code for reading data from a Wifi microscope.
# See https://www.chzsoft.de/site/hardware/reverse-engineering-a-wifi-microscope/.
# Copyright (c) 2020, Christian Zietz <[email protected]>
#
# Redistribution and use in source and binary forms, with or without
@quonic
quonic / readme.md
Created February 6, 2022 09:23
Rooting BGW210-700. Reformatting of https://github.com/dbf08/Rooting-BGW210-700/blob/master/README.md to Github's Markdown format

Rooting-BGW210-700

Rooting BGW210-700 update

Barring any network exploit being published and/or subsequently patched, here's a guide to physically root and extract certs from the demon spawn aka BGW210 without desoldering any flash chips and ruining the unit:

Needed equipment:

  • v1.5.12 or earlier RG firmware bin file
@klpx
klpx / vivado-installer-stuck.md
Created July 8, 2022 10:09
Vivado 2022.1 installation gets stuck at ‘Generating installed device list’

Just like Lukas Prokop, I ran into an issue installing Vivado 2022.1 on Ubuntu 22.04. The error looks just like in their article: https://lukas-prokop.at/articles/2021-02-02-vivado-install-stuck

His article gives a recipe to fix 2018.1 version but it's not exactly fit for 2022.1, though an underlying issue is probably the same. Fix is very similar as well, and I'm trying to give more generalized approach.

Fix

The idea is to fix LD_LIBRARY_PATH environment varible for commands the installer runs.