GIT.Harvie.CZ
/
mirrors
/
Programs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db4042d
)
Added script which should be able to change banner in sshd binary one day...
author
Harvie
<tomas@mudrunka.cz>
Sun, 30 May 2010 13:08:09 +0000
(15:08 +0200)
committer
Harvie
<tomas@mudrunka.cz>
Sun, 30 May 2010 13:08:09 +0000
(15:08 +0200)
bash/ssh-banner.sh
[new file with mode: 0644]
patch
|
blob
diff --git a/bash/ssh-banner.sh
b/bash/ssh-banner.sh
new file mode 100644
(file)
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
This page took
0.111605 seconds
and
4
git commands to generate.