Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Debian 7.5 #114

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
450,291 changes: 272,662 additions & 177,629 deletions fs.pickle

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions honeyfs/etc/group
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ kmem:x:15:
dialout:x:20:
fax:x:21:
voice:x:22:
cdrom:x:24:richard
floppy:x:25:richard
cdrom:x:24:
floppy:x:25:
tape:x:26:
sudo:x:27:
audio:x:29:richard
dip:x:30:richard
audio:x:29:
dip:x:30:
www-data:x:33:
backup:x:34:
operator:x:37:
Expand All @@ -30,15 +30,15 @@ src:x:40:
gnats:x:41:
shadow:x:42:
utmp:x:43:
video:x:44:richard
video:x:44:
sasl:x:45:
plugdev:x:46:richard
plugdev:x:46:
staff:x:50:
games:x:60:
users:x:100:
nogroup:x:65534:
libuuid:x:101:
crontab:x:102:
vboxsf:x:103:
ssh:x:104:
richard:x:1000:
Debian-exim:x:103:
mlocate:x:104:
ssh:x:105:
3 changes: 1 addition & 2 deletions honeyfs/etc/issue
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
Debian GNU/Linux 7.0 \n \l

Debian GNU/Linux 7 \n \l
9 changes: 9 additions & 0 deletions honeyfs/etc/os-release
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
NAME="Debian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support/"
BUG_REPORT_URL="http://bugs.debian.org/"
5 changes: 3 additions & 2 deletions honeyfs/etc/passwd
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ irc:x:39:39:ircd:/var/run/ircd:/bin/sh
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
libuuid:x:100:101::/var/lib/libuuid:/bin/sh
sshd:x:101:65534::/var/run/sshd:/usr/sbin/nologin
richard:x:1000:1000:Richard Texas,,,:/home/richard:/bin/bash
Debian-exim:x:101:103::/var/spool/exim4:/bin/false
statd:x:102:65534::/var/lib/nfs:/bin/false
sshd:x:103:65534::/var/run/sshd:/usr/sbin/nologin
43 changes: 22 additions & 21 deletions honeyfs/etc/shadow
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
root:$6$4aOmWdpJ$/kyPOik9rR0kSLyABIYNXgg/UqlWX3c1eIaovOLWphShTGXmuUAMq6iu9DrcQqlVUw3Pirizns4u27w3Ugvb6.:15800:0:99999:7:::
daemon:*:15800:0:99999:7:::
bin:*:15800:0:99999:7:::
sys:*:15800:0:99999:7:::
sync:*:15800:0:99999:7:::
games:*:15800:0:99999:7:::
man:*:15800:0:99999:7:::
lp:*:15800:0:99999:7:::
mail:*:15800:0:99999:7:::
news:*:15800:0:99999:7:::
uucp:*:15800:0:99999:7:::
proxy:*:15800:0:99999:7:::
www-data:*:15800:0:99999:7:::
backup:*:15800:0:99999:7:::
list:*:15800:0:99999:7:::
irc:*:15800:0:99999:7:::
gnats:*:15800:0:99999:7:::
nobody:*:15800:0:99999:7:::
libuuid:!:15800:0:99999:7:::
sshd:*:15800:0:99999:7:::
richard:$6$ErqInBoz$FibX212AFnHMvyZdWW87bq5Cm3214CoffqFuUyzz.ZKmZ725zKqSPRRlQ1fGGP02V/WawQWQrDda6YiKERNR61:15800:0:99999:7:::
root:$6$PdEzt0J2$4mscWK5JSWxt/hHZimQmhPgj27gb2Br47Y.mDHTWDtu2FubIbK73k1hHtnxXxwJ/DqAYoLXSK5nmdtQVIsBYu0:15800:0:99999:7:::
daemon:*:16209:0:99999:7:::
bin:*:16209:0:99999:7:::
sys:*:16209:0:99999:7:::
sync:*:16209:0:99999:7:::
games:*:16209:0:99999:7:::
man:*:16209:0:99999:7:::
lp:*:16209:0:99999:7:::
mail:*:16209:0:99999:7:::
news:*:16209:0:99999:7:::
uucp:*:16209:0:99999:7:::
proxy:*:16209:0:99999:7:::
www-data:*:16209:0:99999:7:::
backup:*:16209:0:99999:7:::
list:*:16209:0:99999:7:::
irc:*:16209:0:99999:7:::
gnats:*:16209:0:99999:7:::
nobody:*:16209:0:99999:7:::
libuuid:!:16209:0:99999:7:::
Debian-exim:!:16209:0:99999:7:::
statd:*:16209:0:99999:7:::
sshd:*:16209:0:99999:7:::
1 change: 1 addition & 0 deletions honeyfs/proc/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Linux version 3.2.0-4-686-pae ([email protected]) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.57-3+deb7u1
2 changes: 1 addition & 1 deletion kippo.cfg.dist
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ private_key = private.key
# SSH-2.0-OpenSSH_5.9
#
# (default: "SSH-2.0-OpenSSH_5.1p1 Debian-5")
ssh_version_string = SSH-2.0-OpenSSH_5.1p1 Debian-5
ssh_version_string = SSH-2.0-OpenSSH_6.0p1 Debian-4+deb7u1

# Banner file to be displayed before the first login attempt.
#
Expand Down
2 changes: 1 addition & 1 deletion kippo/commands/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class command_uname(HoneyPotCommand):
def call(self):
if len(self.args) and self.args[0].strip() == '-a':
self.writeln(
'Linux %s 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 i686 GNU/Linux' % \
'Linux %s 3.2.0-4-686-pae #1 SMP Debian 3.2.57-3+deb7u1 i686 GNU/Linux' % \
self.honeypot.hostname)
else:
self.writeln('Linux')
Expand Down
2 changes: 1 addition & 1 deletion kippo/commands/ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def finish(self, line):
self.honeypot.cwd = '/'
self.honeypot.password_input = False
self.writeln(
'Linux %s 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 i686' % \
'Linux %s 3.2.0-4-686-pae #1 SMP Debian 3.2.57-3+deb7u1 i686 GNU/Linux' % \
self.honeypot.hostname)
self.writeln('Last login: %s from 192.168.9.4' % \
time.ctime(time.time() - 123123))
Expand Down
2 changes: 1 addition & 1 deletion kippo/commands/wget.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def error(self, error, url):
class HTTPProgressDownloader(client.HTTPDownloader):
def __init__(self, wget, fakeoutfile, url, outfile, headers=None):
client.HTTPDownloader.__init__(self, url, outfile, headers=headers,
agent='Wget/1.11.4')
agent='Wget/1.13.4 (linux-gnu)')
self.status = None
self.wget = wget
self.fakeoutfile = fakeoutfile
Expand Down
2 changes: 1 addition & 1 deletion txtcmds/bin/dmesg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.26-2-686 (Debian 2.6.26-19lenny2) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Wed Nov 4 20:45:37 UTC 2009
[ 0.000000] Linux version 3.2.0-4-686-pae (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.57-3+deb7u1
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
[ 0.000000] BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
Expand Down