Skip to content

Commit 5c029c6

Browse files
committed
remove author name from output
1 parent e22ce50 commit 5c029c6

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

src/config.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#define VERSION "0.1.0"
2-
#define AUTHOR "Daniel Roberson"
1+
#define VERSION "0.1.1"
32

43
#define LOGFILE "ssh-honeypot.log" /* default log location */
54
#define PIDFILE "ssh-honeypot.pid" /* default pid file location */

src/ssh-honeypot.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const size_t num_banners = sizeof banners / sizeof *banners;
7676
/* usage() -- prints out usage instructions and exits the program
7777
*/
7878
static void usage (const char *progname) {
79-
fprintf (stderr, "ssh-honeypot %s by %s\n\n", VERSION, AUTHOR);
79+
fprintf (stderr, "ssh-honeypot %s\n\n", VERSION);
8080

8181
fprintf (stderr, "usage: %s "
8282
"[-?h -p <port> -a <address> -b <index> -l <file> -r <file> "
@@ -593,16 +593,14 @@ int main (int argc, char *argv[]) {
593593
exit (EXIT_SUCCESS);
594594
}
595595

596-
printf ("ssh-honeypot %s by %s started on port %d. PID %d\n",
596+
printf ("ssh-honeypot %s started on port %d. PID %d\n",
597597
VERSION,
598-
AUTHOR,
599598
port,
600599
getpid());
601600
}
602601

603-
log_entry ("ssh-honeypot %s by %s started on port %d. PID %d",
602+
log_entry ("ssh-honeypot %s started on port %d. PID %d",
604603
VERSION,
605-
AUTHOR,
606604
port,
607605
getpid());
608606

0 commit comments

Comments
 (0)