Install omci.lua and BinDecHex.lua dissectors wiki.wireshark.org/Contrib:
Ubuntu
mkdir -p $(HOME)/.local/lib/wireshark/plugins
cd $(HOME)/.local/lib/wireshark/plugins
wget "https://wiki.wireshark.org/Contrib?action=AttachFile&do=get&target=omci.lua"
Install omci.lua and BinDecHex.lua dissectors wiki.wireshark.org/Contrib:
Ubuntu
mkdir -p $(HOME)/.local/lib/wireshark/plugins
cd $(HOME)/.local/lib/wireshark/plugins
wget "https://wiki.wireshark.org/Contrib?action=AttachFile&do=get&target=omci.lua"
| // Demo Verilog Module that flashes the LED by shifting 4 bits | |
| // from "SUG100-1.2E_Gowin YunYuan Software User Guide" | |
| module demo ( // Declare our demo module. | |
| clk_50M, // Declare 3 pins: clk_50M, rst_n, led. | |
| rst_n, // We will connect these pins to the | |
| led); // actual clock signal, reset signal and LEDs. | |
| input clk_50M; // Declare the clock pin as an Input signal. | |
| input rst_n; // Reset pin is also an Input, triggered by board restart or reset button. |
| addEventListener('fetch', event => { | |
| event.respondWith(purgeCache(event.request)) | |
| }) | |
| async function purgeCache(request) { | |
| const url = new URL(request.url) |
| `timescale 1ms/1ms | |
| /// SPI | |
| module simple_spi_m_bit_rw | |
| #( | |
| parameter reg_width = 8 | |
| ) | |
| ( | |
| // System side | |
| input rstn, |
| #!/bin/sh | |
| ## Clean up any stale tempfile | |
| echo "Removing old files..." | |
| [ -f /tmp/hosts.working ] && rm -f /tmp/hosts.working | |
| ## Awk regex to be inverse-matched as whitelist | |
| # - Project Wonderful does unobtrusive ads on a lot of webcomics | |
| # - SolveMedia is needed for captchas on some websites | |
| #whitelist='/(projectwonderful.com|api.solvemedia.com)/' |
Using adb, create a backup of the app using the following command:
adb backup -f freeotp-backup.ab -apk org.fedorahosted.freeotpThis gist is showing an example of C program calling routine written in assembly.
| #!/usr/bin/sh | |
| # Start a new libopencm3 based project for Blue Pill STM32F103C8 board. | |
| # Takes project name as a parameter. | |
| EXAMPLES_MASTER=\ | |
| "https://raw.githubusercontent.com/libopencm3/libopencm3-examples/master" | |
| mkdir "$1" | |
| cd "$1" |
| #!/usr/bin/env python | |
| import lief | |
| shellx = lief.parse("libshellx-2.10.3.1.so") | |
| # .dynsym | |
| dt_symtab = shellx[lief.ELF.DYNAMIC_TAGS.SYMTAB] | |
| dynsym_section = shellx.get_section(".dynsym") |