This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 <czietz@gmx.net> | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: | |
# | |
# 1. Redistributions of source code must retain the above copyright notice, this | |
# list of conditions and the following disclaimer. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: David Herrmann <dh.herrmann@gmail.com> | |
_pkgname=qemu-user-static | |
pkgdesc='A generic and open source machine emulator, statically linked' | |
pkgver=4.1 | |
pkgrel=1 | |
pkgname=$_pkgname-bin | |
arch=('x86_64' 'i686' 'aarch64') | |
url="http://wiki.qemu.org" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
unbind_vtconsoles() | |
{ | |
for ((i = 0; i < 16; i++)) | |
do | |
if [ -d "/sys/class/vtconsole/vtcon$i" ]; then | |
if [ `cat /sys/class/vtconsole/vtcon$i/name | grep -c "frame buffer"` -eq 1 ]; then | |
while [ `cat /sys/class/vtconsole/vtcon$i/bind` -ne 0 ]; do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I updated the script for kernel 3.8 running on Acer C7 Chrubuntu 13.04 | |
#!/bin/bash | |
set -x | |
# | |
# Grab verified boot utilities from ChromeOS. | |
# | |
mkdir -p /usr/share/vboot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -x | |
# | |
# Grab verified boot utilities from ChromeOS. | |
# | |
mkdir -p /usr/share/vboot | |
mount -o ro /dev/sda3 /mnt | |
cp /mnt/usr/bin/vbutil_* /usr/bin |