HackerTrans
TopNewTrendsCommentsPastAskShowJobs

HeadlessChild

75 karmajoined 12 лет назад

Submissions

MD5 Implemented in Bash

youtube.com
3 points·by HeadlessChild·12 дней назад·2 comments

comments

HeadlessChild
·позавчера·discuss
OT: This commercial video is gorgeous looking and I adore the actors!
HeadlessChild
·12 дней назад·discuss
Here is the actual code: https://github.com/bahamas10/bash-md5
HeadlessChild
·12 дней назад·discuss
Dave from the YouTube channel You Suck At Programming implemented the MD5 algorithm in pure Bash.
HeadlessChild
·24 дня назад·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 месяца назад·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 месяцев назад·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 месяцев назад·discuss
/dev/null as a service.
HeadlessChild
·5 лет назад·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