diff options
-rw-r--r-- | system/unhide/fix-man.diff | 90 | ||||
-rw-r--r-- | system/unhide/fixgui.diff | 55 | ||||
-rw-r--r-- | system/unhide/unhide.SlackBuild | 7 | ||||
-rw-r--r-- | system/unhide/unhide.info | 6 |
4 files changed, 41 insertions, 117 deletions
diff --git a/system/unhide/fix-man.diff b/system/unhide/fix-man.diff deleted file mode 100644 index 74e2793137..0000000000 --- a/system/unhide/fix-man.diff +++ /dev/null @@ -1,90 +0,0 @@ -Description: fix formatting error and typos in the manpages -Author: Julien Valroff <julien@debian.org> - Giovani Augusto Ferreira <giovani@riseup.net> - Samuel Henrique <samueloph@debian.org> - Fukui Daichi <a.dog.will.talk@akane.waseda.jp> -Last-Updated: 2022-8-31 -diff --git a/man/fr/unhide.8 b/man/fr/unhide.8 -index 5c06ffa..483c4a2 100644 ---- a/man/fr/unhide.8 -+++ b/man/fr/unhide.8 -@@ -222,7 +222,7 @@ Test standard : - unhide sys proc - .TP - Test le plus complet : --unhide -m -d sys procall brute reverse -+unhide \-m \-d sys procall brute reverse - .SH "BUGS" - .PP - Rapportez les bugs de \fBunhide\fR sur le bug tracker de GitHub (https://github.com/YJesus/Unhide/issues) -diff --git a/man/unhide-tcp.8 b/man/unhide-tcp.8 -index 46ae799..05be2e5 100644 ---- a/man/unhide-tcp.8 -+++ b/man/unhide-tcp.8 -@@ -18,35 +18,35 @@ given on the command line. - .PP - .SH "OPTIONS" - .TP --\fB\-h --help\fR -+\fB\-h -\-help\fR - Display help - .TP --\fB\--brief\fR -+\fB\-\-brief\fR - Don't display warning messages, that's the default behavior. - .TP --\fB\-f --fuser\fR -+\fB\-f -\-fuser\fR - Display fuser output (if available) for the hidden port - On FreeBSD, instead of fuser command, displays the output of the sockstat command for the hidden port. - .TP --\fB\-l --lsof\fR -+\fB\-l -\-lsof\fR - Display lsof output (if available) for the hidden port - .TP --\fB\-n --netstat\fR -+\fB\-n -\-netstat\fR - Use /bin/netstat instead of /sbin/ss. On system with many opened ports, this can - slow down the test dramatically. - .TP --\fB\-s --server\fR -+\fB\-s -\-server\fR - Use a very quick strategy of scanning. On system with a lot of opened ports, - it is hundreds times faster than ss method and ten thousands times faster than - netstat method. - .TP --\fB\-o --log\fR -+\fB\-o -\-log\fR - Write a log file (unhide-tcp-AAAA-MM-DD.log) in the current directory. - .TP --\fB\-V --version\fR -+\fB\-V -\-version\fR - Show version and exit - .TP --\fB\-v --verbose\fR -+\fB\-v -\-verbose\fR - Be verbose, display warning message (default : don't display). - This option may be repeated more than once. - .PP -diff --git a/man/unhide.8 b/man/unhide.8 -index c4d8c1f..e263de5 100644 ---- a/man/unhide.8 -+++ b/man/unhide.8 -@@ -29,7 +29,7 @@ Display help - Do more checks. As of 2012\-03\-17 version, this option has only - effect for the procfs, procall, checkopendir and checkchdir tests. - .br --Implies -v -+Implies \-v - .TP - \fB\-r\fR - Use alternate version of sysinfo check in standard tests -@@ -224,7 +224,7 @@ Standard test: - unhide sys proc - .TP - Deeper test: --unhide -m -d sys procall brute reverse -+unhide \-m \-d sys procall brute reverse - .SH "BUGS" - .PP - Report \fBunhide\fR bugs on the bug tracker on GitHub (https://github.com/YJesus/Unhide/issues) diff --git a/system/unhide/fixgui.diff b/system/unhide/fixgui.diff index 090eda948e..0e9500b16a 100644 --- a/system/unhide/fixgui.diff +++ b/system/unhide/fixgui.diff @@ -1,21 +1,14 @@ -diff -Naur Unhide-20220611/unhideGui.py Unhide-20220611.patched/unhideGui.py ---- Unhide-20220611/unhideGui.py 2022-06-11 05:30:24.000000000 -0400 -+++ Unhide-20220611.patched/unhideGui.py 2023-08-03 17:03:50.945488351 -0400 -@@ -1,4 +1,4 @@ +diff -Naur Unhide-20240510/unhideGui.py Unhide-20240510.patched/unhideGui.py +--- Unhide-20240510/unhideGui.py 2024-12-11 09:33:11.000000000 -0500 ++++ Unhide-20240510.patched/unhideGui.py 2025-06-14 17:58:49.115052346 -0400 +@@ -1,5 +1,4 @@ -#!/bin/python3 -+#!/usr/bin/env python3 +-# #!/usr/bin/python3 ++#!/usr/bin/python3 """ - Copyright © 2020-2022 Patrick Gouin -@@ -19,13 +19,15 @@ - """ - __author__ = "Patrick Gouin" - __copyright__ = "Copyright 2020-2022, Patrick Gouin" --__credits__ = [daichifukui] -+__credits__ = "daichifukui" - __license__ = "GPL V3" - __version__ = "1.1" - __maintainer__ = "Patrick Gouin" + Copyright © 2020-2024 Patrick Gouin +@@ -27,6 +26,8 @@ __email__ = "patrickg.github@free.fr" __status__ = "Production" @@ -24,21 +17,45 @@ diff -Naur Unhide-20220611/unhideGui.py Unhide-20220611.patched/unhideGui.py from tkinter import * from tkinter.ttk import * -@@ -187,7 +189,7 @@ +@@ -191,7 +192,7 @@ def GenCmd() : -- Cmd = './unhide-linux ' +- Cmd = unhPath + Cmd = '/usr/sbin/unhide-linux ' idx = 0 for opt in OptionBut : if opt[VARB].get() == '1' : -@@ -209,7 +211,7 @@ +@@ -213,7 +214,7 @@ CmdText.config(width = len(Cmd)) def GenTcpCmd() : -- Cmd = './unhide-tcp ' +- Cmd = unhtcpPath + Cmd = '/usr/sbin/unhide-tcp ' idx = 0 for opt in TcpOptionBut : if opt[VARB].get() == '1' : +@@ -460,23 +461,6 @@ + screen_height = root.winfo_screenheight() + root.geometry('+%d+%d' % (screen_width/3, screen_height/3)) + +-# look for unhide path +-# we prefer the local version +-if os.path.exists("./unhide-linux") : +- unhPath = "./unhide-linux " +-elif os.path.exists("./sbin/unhide-linux") : +- unhPath = "./sbin/unhide-linux " +-else : +- unhPath = "./usr/sbin/unhide-linux " +- +-if os.path.exists("./unhide-tcp") : +- unhtcpPath = "./unhide-tcp " +-elif os.path.exists("./sbin/unhide-tcp") : +- unhtcpPath = "./sbin/unhide-tcp " +-else : +- unhtcpPath = "./usr/sbin/unhide-tcp " +- +- + root.update() + + root.mainloop() diff --git a/system/unhide/unhide.SlackBuild b/system/unhide/unhide.SlackBuild index 25e1372c6f..e766897c9d 100644 --- a/system/unhide/unhide.SlackBuild +++ b/system/unhide/unhide.SlackBuild @@ -7,6 +7,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20250614 bkw: update for v20240510. # 20230804 bkw: # - take over maintenance. # - relicense as WTFPL with permission from Rubén (via mailing list). @@ -20,7 +21,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=unhide SRCNAM=Unhide -VERSION=${VERSION:-20220611} +VERSION=${VERSION:-20240510} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -67,10 +68,6 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ # Fix the GUI. Patch by SlackBuild maintainer. patch -p1 < $CWD/fixgui.diff -# Fix typos and formatting errors in man pages, from Debian: -# https://packages.debian.org/sid/unhide -patch -p1 < $CWD/fix-man.diff - # No Makefile or anything, commands come from README.txt: GCC="gcc $SLKCFLAGS -Wall --static" $GCC -pthread unhide-linux*.c unhide-output.c -o unhide-linux diff --git a/system/unhide/unhide.info b/system/unhide/unhide.info index c9c1968c64..b63f04a240 100644 --- a/system/unhide/unhide.info +++ b/system/unhide/unhide.info @@ -1,8 +1,8 @@ PRGNAM="unhide" -VERSION="20220611" +VERSION="20240510" HOMEPAGE="http://www.unhide-forensics.info" -DOWNLOAD="https://github.com/YJesus/Unhide/archive/v20220611/Unhide-20220611.tar.gz" -MD5SUM="cb0fc465ef26e907ba2166551dc27369" +DOWNLOAD="https://github.com/YJesus/Unhide/archive/v20240510/Unhide-20240510.tar.gz" +MD5SUM="533a3701a631ada3b677a04bc9bd3a7f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |