Added script which should be able to change banner in sshd binary one day...
authorHarvie <tomas@mudrunka.cz>
Sun, 30 May 2010 13:08:09 +0000 (15:08 +0200)
committerHarvie <tomas@mudrunka.cz>
Sun, 30 May 2010 13:08:09 +0000 (15:08 +0200)
bash/ssh-banner.sh [new file with mode: 0644]

diff --git a/bash/ssh-banner.sh b/bash/ssh-banner.sh
new file mode 100644 (file)
index 0000000..0220573
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/bash
+strings /usr/sbin/sshd | tr , '\n' | egrep 'OpenSSH[-_][0-9](\.[0-9])*(p[0-9])?$' | head -n 1
This page took 0.135032 seconds and 4 git commands to generate.