-
Notifications
You must be signed in to change notification settings - Fork 1
/
install.sh
62 lines (56 loc) · 2.41 KB
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/bin/sh
#####################################################################################
# #
# * Description : #
# This is the installation script for the script #
# fingerprint.pl which install all the requirements needed #
# to use it . #
# #
# #
# * Date : 04.05.2018 #
# #
# * Author : #
# #
# * NOTES : #
# - This File Was Generated Automatically And May Contains Bugs #
# #
# #
#####################################################################################
BASE=$(pwd)
PKG_MANAGER=""
PKG_DEV="devel"
if [ -e "/bin/dnf" ] ; then
PKG_MANAGER="dnf"
else
if [ -e "/bin/apt" ] ; then
PKG_MANAGER="apt-get"
PKG_DEV="dev"
fi
fi
echo "[*] Using Package Manager : $PKG_MANAGER"
echo "[*] Installing Depencies"
sudo $PKG_MANAGER install -y perl perl-$PKG_DEV
echo "[*] Installing Perl Dependencies ..."
cpan -f -T -i Getopt::Long
cpan -f -T -i DateTime
cpan -f -T -i URI::URL
cpan -f -T -i HTTP::Request
cpan -f -T -i HTTP::Cookies
cpan -f -T -i HTTP::Proxy
cpan -f -T -i HTTP::Daemon
cpan -f -T -i Time::HiRes
cpan -f -T -i Term::ANSIColor
cpan -f -T -i Data::Dump
cpan -f -T -i Data::Validate::URI
cpan -f -T -i LWP::UserAgent
cpan -f -T -i LWP::Protocol::http
cpan -f -T -i LWP::Protocol::https
cpan -f -T -i MIME::Base32
cpan -f -T -i MIME::Base64
cpan -f -T -i HTML::Entities
cpan -f -T -i HTTP::Response
cpan -f -T -i Scalar::Util
cpan -f -T -i Digest::MD5
cpan -f -T -i JSON
cpan -f -T -i JSON::Parse
echo "[+] Done."