HackerLangs
TopNewTrendsCommentsPastAskShowJobs

HeadlessChild

75 karmajoined 12 lat temu

Submissions

MD5 Implemented in Bash

youtube.com
3 points·by HeadlessChild·12 dni temu·2 comments

comments

HeadlessChild
·przedwczoraj·discuss
OT: This commercial video is gorgeous looking and I adore the actors!
HeadlessChild
·12 dni temu·discuss
Here is the actual code: https://github.com/bahamas10/bash-md5
HeadlessChild
·12 dni temu·discuss
Dave from the YouTube channel You Suck At Programming implemented the MD5 algorithm in pure Bash.
HeadlessChild
·24 dni temu·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 miesiące temu·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 miesięcy temu·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 miesięcy temu·discuss
/dev/null as a service.
HeadlessChild
·5 lat temu·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