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
# Native Solana security issues | |
This gist shows 3 vulnerable code examples in Native Rust Solana programs. |
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 bash | |
# | |
# Installs nixos with full disk encrypted root partition. | |
# | |
# - Prompts for password initially, after that no interaction should | |
# be required. | |
# - At the end it will prompt for a root password, could not make | |
# echo-ing it into nixos-install work. | |
# - Reserves 550MB for boot partition, rest for the root volume. | |
# - After booting, log in as root user and set password for normal user. |
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/perl | |
$f = $ARGV[0]; | |
$pagestart = 0; | |
$charstart = 0; | |
$kernstart = 0; | |
$s = "<?xml version=\"1.0\"?>\n<font>\n"; | |
open(F, $f); |