472 subscribers
6 photos
1 video
2 files
550 links
python, go, code quality, security, magic

Website and RSS:
https://itgram.orsinium.dev

Source:
https://github.com/orsinium/itgram

Author:
@orsinium
https://orsinium.dev/
Download Telegram
lama -- генератор списка паролей для брутфорса на основе переданного списка ключевых слов. Эксплуатирует довольно известную идею, что большинство паролей не отличаются особой оригинальностью. Достаточно попробовать разные условия:
1. Пароль начинается с большой буквы.
2. Каждое слово начинается с большой буквы.
3. Цифры в конце.
4. Обычно это одно слово и одна цифра.
5. Часто слово -- логин, название сайта, имя человека, имя родственника.
6. Цифра -- дата рождения.
7. Цифра -- почтовый индекс

Ну и так далее. При таргетированных атаках собрать эту информацию не так уж и сложно, а lama уже сгенерирует на основе этого пароль.

#security #tools #cli #c #passwords #bruteforce #se
Продолжая вчерашнюю тему: используйте менеджеры паролей. Я для себя решение искал довольно долго, перепробовал много вариантов, влоть до собственного велосипеда. Долгое время пользовался KeePassX, но не хватало синхронизации. Хотел настроить для него Dropbox, но потом нашёл более гиковское решение.

pass -- менеджер паролей с шифрованием через gpg ключ и синхронизацией через git. Изначально представляет из себя консольную утилиту для UNIX, но в настоящий момент имеет уйму клиентов под все операционки и браузеры. В общем, мне он сразу понравился за минимализм и возможность не выходить из консоли. Настраивал я его по вот этому gist'у на github.

#passwords #tools #cli #security
tig -- удобный CLI для просмотра log, diff и blame git для разных файлов и веток. Крутится поверх ncurses, имеет адекватные хоткеи и возможность пайпить данные из самого гита.

#git #cli #tools
Мне нравится иногда открыть сайт в Lynx и посмотреть, как всё будет работать. Если сайт сделан основательно и способен выжить без JS, то всё будет выглядеть просто отлично. Не верите, что такое возможно в 2018 году? Попробуйте воспользоваться google.com через lynx, и всё будет работать без единого нарекания. Это требует особых усилий от команды frontend-разработки поисковика google, но они справляются с этим отлично, и поисковик работает на чём угодно, вплоть до кофеварки.

Ну а для тех, кому внезапно пришло в голову посмотреть в терминале YouTube, недавно появился browsh.

К слову, узнаёте лого? Оно пришло из проекта open logos, где вы можете выбрать логотип, рассказать про свой проект и по результатам голосования забрать логотип себе.

#terminal #cli #browser #logo
GitHub Changelog Generator -- для тех, кому лень руками писать changelog. Если честно, мне лень. Так что в будущих проектах обязательно планирую использовать эту штуку. Сами взгляните, выглядит красиво.

#cli #tools #versioning
notifiers -- удобный единый интерфейс для отправки нотификаций куда угодно: telegram, slack, pushover, email и т.д. Можно использовать напрямую, через logging или CLI. В общем, одна из тех чудесный универсальных вещей, которые делают наш код гораздо проще.

#python #libs #logging #cli
Продолжаем посты про мои любимые инструменты. Сегодня в эфире glances -- этакий htop для хипстеров. Красивый, удобный, информативный, с кучей плагинов для экспорта данных. А ещё есть ущербный, но юзабельный web-интерфейс, чтобы мониторить сервер с кофеварки. К слову о кофеварках, ставится он даже на Android.

#cli #htop #monitoring
+ jqCLI JSON processor written on С. Allows to extract data from JSON, modify it, supports math, variables, regexes, even has a lot of built-in functions. Installable from Debian repositories.

+ jqplay.org — online playground for jq. Great to try it, debug expressions, have a handy cheat sheet.

+ gjson — must-have Go library to get values from a complex deeply nested JSON. Has a simple and intuitive syntax.

+ jjCLI tool written on Go, wrapper around gjson. Hence less powerful than jq but much simpler and more friendly.

#golang #cli
no-color.org is a small initiative to motivate software to use one standartized way to disable colored output. In particular, it says "Please, disable color when NO_COLOR env var is set". So, please, when you'll make a new CLI tool, add support for NO_COLOR. And I promise to do the same.

#cli
Ah jira, here we go again... I joined a new team, and there is Jira for tracking tasks. So, let's re-learn how to survive.

🐚 go-jira is a CLI client for Jira. It can do a lot: browse, search, create, manage, assign tasks.

🐚 micro is like nano but a bit bigger. It is a CLI text editor with friendly hotkeys and interface. I haven't used to vim, and work with go-jira is a bit faster if you edit the text without leaving the terminal. Of course, you can just use gedit/pluma/vscode as your $EDITOR.

#cli
🐚 tldr is a quite famous and big collection of human-friendly documentation for different CLI tools (not only Linux). It provides a website with search and lots of CLI clients on different languages, just pick which one you like more.

#cli
🐚 scc is amazingly fast CLI tool to count lines of code in the project. The results are grouped by language, include comments count, approximately calculates code complexity. It lost some files in one of the projects i tested it on but so.

#cli
🔧 croc is a tool to transfer files between machines. Fast, simple, powerful, peer-to-peer, no need for local network. 🔥!

#cli
🔧 onefetch is a little tool to show some basic stats about a git repo: authors (and percent of code contributed), commits, lines of code, languages, size. And that's it, really. Not much, but it's quite easy to install and quick to run (Rust at its best), unlike some other alternatives I tried before.

#cli
🔧 d2 is a CLI tool (written on Go) for generating diagrams from a text definition of what is related to what and how. If you know what is PlantUML, MermaidJS, or GraphViz, it's the same, but a bit friendlier. For example:

block1 -> block2: text on arrow
block2 -> block3
block4

If you want more examples, the authors maintain a text-to-diagram.com website that compares D2 to similar tools.

I tried it for a few projects, and that's what I'm going to use from now on for all diagrams. It's easy to install, has a nice syntax, and gives quite a nice output. There is no way to apply a custom style to group of elements (like class in CSS), but other than that it's fine. When you need custom colors or something, you still can do it on per-element basis.

#cli