downgrade to Mono 4.2.1.102 and NetworkMiner 2.4

This commit is contained in:
Doug Burks
2020-09-04 10:12:28 -04:00
committed by GitHub
parent c050003b5a
commit f8e68c82e4

View File

@@ -39,23 +39,21 @@ if ! grep -q "NetworkMiner has a compatibility issue with Mono 6 right now" /etc
cat << EOF >> /etc/yum/pluginconf.d/versionlock.list cat << EOF >> /etc/yum/pluginconf.d/versionlock.list
# NetworkMiner has a compatibility issue with Mono 6 right now # NetworkMiner has a compatibility issue with Mono 6 right now
0:libmono-llvm0-5.20.1.34-0.xamarin.2.epel7.* 0:mono-complete-4.2.1.102-0.xamarin.1.*
0:mono-complete-5.20.1.34-0.xamarin.2.epel7.* 0:mono-core-4.2.1.102-0.xamarin.1.*
0:mono-core-5.20.1.34-0.xamarin.2.epel7.* 0:mono-data-4.2.1.102-0.xamarin.1.*
0:mono-data-5.20.1.34-0.xamarin.2.epel7.* 0:mono-data-oracle-4.2.1.102-0.xamarin.1.*
0:mono-data-oracle-5.20.1.34-0.xamarin.2.epel7.* 0:mono-data-sqlite-4.2.1.102-0.xamarin.1.*
0:mono-data-sqlite-5.20.1.34-0.xamarin.2.epel7.* 0:mono-devel-4.2.1.102-0.xamarin.1.*
0:mono-devel-5.20.1.34-0.xamarin.2.epel7.* 0:mono-extras-4.2.1.102-0.xamarin.1.*
0:mono-extras-5.20.1.34-0.xamarin.2.epel7.* 0:mono-locale-extras-4.2.1.102-0.xamarin.1.*
0:mono-locale-extras-5.20.1.34-0.xamarin.2.epel7.* 0:mono-mvc-4.2.1.102-0.xamarin.1.*
0:mono-mvc-5.20.1.34-0.xamarin.2.epel7.* 0:mono-nunit-4.2.1.102-0.xamarin.1.*
0:mono-nunit-5.20.1.34-0.xamarin.2.epel7.* 0:mono-reactive-4.2.1.102-0.xamarin.1.*
0:mono-reactive-5.20.1.34-0.xamarin.2.epel7.* 0:mono-wcf-4.2.1.102-0.xamarin.1.*
0:mono-wcf-5.20.1.34-0.xamarin.2.epel7.* 0:mono-web-4.2.1.102-0.xamarin.1.*
0:mono-web-5.20.1.34-0.xamarin.2.epel7.* 0:mono-winforms-4.2.1.102-0.xamarin.1.*
0:mono-winforms-5.20.1.34-0.xamarin.2.epel7.* 0:mono-winfxcore-4.2.1.102-0.xamarin.1.*
0:mono-winfxcore-5.20.1.34-0.xamarin.2.epel7.*
0:monodoc-core-5.20.1.34-0.xamarin.2.epel7.*
EOF EOF
fi fi
@@ -63,11 +61,11 @@ fi
# Install Mono - prereq for NetworkMiner # Install Mono - prereq for NetworkMiner
rpmkeys --import "http://pool.sks-keyservers.net/pks/lookup?op=get&search=0x3fa7e0328081bff6a14da29aa6a19b38d3d831ef"; rpmkeys --import "http://pool.sks-keyservers.net/pks/lookup?op=get&search=0x3fa7e0328081bff6a14da29aa6a19b38d3d831ef";
curl https://download.mono-project.com/repo/centos7-stable.repo | tee /etc/yum.repos.d/mono-centos7-stable.repo; curl https://download.mono-project.com/repo/centos7-stable.repo | tee /etc/yum.repos.d/mono-centos7-stable.repo;
yum -y install mono-devel; yum -y install mono-core mono-basic mono-winforms expect
# Install NetworkMiner # Install NetworkMiner
yum -y install libcanberra-gtk2; yum -y install libcanberra-gtk2;
wget https://www.netresec.com/?download=NetworkMiner -O /tmp/nm.zip; wget https://www.netresec.com/?download=NetworkMiner_2-4 -O /tmp/nm.zip;
mkdir -p /opt/networkminer/ mkdir -p /opt/networkminer/
unzip /tmp/nm.zip -d /opt/networkminer/; unzip /tmp/nm.zip -d /opt/networkminer/;
rm /tmp/nm.zip; rm /tmp/nm.zip;