Skip to content

Instantly share code, notes, and snippets.

@KalleDK
Last active November 18, 2016 12:44
Show Gist options
  • Save KalleDK/f62b294e47c29781b5dd68af92393bba to your computer and use it in GitHub Desktop.
Save KalleDK/f62b294e47c29781b5dd68af92393bba to your computer and use it in GitHub Desktop.
ITIFN RFC868 Server
#!/bin/sh
# Loop Forever
while true; do netcat -l -u -p 4444 -c -e "epoch=\$(date +'%s'); rfc868=\$((\$epoch + 2208988800)); hex=\$(printf '0: %.8x' \$rfc868); echo \$hex | xxd -r -g0"; done
#!/bin/sh
# Loop Forever
while true; do netcat -l -p 4444 -c -e "epoch=\$(date +'%s'); rfc868=\$((\$epoch + 2208988800)); hex=\$(printf '0: %.8x' \$rfc868); echo \$hex | xxd -r -g0"; done
#!/bin/sh
# Single shot
netcat -l -p 4444 -c -e "epoch=\$(date +'%s'); rfc868=\$((\$epoch + 2208988800)); hex=\$(printf '0: %.8x' \$rfc868); echo \$hex | xxd -r -g0"
#!/bin/sh
# Single Shot
netcat -l -u -p 4444 -c -e "epoch=\$(date +'%s'); rfc868=\$((\$epoch + 2208988800)); hex=\$(printf '0: %.8x' \$rfc868); echo \$hex | xxd -r -g0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment