This file contains hidden or 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
#Custom function to pack our arguments for BOFs | |
#Usage: Call it the same way you would call bof_pack | |
sub custom_pack { | |
local('$beaconId $formatString $formatStringFixed @argsFixed $totalSize $shiftCounter $index $binarySize $packedData') | |
#We don't really need this but keeping it so the calling convention is the same | |
$beaconId = $1; | |
#Our original format string | |
$formatString = $2; |
This file contains hidden or 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
using System; | |
using System.IO; | |
using System.Text; | |
namespace convertfile | |
{ | |
public static class Program | |
{ | |
static void Main(string[] args) | |
{ |