-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathinstall.sh
21 lines (21 loc) · 1.25 KB
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
if [ -f /usr/bin/apt ]; then apt update && apt install zlib1g-dev cmake x11-xserver-utils freerdp2* libfreerdp* masscan libpcap-dev libssl-dev build-essential git-core debhelper cdbs dpkg-dev autotools-dev cmake pkg-config xmlto libssl-dev docbook-xsl xsltproc libxkbfile-dev libx11-dev libwayland-dev libxrandr-dev libxi-dev libxrender-dev libxext-dev libxinerama-dev libxfixes-dev libxcursor-dev libxv-dev libxdamage-dev libxtst-dev libcups2-dev libpcsclite-dev libasound2-dev libpulse-dev libjpeg-dev libgsm1-dev libusb-1.0-0-dev libudev-dev libdbus-glib-1-dev uuid-dev libxml2-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libfaad-dev -y; else yum install *freerdp* openssl-devel epel-release -y && yum groupinstall 'Development Tools' -y && yum install masscan -y; fi;
git clone https://github.com/FreeRDP/FreeRDP.git;
cd FreeRDP;
ldconfig;
cmake .;
make -j8;
make install;
cd ..;
git clone https://github.com/vanhauser-thc/thc-hydra.git;
cd thc-hydra;
./configure && make -j8 && make install;
cp -r ./hydra /usr/bin/hydra;
cd ..;
cd rdpcrack;
chmod +x crackrdp;
echo "cat hydra.log | grep login:;" >listlogins.sh
chmod +x listlogins.sh;
ldconfig;
echo "installation done now type in terminal:";
echo "cd rdpcrack";
echo "./crackrdp 24.100.0.0-24.100.255.255";