Last active
March 16, 2022 22:48
-
-
Save EStepiuk/4ff3d37c7945bf1426626ec8df9f93c0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Лончит тмукс со скриптом (по ссылке текстовый файл с таргетами через \n) | |
# и топом (диспетчер) | |
# Тмукс дает возможность скриту прододжать работать даже если отвалится ssh | |
# + к нему можно переатачится после реконнекта: | |
# находим id сессии: tmux ls | |
# атачимся: tmux attach-session -t $session_id | |
# шпаргалка по хоткеям: https://gist.github.com/MohamedAlaa/2961058 | |
tmux new-session 'python3 runner.py -t 100 --debug -c https://pastebin.com/raw/yBbeLVMS' \; split-window -v 'top' \; attach |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment