As I remember or use, I will put here a tool I found out interesting or usefull for reverse engineering hardware / software. Feel free to recommend some as well :D
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
#include "common/url.h" | |
#include <fmt/format.h> | |
#include <cctype> | |
using namespace ProtoRock::Http; | |
enum EncodingMode { | |
encodePath = 1, |
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
package main | |
import ( | |
"fmt" | |
"github.com/google/gopacket" | |
"github.com/google/gopacket/layers" | |
"github.com/google/gopacket/pcap" | |
"time" | |
) |
git clone https://github.com/stefanberger/libtpms/
sudo apt-get -y install automake autoconf libtool gcc build-essential libssl-dev dh-exec pkg-config dh-autoreconf
./autogen.sh --with-openssl
make dist
dpkg-buildpackage -us -uc -j4
# Install the library and development packages
cd ..
sudo dpkg -i libtpms_0.x.y-z..._amd64.deb libtpms-dev_0.x.y-z..._amd64.deb
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 | |
for g in `find /sys/kernel/iommu_groups/* -maxdepth 0 -type d | sort -V` | |
do | |
echo "IOMMU Group ${g##*/}:" | |
for d in $g/devices/* | |
do | |
echo -e "\t$(lspci -nns ${d##*/})" | |
done | |
done |
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
#!/usr/bin/env python | |
import os, math | |
import collections | |
G1 = 0x79 # 171 octal | |
G2 = 0x5B # 131 octal | |
K = 7 | |
UW = 0x1ACFFC1D |
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
Title = "SatHelperApp" | |
[Base] | |
SymbolRate = 927000 | |
RRCAlpha = 0.3 | |
Mode = "hrit" | |
Decimation = 1 | |
AGCEnabled = true | |
DeviceType = "rtlsdr" | |
SendConstellation = true |
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
#!/usr/bin/env python | |
import sys, struct, os, packetmanager | |
FRAMESIZE = 892 | |
M_PDUSIZE = FRAMESIZE - 6 | |
EXPORTCORRUPT = False | |
tsize = 0 | |
isCompressed = True |
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
module FIFO | |
#( | |
parameter NUMSAMPLES = 16, | |
parameter NUMBITS = 16 | |
) ( | |
input wire rclk, | |
input wire wclk, | |
input wire reset, | |
input wire [NUMBITS-1:0] wdata, | |
input wire readEnable, |
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
#!/usr/bin/env node | |
// npm install slackbots node-telegram-bot-api | |
var TelegramBot = require('node-telegram-bot-api'); | |
var SlackBot = require('slackbots'); | |
// create a bot | |
var sBot = new SlackBot({ | |
token: 'your-slack-bot-token', // Add a bot https://my.slack.com/services/new/bot and put the token |