The list below is compiled to inform, guide, and inspire budding security researchers. Oh and to pick something for bedtime reading too.
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 | |
# | |
# Attempt to run MATLAB installer using system Java installation, rather than | |
# that bundled inside the installer, in an attempt to work around the | |
# activation/download connection error: | |
# | |
# https://www.mathworks.com/matlabcentral/answers/92634-why-do-i-get-a-connection-error-when-installing-or-activating-matlab-or-another-mathworks-product#answer_797409 | |
# | |
# Tested on Ubuntu 20.04.2 LTS with openjdk-8-jre: | |
# openjdk version "1.8.0_292" |
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 python3 | |
""" | |
A simple hex dump example with colorized output. | |
Per request, the output is structured with ASCII aligned | |
with corresponding data bytes, rather than the canonical | |
style typically used in hex dumps (e.g. hexdump -C). | |
The colorization is performed in a second pass, rather than | |
during a single pass, just to separate the requested example |
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 python3 | |
# | |
# Copyright (C) 2018 Jon Szymaniak <[email protected]> | |
# SPDX License Identifier: MIT | |
# | |
# Compare two files containing (default) md5sum output and print results. | |
# | |
################################################################################ | |
__version__ = '0.1.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
================================================================================ | |
Ready, Set, Yocto! (v0.3) | |
A short guide to getting started with Yocto | |
using YP Rocko 2.4 the Raspberry Pi | |
jynik | |
================================================================================ | |
------------------------------------------------- | |
1. Intro |
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
/* | |
* Print the contents of a binary file as a C array. | |
* | |
* SPDX License Identifier: MIT | |
* (C) 2017 Jon Szymaniak <[email protected]> | |
*/ | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> |
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
#!env python3 | |
# | |
# Copyright (c) 2015 Jon Szymaniak <[email protected]> | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
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
# | |
# Simple cross-compilation example for Yocto-based toolchains and bladeRF | |
# | |
# Host build: | |
# make | |
# | |
# Wandboard Quad build: | |
# PLATFORM=wandboard-quad YOCTO_BUILD_DIR=path/to/build/dir make | |
# | |
# Raspberry Pi 2 build: |
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 <stdlib.h> | |
#include <stdio.h> | |
#include <libbladeRF.h> | |
int main(int argc, char *argv[]) | |
{ | |
int ret = 0; | |
int status; | |
struct bladerf *dev; | |
const char *dev_specifier = NULL; |
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 -e | |
readonly CLANG=/usr/bin/clang | |
readonly SCAN_BUILD_PATH=/usr/share/clang/scan-build/ | |
readonly SCAN_BUILD=$SCANBUILD_PATH/scan-build | |
readonly CCC_ANALYZER=$SCAN_BUILD_PATH/ccc-analyzer | |
# $1 Name | |
# $2 Debug/Release |
NewerOlder