Skip to content

Commit

Permalink
update manpages
Browse files Browse the repository at this point in the history
update GPL notice
update version & copyright date
  • Loading branch information
patrick-g2 committed Jan 24, 2021
1 parent 96b9ed4 commit 8d50822
Show file tree
Hide file tree
Showing 22 changed files with 90 additions and 14 deletions.
7 changes: 7 additions & 0 deletions changelog
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@

unhide-tcp.h
- Add definition of boolean values.

manpages
- Add new options -u and -H

All files
- Update GPL notive as per the recommendations of the FSF
- Update versions and copyright dates

2020-01
unhide-output.c
Expand Down
10 changes: 9 additions & 1 deletion man/es/unhide.8
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "UNHIDE" "8" "Marzo 2012" "Comandos de administración" ""
.TH "UNHIDE" "8" "Enero 2021" "Comandos de administración" ""
.SH "NOMBRE"
unhide \(em Herramienta forense para descubrir procesos ocultos
.SH "SINOPSIS"
Expand Down Expand Up @@ -36,6 +36,14 @@ Muestra la versión y sale
.TP
\fB\-v\fR
Fuerza la salida debug con los mensajes de error (se puede repetir varias veces \-vv)
.TP
\fB\-u\fR
Realiza envíos sin buffer a la salida estándar.
Esta opción puede ser útil cuando unhide es iniciado por otro proceso (por ejemplo, es utilizado por unhideGui).
.TP
\fB\-H\fR
Proporcionar un resultado un poco más humano.
Esta opción añade mensajes finales a las pruebas e indica cuando no se encuentran procesos ocultos.
.PP
.PP
.SH "TEST_LIST"
Expand Down
10 changes: 9 additions & 1 deletion man/fr/unhide.8
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "unhide" "8" "Mars 2012" "Commandes d'administration"
.TH "unhide" "8" "Janvier 2021" "Commandes d'administration"
.SH "NOM"
unhide \(em outil d'investigation post\-mortem pour trouver des processus cachés
.SH "SYNOPSIS"
Expand Down Expand Up @@ -40,6 +40,14 @@ Affiche la version et sort.
\fB \-v\fR
Affichage prolixe, affiche les message d'avertissement (par défaut : ne pas afficher).
Cette option peut être répétée plus d'une fois.
.TP
\fB\-u\fR
Fait des écritures sans tampon (buffer) vers la sortie standard.
Cette option peut être utile lorsque unhide est lancé par un autre processus (par exemple, elle est utilisé par unhideGui).
.TP
\fB\-H\fR
Fournir un résultat légèrement plus adapté à l'humain.
Cette option ajoute des messages de fin aux tests et indique quand aucun processus caché n'est trouvé.
.PP
.PP
.SH "TEST_LIST"
Expand Down
10 changes: 9 additions & 1 deletion man/unhide.8
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "UNHIDE" "8" "March 2012" "Administration commands"
.TH "UNHIDE" "8" "January 2021" "Administration commands"
.SH "NAME"
unhide \(em forensic tool to find hidden processes
.SH "SYNOPSIS"
Expand Down Expand Up @@ -40,6 +40,14 @@ Show version and exit
\fB\-v\fR
Be verbose, display warning message (default : don't display).
This option may be repeated more than once.
.TP
\fB\-u\fR
Do unbuffered write to stdout.
This option could be useful when unhide is spawned by another process (e.g. it's used by unhideGui).
.TP
\fB\-H\fR
Provide a slightly human frienlier output.
This option adds ending messages to tests and indicates when no hidden process is found.
.PP
.PP
.SH "TEST_LIST"
Expand Down
2 changes: 1 addition & 1 deletion sanity-tcp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# sanity.sh -- a growing testsuite for unhide-tcp.
#
# Copyright (C) 2010 Patrick Gouin.
# Copyright (C) 2010-2021 Patrick Gouin.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion sanity.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# sanity.sh -- a growing testsuite for unhide.
#
# Copyright (C) 2010 Patrick Gouin.
# Copyright (C) 2010-2021 Patrick Gouin.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
17 changes: 17 additions & 0 deletions ss
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
#!/bin/sh

# Copyright (C) 2010-2021 Patrick Gouin.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Original Author: Patrick Gouin

set -e

# echo "Le 1er paramètre est : $1" >&2
Expand Down
2 changes: 1 addition & 1 deletion ss-ref
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# sanity.sh -- a growing testsuite for unhide.
#
# Copyright (C) 2010 Patrick Gouin.
# Copyright (C) 2010-2021 Patrick Gouin.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 2 additions & 0 deletions unhide-linux-bruteforce.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/

/*
Copyright © 2010-2021 Yago Jesus & Patrick Gouin
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions unhide-linux-compound.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/

/*
Copyright © 2010-2021 Yago Jesus & Patrick Gouin
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions unhide-linux-procfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/

/*
Copyright © 2010-2021 Yago Jesus & Patrick Gouin
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions unhide-linux-syscall.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/

/*
Copyright © 2010-2021 Yago Jesus & Patrick Gouin
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
Expand Down
6 changes: 4 additions & 2 deletions unhide-linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/

/*
Copyright © 2010-2021 Yago Jesus & Patrick Gouin
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
Expand Down Expand Up @@ -49,8 +51,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

// header
const char header[] =
"Unhide 20210123\n"
"Copyright © 2013 Yago Jesus & Patrick Gouin\n"
"Unhide 20210124\n"
"Copyright © 2010-2021 Yago Jesus & Patrick Gouin\n"
"License GPLv3+ : GNU GPL version 3 or later\n"
"http://www.unhide-forensics.info\n\n"
"NOTE : This version of unhide is for systems using Linux >= 2.6 \n\n";
Expand Down
2 changes: 2 additions & 0 deletions unhide-linux.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/

/*
Copyright © 2010-2021 Yago Jesus & Patrick Gouin
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions unhide-output.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/

/*
Copyright © 2010-2021 Yago Jesus & Patrick Gouin
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions unhide-output.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/

/*
Copyright © 2010-2021 Yago Jesus & Patrick Gouin
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
Expand Down
6 changes: 4 additions & 2 deletions unhide-posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/

/*
Copyright © 2010-2021 Yago Jesus & Patrick Gouin
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
Expand Down Expand Up @@ -217,8 +219,8 @@ void checkgetsid() {

int main (int argc, char *argv[]) {

strncpy(scratch,"Unhide-posix 20130526\n", sizeof(scratch)-1) ;
strncat(scratch, "Copyright © 2013 Yago Jesus & Patrick Gouin\n", sizeof(scratch)-strlen(scratch)-1);
strncpy(scratch,"Unhide-posix 20210124\n", sizeof(scratch)-1) ;
strncat(scratch, "Copyright © 2013-2021 Yago Jesus & Patrick Gouin\n", sizeof(scratch)-strlen(scratch)-1);
strncat(scratch, "License GPLv3+ : GNU GPL version 3 or later\n", sizeof(scratch)-strlen(scratch)-1);
strncat(scratch, "http://www.unhide-forensics.info\n\n", sizeof(scratch)-strlen(scratch)-1);
strncat(scratch, "NOTE : This is legacy version of unhide, it is intended\n\
Expand Down
2 changes: 2 additions & 0 deletions unhide-tcp-fast.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/

/*
Copyright © 2010-2021 Yago Jesus & Patrick Gouin
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
Expand Down
6 changes: 4 additions & 2 deletions unhide-tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/

/*
Copyright © 2010-2021 Yago Jesus & Patrick Gouin
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
Expand Down Expand Up @@ -36,8 +38,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

// header
const char header[] =
"Unhide-tcp 20210123\n"
"Copyright © 2013 Yago Jesus & Patrick Gouin\n"
"Unhide-tcp 20210124\n"
"Copyright © 2013-2021 Yago Jesus & Patrick Gouin\n"
"License GPLv3+ : GNU GPL version 3 or later\n"
"http://www.unhide-forensics.info\n";

Expand Down
2 changes: 2 additions & 0 deletions unhide-tcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/

/*
Copyright © 2010-2021 Yago Jesus & Patrick Gouin
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions unhideGui.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/python3

"""
Copyright © 2010-2021 Patrick Gouin
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
Expand Down
6 changes: 4 additions & 2 deletions unhide_rb.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/

/*
Copyright © 2010-2021 Yago Jesus & Patrick Gouin
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
Expand Down Expand Up @@ -500,9 +502,9 @@ int main (int argc, char *argv[])
int found_something = FALSE ;
int phase1_ko = FALSE ;

strncpy(scratch,"Unhide_rb 20130526\n", sizeof(scratch)-1) ;
strncpy(scratch,"Unhide_rb 20210124\n", sizeof(scratch)-1) ;

strncat(scratch, "Copyright © 2013 Yago Jesus & Patrick Gouin\n", sizeof(scratch)-strlen(scratch)-1);
strncat(scratch, "Copyright © 2013-2021 Yago Jesus & Patrick Gouin\n", sizeof(scratch)-strlen(scratch)-1);
strncat(scratch, "License GPLv3+ : GNU GPL version 3 or later\n", sizeof(scratch)-strlen(scratch)-1);
strncat(scratch, "http://www.unhide-forensics.info\n\n", sizeof(scratch)-strlen(scratch)-1);
strncat(scratch, "NOTE : This version of unhide_rb is for systems using Linux >= 2.6 \n\n", sizeof(scratch)-strlen(scratch)-1);
Expand Down

0 comments on commit 8d50822

Please sign in to comment.