HackerLangs
TopNewTrendsCommentsPastAskShowJobs

HeadlessChild

75 karmajoined 12 anni fa

Submissions

MD5 Implemented in Bash

youtube.com
3 points·by HeadlessChild·12 giorni fa·2 comments

comments

HeadlessChild
·l’altro ieri·discuss
OT: This commercial video is gorgeous looking and I adore the actors!
HeadlessChild
·12 giorni fa·discuss
Here is the actual code: https://github.com/bahamas10/bash-md5
HeadlessChild
·12 giorni fa·discuss
Dave from the YouTube channel You Suck At Programming implemented the MD5 algorithm in pure Bash.
HeadlessChild
·24 giorni fa·discuss
It is nice for a basic port knocking as well.

   timeout 5s bash -c "echo >/dev/tcp/google.com/443" && echo "port open" || echo "port closed"
This uses the timeout command from coreutils though, so it is not a pure bash implementation.
HeadlessChild
·3 mesi fa·discuss
Try running traceroute against the bad.horse address for a chuckle.

EDIT: You probably to increase the maximum hop count for it to fully work.
HeadlessChild
·7 mesi fa·discuss
An engineer at my work literally designed the processor architecture that lives in our products but he is more or less computer illiterate.
HeadlessChild
·9 mesi fa·discuss
/dev/null as a service.
HeadlessChild
·5 anni fa·discuss
One needs to lookout for their config file being overwritten [1] if another ansible.cfg exist. In my case my ~/.ansible.cfg config got overwritten by a local ./ansible.cfg (as per the order the config files are read [2]) in a project directory.

In my case I workaround it by _merging_ all potential config files into one at runtime using `crudini` as demonstrated by rsguhr [3].

[1] https://github.com/ansible/proposals/issues/35

[2] https://docs.ansible.com/ansible/2.4/intro_configuration.htm...

[3] https://gitlab.com/-/snippets/1851171