From 0c98fe248309f9207f5b4e5a2b422a9223ab0c0e Mon Sep 17 00:00:00 2001 From: Harvie Date: Sun, 30 May 2010 15:08:09 +0200 Subject: [PATCH] Added script which should be able to change banner in sshd binary one day... --- bash/ssh-banner.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 bash/ssh-banner.sh diff --git a/bash/ssh-banner.sh b/bash/ssh-banner.sh new file mode 100644 index 0000000..0220573 --- /dev/null +++ b/bash/ssh-banner.sh @@ -0,0 +1,2 @@ +#!/bin/bash +strings /usr/sbin/sshd | tr , '\n' | egrep 'OpenSSH[-_][0-9](\.[0-9])*(p[0-9])?$' | head -n 1 -- 2.30.2