-
Notifications
You must be signed in to change notification settings - Fork 0
/
arxis-pentester.spec
54 lines (41 loc) · 1.88 KB
/
arxis-pentester.spec
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
Name: arxis-pentester
Version: 1.0.1.5
Release: 1%{?dist}
Summary: Identify vulnerable open ports on a network.
License: GPLv3+
URL: https://github.com/BradHeff/Arxis-Pentester
Source0: %{name}-%{version}.tar.gz
BuildRequires: python3
Requires: python3, python3-tkinter, python3-pillow-tk, python3-pip
%description
The application helps identify vulnerable open ports on a network, providing insights into potential security risks.
%install
mkdir -p %{buildroot}/usr/local/bin/
mkdir -p %{buildroot}/usr/lib/arxis-pentester/
mkdir -p %{buildroot}/usr/share/pixmaps/
mkdir -p %{buildroot}/usr/share/applications/
cp %{_topdir}/BUILD/APT/arxis-pentester %{buildroot}/usr/local/bin/arxis-pentester
cp %{_topdir}/BUILD/APT/Arxis-Pentest-Tool.desktop %{buildroot}/usr/share/applications/Arxis-Pentest-Tool.desktop
cp %{_topdir}/BUILD/APT/Arxis.png %{buildroot}/usr/share/pixmaps/Arxis.png
cp %{_topdir}/BUILD/APT/Functions.py %{buildroot}/usr/lib/arxis-pentester/Functions.py
cp %{_topdir}/BUILD/APT/Gui.py %{buildroot}/usr/lib/arxis-pentester/Gui.py
cp %{_topdir}/BUILD/APT/main.py %{buildroot}/usr/lib/arxis-pentester/main.py
%post
pip3 install --user ipaddress asyncio numpy ttkbootstrap pillow logging tkthread aiodns dnspython flask git+https://github.com/psf/black
chmod +x /usr/local/bin/arxis-pentester
# Set system-wide file descriptor limit
echo "* soft nofile 65535" >> /etc/security/limits.conf
echo "* hard nofile 65535" >> /etc/security/limits.conf
echo "DefaultLimitNOFILE=65535" >> /etc/systemd/system.conf
# Reload systemd to apply the changes
systemctl daemon-reexec
%files
/usr/local/bin/arxis-pentester
/usr/lib/arxis-pentester/Functions.py
/usr/lib/arxis-pentester/Gui.py
/usr/lib/arxis-pentester/main.py
/usr/share/applications/Arxis-Pentest-Tool.desktop
/usr/share/pixmaps/Arxis.png
%changelog
* Sun Dec 1 2024 Brad Heffernan <[email protected]>
-