Skip to content

Instantly share code, notes, and snippets.

@darconeous
Last active December 18, 2021 06:19
Show Gist options
  • Save darconeous/80b57a444121f35ee1f5a49ac7931877 to your computer and use it in GitHub Desktop.
Save darconeous/80b57a444121f35ee1f5a49ac7931877 to your computer and use it in GitHub Desktop.
Alarm System Random Code Generator
for i in 1 2 3 ; do
dealer=`base64 /dev/random | head -c 1000 | sed 's/[^0-9]//g' | head -c 4`
downloader=`base64 /dev/random | head -c 1000 | sed 's/[^0-9]//g' | head -c 5`
installer=`base64 /dev/random | head -c 1000 | sed 's/[^0-9]//g' | head -c 4`
printf "========\n\r\n\r\n\r\n\rDEALER CODE -------- %s DEALER CODE -------- %s\n\rDOWNLOADER CODE ---- %s DOWNLOADER CODE ---- %s\n\rINSTALLER CODE ----- %s INSTALLER CODE ----- %s\n\r
\n\r\n\r\n\r" $dealer $dealer $downloader $downloader $installer $installer
done | nc npie9c125.local. 9100
@WalesR125
Copy link

Hey man any chance of helping me get this setup,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment