Skip to content

Instantly share code, notes, and snippets.

@lwhsu
Created January 21, 2018 07:03
Show Gist options
  • Save lwhsu/c0b763695a44e5f3798276096d9379c0 to your computer and use it in GitHub Desktop.
Save lwhsu/c0b763695a44e5f3798276096d9379c0 to your computer and use it in GitHub Desktop.
670 ktrace RET ktrace 0
670 ktrace CALL execve(0xbfbfee77,0xbfbfed58,0xbfbfed60)
670 ktrace NAMI "./a.out.32"
670 ktrace NAMI "/libexec/ld-elf.so.1"
670 a.out.32 RET execve 0
670 a.out.32 CALL mmap(0,0x8000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,0xffffffff,0,0)
670 a.out.32 RET mmap 671502336/0x28065000
670 a.out.32 CALL issetugid
670 a.out.32 RET issetugid 0
670 a.out.32 CALL lstat(0x2806a000,0xbfbfd698)
670 a.out.32 NAMI "/etc"
670 a.out.32 STRU struct stat {dev=67, ino=642048, mode=040755, nlink=27, uid=0, gid=0, rdev=1287552, atime=1516120419, mtime=1516120997.306178000, ctime=1516120997.306178000, birthtime=1500610405, size=2560, blksize=32768, blocks=8, flags=0x0 }
670 a.out.32 RET lstat 0
670 a.out.32 CALL lstat(0x2806a000,0xbfbfd698)
670 a.out.32 NAMI "/etc/libmap.conf"
670 a.out.32 STRU struct stat {dev=67, ino=642049, mode=0100644, nlink=1, uid=0, gid=0, rdev=1287553, atime=1516517748.192926000, mtime=1500610405, ctime=1516120420.293909000, birthtime=1500610405, size=109, blksize=32768, blocks=8, flags=0x0 }
670 a.out.32 RET lstat 0
670 a.out.32 CALL openat(AT_FDCWD,0x2806a000,0x100000<O_RDONLY|O_CLOEXEC>)
670 a.out.32 NAMI "/etc/libmap.conf"
670 a.out.32 RET openat 3
670 a.out.32 CALL fstat(0x3,0xbfbfe320)
670 a.out.32 STRU struct stat {dev=67, ino=642049, mode=0100644, nlink=1, uid=0, gid=0, rdev=1287553, atime=1516517748.192926000, mtime=1500610405, ctime=1516120420.293909000, birthtime=1500610405, size=109, blksize=32768, blocks=8, flags=0x0 }
670 a.out.32 RET fstat 0
670 a.out.32 CALL mmap(0,0x6d,0x1<PROT_READ>,0x2<MAP_PRIVATE>,0x3,0,0)
670 a.out.32 RET mmap 671535104/0x2806d000
670 a.out.32 CALL close(0x3)
670 a.out.32 RET close 0
670 a.out.32 CALL lstat(0x2806a800,0xbfbfca58)
670 a.out.32 NAMI "/usr"
670 a.out.32 STRU struct stat {dev=67, ino=240768, mode=040755, nlink=14, uid=0, gid=0, rdev=485992, atime=1516120431, mtime=1516120481.613470000, ctime=1516120485.033065000, birthtime=1500610260, size=512, blksize=32768, blocks=8, flags=0x0 }
670 a.out.32 RET lstat 0
670 a.out.32 CALL lstat(0x2806a800,0xbfbfca58)
670 a.out.32 NAMI "/usr/local"
670 a.out.32 STRU struct stat {dev=67, ino=240777, mode=040755, nlink=2, uid=0, gid=0, rdev=485999, atime=1516120419, mtime=1500610260, ctime=1516120431.886117000, birthtime=1500610260, size=512, blksize=32768, blocks=8, flags=0x0 }
670 a.out.32 RET lstat 0
670 a.out.32 CALL lstat(0x2806a800,0xbfbfca58)
670 a.out.32 NAMI "/usr/local/etc"
670 a.out.32 RET lstat -1 errno 2 No such file or directory
670 a.out.32 CALL munmap(0x2806d000,0x6d)
670 a.out.32 RET munmap 0
670 a.out.32 CALL openat(AT_FDCWD,0x28060229,0x100000<O_RDONLY|O_CLOEXEC>)
670 a.out.32 NAMI "/var/run/ld-elf.so.hints"
670 a.out.32 RET openat 3
670 a.out.32 CALL read(0x3,0x280648b0,0x80)
670 a.out.32 GIO fd 3 read 128 bytes
0x0000 4568 6e74 0100 0000 8000 0000 1e00 0000 |Ehnt............|
0x0010 0000 0000 1d00 0000 0000 0000 0000 0000 |................|
0x0020 0000 0000 0000 0000 0000 0000 0000 0000 |................|
0x0030 0000 0000 0000 0000 0000 0000 0000 0000 |................|
0x0040 0000 0000 0000 0000 0000 0000 0000 0000 |................|
0x0050 0000 0000 0000 0000 0000 0000 0000 0000 |................|
0x0060 0000 0000 0000 0000 0000 0000 0000 0000 |................|
0x0070 0000 0000 0000 0000 0000 0000 0000 0000 |................|
670 a.out.32 RET read 128/0x80
670 a.out.32 CALL fstat(0x3,0xbfbfdc90)
670 a.out.32 STRU struct stat {dev=67, ino=803077, mode=0100444, nlink=1, uid=0, gid=0, rdev=1615258, atime=1516517748.195388000, mtime=1516515843.751611000, ctime=1516515843.751637000, birthtime=1516515843.751553000, size=158, blksize=32768, blocks=8, flags=0x0 }
670 a.out.32 RET fstat 0
670 a.out.32 CALL lseek(0x3,0x80,SEEK_SET)
670 a.out.32 RET lseek 128/0x80
670 a.out.32 CALL read(0x3,0x2806b000,0x1e)
670 a.out.32 GIO fd 3 read 30 bytes
"/lib:/usr/lib:/usr/lib/compat\000"
670 a.out.32 RET read 30/0x1e
670 a.out.32 CALL close(0x3)
670 a.out.32 RET close 0
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/lib/libc.so.7"
670 a.out.32 RET access 0
670 a.out.32 CALL openat(AT_FDCWD,0x28066020,0x300000<O_RDONLY|O_CLOEXEC|O_VERIFY>)
670 a.out.32 NAMI "/lib/libc.so.7"
670 a.out.32 RET openat 3
670 a.out.32 CALL fstat(0x3,0xbfbfe150)
670 a.out.32 STRU struct stat {dev=67, ino=401587, mode=0100444, nlink=1, uid=0, gid=0, rdev=814016, atime=1516517748.193173000, mtime=1500610269.913577000, ctime=1516120431.865012000, birthtime=1500610269.913577000, size=1413148, blksize=32768, blocks=2880, flags=0x20000 }
670 a.out.32 RET fstat 0
670 a.out.32 CALL mmap(0,0x1000,0x1<PROT_READ>,0x40002<MAP_PRIVATE|MAP_PREFAULT_READ>,0x3,0,0)
670 a.out.32 RET mmap 671535104/0x2806d000
670 a.out.32 CALL mmap(0,0x15f000,0<PROT_NONE>,0x21002<MAP_PRIVATE|MAP_ANON|MAP_NOCORE>,0xffffffff,0,0)
670 a.out.32 RET mmap 671539200/0x2806e000
670 a.out.32 CALL mmap(0x2806e000,0x143000,0x5<PROT_READ|PROT_EXEC>,0x60012<MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ>,0x3,0,0)
670 a.out.32 RET mmap 671539200/0x2806e000
670 a.out.32 CALL mmap(0x281b1000,0x7000,0x3<PROT_READ|PROT_WRITE>,0x40012<MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ>,0x3,0x142000,0)
670 a.out.32 RET mmap 672862208/0x281b1000
670 a.out.32 CALL mmap(0x281b8000,0x15000,0x3<PROT_READ|PROT_WRITE>,0x1012<MAP_PRIVATE|MAP_FIXED|MAP_ANON>,0xffffffff,0,0)
670 a.out.32 RET mmap 672890880/0x281b8000
670 a.out.32 CALL munmap(0x2806d000,0x1000)
670 a.out.32 RET munmap 0
670 a.out.32 CALL close(0x3)
670 a.out.32 RET close 0
670 a.out.32 CALL mmap(0,0x11000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,0xffffffff,0,0)
670 a.out.32 RET mmap 672976896/0x281cd000
670 a.out.32 CALL sysarch(0xa,0xbfbfe384)
670 a.out.32 RET sysarch 0
670 a.out.32 CALL sigprocmask(SIG_BLOCK,0x28064978,0xbfbfe360)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL sigprocmask(SIG_SETMASK,0x2806498c,0)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL readlink(0x281a5b58,0xbfbfdafb,0x400)
670 a.out.32 NAMI "/etc/malloc.conf"
670 a.out.32 RET readlink -1 errno 2 No such file or directory
670 a.out.32 CALL issetugid
670 a.out.32 RET issetugid 0
670 a.out.32 CALL __sysctl(0xbfbfd9f4,0x2,0xbfbfda24,0xbfbfda20,0x281a4c7f,0xd)
670 a.out.32 SCTL "sysctl.name2oid"
670 a.out.32 RET __sysctl 0
670 a.out.32 CALL __sysctl(0xbfbfda24,0x2,0xbfbfdabc,0xbfbfdab8,0,0)
670 a.out.32 SCTL "vm.overcommit"
670 a.out.32 RET __sysctl 0
670 a.out.32 CALL mmap(0,0x200000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,0xffffffff,0,0)
670 a.out.32 RET mmap 673046528/0x281de000
670 a.out.32 CALL munmap(0x281de000,0x200000)
670 a.out.32 RET munmap 0
670 a.out.32 CALL mmap(0,0x3ff000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,0xffffffff,0,0)
670 a.out.32 RET mmap 673046528/0x281de000
670 a.out.32 CALL munmap(0x281de000,0x22000)
670 a.out.32 RET munmap 0
670 a.out.32 CALL munmap(0x28400000,0x1dd000)
670 a.out.32 RET munmap 0
670 a.out.32 CALL sigprocmask(SIG_BLOCK,0x28064978,0xbfbfdf08)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL sigprocmask(SIG_SETMASK,0x2806498c,0)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL sigprocmask(SIG_BLOCK,0x28064978,0xbfbfdf08)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL sigprocmask(SIG_SETMASK,0x2806498c,0)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL mmap(0,0x200000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,0xffffffff,0,0)
670 a.out.32 RET mmap 675282944/0x28400000
670 a.out.32 CALL stat(0x281ad990,0xbfbfe828)
670 a.out.32 NAMI "/etc/nsswitch.conf"
670 a.out.32 STRU struct stat {dev=67, ino=642125, mode=0100644, nlink=1, uid=0, gid=0, rdev=1294107, atime=1516517671.131279000, mtime=1500610405, ctime=1516120420.300452000, birthtime=1500610405, size=338, blksize=32768, blocks=8, flags=0x0 }
670 a.out.32 RET stat 0
670 a.out.32 CALL open(0x281ad990,0x100000<O_RDONLY|O_CLOEXEC>)
670 a.out.32 NAMI "/etc/nsswitch.conf"
670 a.out.32 RET open 3
670 a.out.32 CALL ioctl(0x3,TIOCGETA,0xbfbfe718)
670 a.out.32 RET ioctl -1 errno 25 Inappropriate ioctl for device
670 a.out.32 CALL fstat(0x3,0xbfbfe690)
670 a.out.32 STRU struct stat {dev=67, ino=642125, mode=0100644, nlink=1, uid=0, gid=0, rdev=1294107, atime=1516517671.131279000, mtime=1500610405, ctime=1516120420.300452000, birthtime=1500610405, size=338, blksize=32768, blocks=8, flags=0x0 }
670 a.out.32 RET fstat 0
670 a.out.32 CALL read(0x3,0x284275c0,0x8000)
670 a.out.32 GIO fd 3 read 338 bytes
"#
# nsswitch.conf(5) - name service switch configuration file
# $FreeBSD: releng/11.1/etc/nsswitch.conf 301711 2016-06-09 01:28:44Z \
markj $
#
group: compat
group_compat: nis
hosts: files dns
netgroup: compat
networks: files
passwd: compat
passwd_compat: nis
shells: files
services: compat
services_compat: nis
protocols: files
rpc: files
"
670 a.out.32 RET read 338/0x152
670 a.out.32 CALL read(0x3,0x284275c0,0x8000)
670 a.out.32 GIO fd 3 read 0 bytes
""
670 a.out.32 RET read 0
670 a.out.32 CALL sigprocmask(SIG_BLOCK,0x28064978,0xbfbfd9e0)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/lib/nss_compat.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/usr/lib/nss_compat.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/usr/lib/compat/nss_compat.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/lib/casper/nss_compat.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/lib/nss_compat.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/usr/lib/nss_compat.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL sigprocmask(SIG_SETMASK,0x2806498c,0)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL sigprocmask(SIG_BLOCK,0x28064978,0xbfbfd9e0)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/lib/nss_nis.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/usr/lib/nss_nis.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/usr/lib/compat/nss_nis.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/lib/casper/nss_nis.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/lib/nss_nis.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/usr/lib/nss_nis.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL sigprocmask(SIG_SETMASK,0x2806498c,0)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL sigprocmask(SIG_BLOCK,0x28064978,0xbfbfd9e0)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/lib/nss_files.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/usr/lib/nss_files.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/usr/lib/compat/nss_files.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/lib/casper/nss_files.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/lib/nss_files.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/usr/lib/nss_files.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL sigprocmask(SIG_SETMASK,0x2806498c,0)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL sigprocmask(SIG_BLOCK,0x28064978,0xbfbfd9e0)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/lib/nss_dns.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/usr/lib/nss_dns.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/usr/lib/compat/nss_dns.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/lib/casper/nss_dns.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/lib/nss_dns.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL access(0x2806a800,0<F_OK>)
670 a.out.32 NAMI "/usr/lib/nss_dns.so.1"
670 a.out.32 RET access -1 errno 2 No such file or directory
670 a.out.32 CALL sigprocmask(SIG_SETMASK,0x2806498c,0)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL ioctl(0x3,TIOCGETA,0xbfbfe700)
670 a.out.32 RET ioctl -1 errno 25 Inappropriate ioctl for device
670 a.out.32 CALL close(0x3)
670 a.out.32 RET close 0
670 a.out.32 CALL sigprocmask(SIG_BLOCK,0x28064978,0xbfbfde88)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL sigprocmask(SIG_SETMASK,0x2806498c,0)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL sigprocmask(SIG_BLOCK,0x28064978,0xbfbfe748)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL sigprocmask(SIG_SETMASK,0x2806498c,0)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL open(0x281aaa33,0x100000<O_RDONLY|O_CLOEXEC>)
670 a.out.32 NAMI "/etc/services"
670 a.out.32 RET open 3
670 a.out.32 CALL fstat(0x3,0xbfbfe600)
670 a.out.32 STRU struct stat {dev=67, ino=642081, mode=0100644, nlink=1, uid=0, gid=0, rdev=1293992, atime=1516517671.271167000, mtime=1500610405, ctime=1516120420.296512000, birthtime=1500610405, size=86246, blksize=32768, blocks=176, flags=0x0 }
670 a.out.32 RET fstat 0
670 a.out.32 CALL lseek(0x3,0,SEEK_CUR)
670 a.out.32 RET lseek 0
670 a.out.32 CALL lseek(0x3,0,SEEK_SET)
670 a.out.32 RET lseek 0
670 a.out.32 CALL read(0x3,0x284275c0,0x8000)
670 a.out.32 GIO fd 3 read 4096 bytes
"#
# Network services, Internet style
#
# Note that it is presently the policy of IANA to assign a single well\
-known
# port number for both TCP and UDP; hence, most entries here have two \
entries
# even if the protocol doesn't support UDP operations.
#
# The latest IANA port assignments can be gotten from
#
# http://www.iana.org/assignments/port-numbers
#
# The Well Known Ports are those from 0 through 1023.
# The Registered Ports are those from 1024 through 49151
# The Dynamic and/or Private Ports are those from 49152 through 65535
#
# Kerberos services are for Kerberos v4, and are unofficial. Sites ru\
nning
# v5 should uncomment v5 entries and comment v4 entries.
#
# $FreeBSD: releng/11.1/etc/services 292694 2015-12-24 16:35:28Z jlh $
# From: @(#)services 5.8 (Berkeley) 5/9/91
#
# WELL KNOWN PORT NUMBERS
#
rtmp 1/ddp #Routing Table Maintenance Protocol
tcpmux 1/tcp #TCP Port Service Multiplexer
tcpmux 1/udp #TCP Port Service Multiplexer
nbp 2/ddp #Name Binding Protocol
compressnet 2/tcp #Management Utility
compressnet 2/udp #Management Utility
compressnet 3/tcp #Compression Process
compressnet 3/udp #Compression Process
echo 4/ddp #AppleTalk Echo Protocol
rje 5/tcp #Remote Job Entry
rje 5/udp #Remote Job Entry
zip 6/ddp #Zone Information Protocol
echo 7/sctp
echo 7/tcp
echo 7/udp
discard 9/sctp sink null
discard 9/tcp sink null
discard 9/udp sink null
systat 11/tcp users #Active Users
systat 11/udp users #Active Users
daytime 13/sctp
daytime 13/tcp
daytime 13/udp
qotd 17/tcp quote #Quote of the Day
qotd 17/udp quote #Quote of the Day
msp 18/tcp #Message Send Protocol
msp 18/udp #Message Send Protocol
chargen 19/sctp ttytst source #Character Generator
chargen 19/tcp ttytst source #Character Generator
chargen 19/udp ttytst source #Character Generator
ftp-data 20/sctp #File Transfer [Default Data]
ftp-data 20/tcp #File Transfer [Default Data]
ftp-data 20/udp #File Transfer [Default Data]
ftp 21/sctp #File Transfer [Control]
ftp 21/tcp #File Transfer [Control]
ftp 21/udp #File Transfer [Control]
ssh 22/sctp #Secure Shell Login
ssh 22/tcp #Secure Shell Login
ssh 22/udp #Secure Shell Login
telnet 23/tcp
telnet 23/udp
# 24/tcp any private mail system
# 24/udp any private mail system
smtp 25/tcp mail #Simple Mail Transfer
smtp 25/udp mail #Simple Mail Transfer
nsw-fe 27/tcp #NSW User System FE
nsw-fe 27/udp #NSW User System FE
msg-icp 29/tcp #MSG ICP
msg-icp 29/udp #MSG ICP
msg-auth 31/tcp #MSG Authentication
msg-auth 31/udp #MSG Authentication
dsp 33/tcp #Display Support Protocol
dsp 33/udp #Display Support Protocol
# 35/tcp any private printer server
# 35/udp any private printer server
time 37/tcp timserver
time 37/udp timserver
rap 38/tcp #Route Access Protocol
rap 38/udp #Route Access Protocol
rlp 39/tcp resource #Resource Location Protocol
rlp 39/udp resource #Resource Location Protocol
graphics 41/tcp
graphics 41/udp
nameserver 42/tcp name #Host Name Server
nameserver 42/udp name #Host Name Server
nicname 43/tcp whois
nicname 43/udp whois
mpm-flags 44/tcp #MPM FLAGS Protocol
mpm-flags 44/udp #MPM FLAGS Protocol
mpm 45/tcp #Message Processing Module [recv]
mpm 45/udp #Message Processing Module [recv]
mpm-snd 46/tcp #MPM [default send]
mpm-snd 46/udp #MPM [default send]
ni-ftp 47/tcp #NI FTP
ni-ftp 47/udp #NI FTP
auditd 48/tcp #Digital Audit Daemon
auditd 48/udp #Digital Audit Daemon
tacacs 49/tcp #Login Host Protocol (TACACS)
tacacs 49/udp #Login Host Protocol (TACACS)
re-mail-ck 50/tcp #Remote Mail Checking Protocol
re-mail-ck 50/udp #Remote Mail Checking Protocol
la-maint 51/tcp #IMP Logical Address Maintenance
la-maint 51/udp #IMP Logical Address Maintenance
xns-time 52/tcp #XNS Time Protocol
xns-time 52/udp #XNS Time Protocol
domain 5"
670 a.out.32 RET read 32768/0x8000
670 a.out.32 CALL close(0x3)
670 a.out.32 RET close 0
670 a.out.32 CALL __sysctl(0xbfbfe964,0x6,0,0xbfbfe960,0,0)
670 a.out.32 SCTL "net.routetable.0.0.5.0"
670 a.out.32 RET __sysctl 0
670 a.out.32 CALL __sysctl(0xbfbfe964,0x6,0x2843d000,0xbfbfe960,0,0)
670 a.out.32 SCTL "net.routetable.0.0.5.0"
670 a.out.32 RET __sysctl 0
670 a.out.32 CALL socket(PF_INET6,0x10000002<SOCK_DGRAM|SOCK_CLOEXEC>,IPPROTO_IP)
670 a.out.32 RET socket 3
670 a.out.32 CALL ioctl(0x3,SIOCGIFINFO_IN6,0xbfbfea80)
670 a.out.32 RET ioctl 0
670 a.out.32 CALL close(0x3)
670 a.out.32 RET close 0
670 a.out.32 CALL stat(0x281ad990,0xbfbfe828)
670 a.out.32 NAMI "/etc/nsswitch.conf"
670 a.out.32 STRU struct stat {dev=67, ino=642125, mode=0100644, nlink=1, uid=0, gid=0, rdev=1294107, atime=1516517748.198977000, mtime=1500610405, ctime=1516120420.300452000, birthtime=1500610405, size=338, blksize=32768, blocks=8, flags=0x0 }
670 a.out.32 RET stat 0
670 a.out.32 CALL open(0x281aaa33,0x100000<O_RDONLY|O_CLOEXEC>)
670 a.out.32 NAMI "/etc/services"
670 a.out.32 RET open 3
670 a.out.32 CALL fstat(0x3,0xbfbfe600)
670 a.out.32 STRU struct stat {dev=67, ino=642081, mode=0100644, nlink=1, uid=0, gid=0, rdev=1293992, atime=1516517748.199456000, mtime=1500610405, ctime=1516120420.296512000, birthtime=1500610405, size=86246, blksize=32768, blocks=176, flags=0x0 }
670 a.out.32 RET fstat 0
670 a.out.32 CALL lseek(0x3,0,SEEK_CUR)
670 a.out.32 RET lseek 0
670 a.out.32 CALL lseek(0x3,0,SEEK_SET)
670 a.out.32 RET lseek 0
670 a.out.32 CALL read(0x3,0x284275c0,0x8000)
670 a.out.32 GIO fd 3 read 4096 bytes
"#
# Network services, Internet style
#
# Note that it is presently the policy of IANA to assign a single well\
-known
# port number for both TCP and UDP; hence, most entries here have two \
entries
# even if the protocol doesn't support UDP operations.
#
# The latest IANA port assignments can be gotten from
#
# http://www.iana.org/assignments/port-numbers
#
# The Well Known Ports are those from 0 through 1023.
# The Registered Ports are those from 1024 through 49151
# The Dynamic and/or Private Ports are those from 49152 through 65535
#
# Kerberos services are for Kerberos v4, and are unofficial. Sites ru\
nning
# v5 should uncomment v5 entries and comment v4 entries.
#
# $FreeBSD: releng/11.1/etc/services 292694 2015-12-24 16:35:28Z jlh $
# From: @(#)services 5.8 (Berkeley) 5/9/91
#
# WELL KNOWN PORT NUMBERS
#
rtmp 1/ddp #Routing Table Maintenance Protocol
tcpmux 1/tcp #TCP Port Service Multiplexer
tcpmux 1/udp #TCP Port Service Multiplexer
nbp 2/ddp #Name Binding Protocol
compressnet 2/tcp #Management Utility
compressnet 2/udp #Management Utility
compressnet 3/tcp #Compression Process
compressnet 3/udp #Compression Process
echo 4/ddp #AppleTalk Echo Protocol
rje 5/tcp #Remote Job Entry
rje 5/udp #Remote Job Entry
zip 6/ddp #Zone Information Protocol
echo 7/sctp
echo 7/tcp
echo 7/udp
discard 9/sctp sink null
discard 9/tcp sink null
discard 9/udp sink null
systat 11/tcp users #Active Users
systat 11/udp users #Active Users
daytime 13/sctp
daytime 13/tcp
daytime 13/udp
qotd 17/tcp quote #Quote of the Day
qotd 17/udp quote #Quote of the Day
msp 18/tcp #Message Send Protocol
msp 18/udp #Message Send Protocol
chargen 19/sctp ttytst source #Character Generator
chargen 19/tcp ttytst source #Character Generator
chargen 19/udp ttytst source #Character Generator
ftp-data 20/sctp #File Transfer [Default Data]
ftp-data 20/tcp #File Transfer [Default Data]
ftp-data 20/udp #File Transfer [Default Data]
ftp 21/sctp #File Transfer [Control]
ftp 21/tcp #File Transfer [Control]
ftp 21/udp #File Transfer [Control]
ssh 22/sctp #Secure Shell Login
ssh 22/tcp #Secure Shell Login
ssh 22/udp #Secure Shell Login
telnet 23/tcp
telnet 23/udp
# 24/tcp any private mail system
# 24/udp any private mail system
smtp 25/tcp mail #Simple Mail Transfer
smtp 25/udp mail #Simple Mail Transfer
nsw-fe 27/tcp #NSW User System FE
nsw-fe 27/udp #NSW User System FE
msg-icp 29/tcp #MSG ICP
msg-icp 29/udp #MSG ICP
msg-auth 31/tcp #MSG Authentication
msg-auth 31/udp #MSG Authentication
dsp 33/tcp #Display Support Protocol
dsp 33/udp #Display Support Protocol
# 35/tcp any private printer server
# 35/udp any private printer server
time 37/tcp timserver
time 37/udp timserver
rap 38/tcp #Route Access Protocol
rap 38/udp #Route Access Protocol
rlp 39/tcp resource #Resource Location Protocol
rlp 39/udp resource #Resource Location Protocol
graphics 41/tcp
graphics 41/udp
nameserver 42/tcp name #Host Name Server
nameserver 42/udp name #Host Name Server
nicname 43/tcp whois
nicname 43/udp whois
mpm-flags 44/tcp #MPM FLAGS Protocol
mpm-flags 44/udp #MPM FLAGS Protocol
mpm 45/tcp #Message Processing Module [recv]
mpm 45/udp #Message Processing Module [recv]
mpm-snd 46/tcp #MPM [default send]
mpm-snd 46/udp #MPM [default send]
ni-ftp 47/tcp #NI FTP
ni-ftp 47/udp #NI FTP
auditd 48/tcp #Digital Audit Daemon
auditd 48/udp #Digital Audit Daemon
tacacs 49/tcp #Login Host Protocol (TACACS)
tacacs 49/udp #Login Host Protocol (TACACS)
re-mail-ck 50/tcp #Remote Mail Checking Protocol
re-mail-ck 50/udp #Remote Mail Checking Protocol
la-maint 51/tcp #IMP Logical Address Maintenance
la-maint 51/udp #IMP Logical Address Maintenance
xns-time 52/tcp #XNS Time Protocol
xns-time 52/udp #XNS Time Protocol
domain 5"
670 a.out.32 RET read 32768/0x8000
670 a.out.32 CALL close(0x3)
670 a.out.32 RET close 0
670 a.out.32 CALL stat(0x281ad990,0xbfbfe900)
670 a.out.32 NAMI "/etc/nsswitch.conf"
670 a.out.32 STRU struct stat {dev=67, ino=642125, mode=0100644, nlink=1, uid=0, gid=0, rdev=1294107, atime=1516517748.198977000, mtime=1500610405, ctime=1516120420.300452000, birthtime=1500610405, size=338, blksize=32768, blocks=8, flags=0x0 }
670 a.out.32 RET stat 0
670 a.out.32 CALL open(0x281aa925,0x100000<O_RDONLY|O_CLOEXEC>)
670 a.out.32 NAMI "/etc/hosts"
670 a.out.32 RET open 3
670 a.out.32 CALL fstat(0x3,0xbfbfc700)
670 a.out.32 STRU struct stat {dev=67, ino=642148, mode=0100644, nlink=1, uid=0, gid=0, rdev=1294147, atime=1516517671.131832000, mtime=1500610405, ctime=1516120420.302325000, birthtime=1500610405, size=1090, blksize=32768, blocks=8, flags=0x0 }
670 a.out.32 RET fstat 0
670 a.out.32 CALL read(0x3,0x284275c0,0x8000)
670 a.out.32 GIO fd 3 read 1090 bytes
"# $FreeBSD: releng/11.1/etc/hosts 109997 2003-01-28 21:29:23Z dbaker $
#
# Host Database
#
# This file should contain the addresses and aliases for local hosts t\
hat
# share this file. Replace 'my.domain' below with the domainname of y\
our
# machine.
#
# In the presence of the domain name service or NIS, this file may
# not be consulted at all; see /etc/nsswitch.conf for the resolution o\
rder.
#
#
::1 localhost localhost.my.domain
127.0.0.1 localhost localhost.my.domain
#
# Imaginary network.
#10.0.0.2 myname.my.domain myname
#10.0.0.3 myfriend.my.domain myfriend
#
# According to RFC 1918, you can use the following IP networks for
# private nets which will never be connected to the Internet:
#
# 10.0.0.0 - 10.255.255.255
# 172.16.0.0 - 172.31.255.255
# 192.168.0.0 - 192.168.255.255
#
# In case you want to be able to connect to the Internet, you need
# real official assigned numbers. Do not try to invent your own netwo\
rk
# numbers but instead get one from your network provider (if any) or
# from your regional registry (ARIN, APNIC, LACNIC, RIPE NCC, or AfriN\
IC.)
#
"
670 a.out.32 RET read 1090/0x442
670 a.out.32 CALL read(0x3,0x284275c0,0x8000)
670 a.out.32 GIO fd 3 read 0 bytes
""
670 a.out.32 RET read 0
670 a.out.32 CALL close(0x3)
670 a.out.32 RET close 0
670 a.out.32 CALL open(0xbfbfdcbc,0<O_RDONLY>)
670 a.out.32 NAMI "/dev/hpet0"
670 a.out.32 RET open 3
670 a.out.32 CALL mmap(0,0x1000,0x1<PROT_READ>,0x1<MAP_SHARED>,0x3,0,0)
670 a.out.32 RET mmap 671535104/0x2806d000
670 a.out.32 CALL close(0x3)
670 a.out.32 RET close 0
670 a.out.32 CALL getpid
670 a.out.32 RET getpid 670/0x29e
670 a.out.32 CALL issetugid
670 a.out.32 RET issetugid 0
670 a.out.32 CALL open(0x281a9eed,0x100000<O_RDONLY|O_CLOEXEC>)
670 a.out.32 NAMI "/etc/resolv.conf"
670 a.out.32 RET open 3
670 a.out.32 CALL fstat(0x3,0xbfbfde00)
670 a.out.32 STRU struct stat {dev=67, ino=642467, mode=0100644, nlink=1, uid=0, gid=0, rdev=1294651, atime=1516517671.132097000, mtime=1516121014.840463000, ctime=1516121014.840463000, birthtime=1516120997.306146000, size=64, blksize=32768, blocks=8, flags=0x0 }
670 a.out.32 RET fstat 0
670 a.out.32 CALL fstat(0x3,0xbfbfdce0)
670 a.out.32 STRU struct stat {dev=67, ino=642467, mode=0100644, nlink=1, uid=0, gid=0, rdev=1294651, atime=1516517671.132097000, mtime=1516121014.840463000, ctime=1516121014.840463000, birthtime=1516120997.306146000, size=64, blksize=32768, blocks=8, flags=0x0 }
670 a.out.32 RET fstat 0
670 a.out.32 CALL read(0x3,0x284275c0,0x8000)
670 a.out.32 GIO fd 3 read 64 bytes
"nameserver 2001:4860:4860::8888
nameserver 2001:4860:4860::8844
"
670 a.out.32 RET read 64/0x40
670 a.out.32 CALL read(0x3,0x284275c0,0x8000)
670 a.out.32 GIO fd 3 read 0 bytes
""
670 a.out.32 RET read 0
670 a.out.32 CALL close(0x3)
670 a.out.32 RET close 0
670 a.out.32 CALL __sysctl(0xbfbfdd80,0x2,0xbfbfdfa0,0xbfbfdd7c,0,0)
670 a.out.32 SCTL "kern.hostname"
670 a.out.32 RET __sysctl 0
670 a.out.32 CALL issetugid
670 a.out.32 RET issetugid 0
670 a.out.32 CALL socket(PF_INET6,0x10000002<SOCK_DGRAM|SOCK_CLOEXEC>,IPPROTO_IP)
670 a.out.32 RET socket 3
670 a.out.32 CALL connect(0x3,0x28417700,0x1c)
670 a.out.32 STRU struct sockaddr { AF_INET6, [2001:4860:4860::8888]:53 }
670 a.out.32 RET connect 0
670 a.out.32 CALL sendto(0x3,0x28464ec0,0x21,0,0,0)
670 a.out.32 GIO fd 3 wrote 33 bytes
0x0000 ea43 0100 0001 0000 0000 0000 0370 6b67 |.C...........pkg|
0x0010 0766 7265 6562 7364 036f 7267 0000 1c00 |.freebsd.org....|
0x0020 01 |.|
670 a.out.32 RET sendto 33/0x21
670 a.out.32 CALL poll(0xbfbfdf30,0x1,0x1388)
670 a.out.32 RET poll 1
670 a.out.32 CALL recvfrom(0x3,0x284421c0,0x10000,0,0xbfbfdd30,0xbfbfd920)
670 a.out.32 GIO fd 3 read 86 bytes
0x0000 ea43 8180 0001 0002 0000 0000 0370 6b67 |.C...........pkg|
0x0010 0766 7265 6562 7364 036f 7267 0000 1c00 |.freebsd.org....|
0x0020 01c0 0c00 0500 0100 0000 ba00 0d06 706b |..............pk|
0x0030 676d 6972 0367 656f c010 c02d 001c 0001 |gmir.geo...-....|
0x0040 0000 0024 0010 2610 01c1 0001 606c 0000 |...$..&.....`l..|
0x0050 0000 0050 0001 |...P..|
670 a.out.32 STRU struct sockaddr { AF_INET6, [2001:4860:4860::8888]:53 }
670 a.out.32 RET recvfrom 86/0x56
670 a.out.32 CALL close(0x3)
670 a.out.32 RET close 0
670 a.out.32 CALL stat(0x281ad990,0xbfbfe828)
670 a.out.32 NAMI "/etc/nsswitch.conf"
670 a.out.32 STRU struct stat {dev=67, ino=642125, mode=0100644, nlink=1, uid=0, gid=0, rdev=1294107, atime=1516517748.198977000, mtime=1500610405, ctime=1516120420.300452000, birthtime=1500610405, size=338, blksize=32768, blocks=8, flags=0x0 }
670 a.out.32 RET stat 0
670 a.out.32 CALL open(0x281aaa33,0x100000<O_RDONLY|O_CLOEXEC>)
670 a.out.32 NAMI "/etc/services"
670 a.out.32 RET open 3
670 a.out.32 CALL fstat(0x3,0xbfbfe600)
670 a.out.32 STRU struct stat {dev=67, ino=642081, mode=0100644, nlink=1, uid=0, gid=0, rdev=1293992, atime=1516517748.200127000, mtime=1500610405, ctime=1516120420.296512000, birthtime=1500610405, size=86246, blksize=32768, blocks=176, flags=0x0 }
670 a.out.32 RET fstat 0
670 a.out.32 CALL lseek(0x3,0,SEEK_CUR)
670 a.out.32 RET lseek 0
670 a.out.32 CALL lseek(0x3,0,SEEK_SET)
670 a.out.32 RET lseek 0
670 a.out.32 CALL read(0x3,0x284275c0,0x8000)
670 a.out.32 GIO fd 3 read 4096 bytes
"#
# Network services, Internet style
#
# Note that it is presently the policy of IANA to assign a single well\
-known
# port number for both TCP and UDP; hence, most entries here have two \
entries
# even if the protocol doesn't support UDP operations.
#
# The latest IANA port assignments can be gotten from
#
# http://www.iana.org/assignments/port-numbers
#
# The Well Known Ports are those from 0 through 1023.
# The Registered Ports are those from 1024 through 49151
# The Dynamic and/or Private Ports are those from 49152 through 65535
#
# Kerberos services are for Kerberos v4, and are unofficial. Sites ru\
nning
# v5 should uncomment v5 entries and comment v4 entries.
#
# $FreeBSD: releng/11.1/etc/services 292694 2015-12-24 16:35:28Z jlh $
# From: @(#)services 5.8 (Berkeley) 5/9/91
#
# WELL KNOWN PORT NUMBERS
#
rtmp 1/ddp #Routing Table Maintenance Protocol
tcpmux 1/tcp #TCP Port Service Multiplexer
tcpmux 1/udp #TCP Port Service Multiplexer
nbp 2/ddp #Name Binding Protocol
compressnet 2/tcp #Management Utility
compressnet 2/udp #Management Utility
compressnet 3/tcp #Compression Process
compressnet 3/udp #Compression Process
echo 4/ddp #AppleTalk Echo Protocol
rje 5/tcp #Remote Job Entry
rje 5/udp #Remote Job Entry
zip 6/ddp #Zone Information Protocol
echo 7/sctp
echo 7/tcp
echo 7/udp
discard 9/sctp sink null
discard 9/tcp sink null
discard 9/udp sink null
systat 11/tcp users #Active Users
systat 11/udp users #Active Users
daytime 13/sctp
daytime 13/tcp
daytime 13/udp
qotd 17/tcp quote #Quote of the Day
qotd 17/udp quote #Quote of the Day
msp 18/tcp #Message Send Protocol
msp 18/udp #Message Send Protocol
chargen 19/sctp ttytst source #Character Generator
chargen 19/tcp ttytst source #Character Generator
chargen 19/udp ttytst source #Character Generator
ftp-data 20/sctp #File Transfer [Default Data]
ftp-data 20/tcp #File Transfer [Default Data]
ftp-data 20/udp #File Transfer [Default Data]
ftp 21/sctp #File Transfer [Control]
ftp 21/tcp #File Transfer [Control]
ftp 21/udp #File Transfer [Control]
ssh 22/sctp #Secure Shell Login
ssh 22/tcp #Secure Shell Login
ssh 22/udp #Secure Shell Login
telnet 23/tcp
telnet 23/udp
# 24/tcp any private mail system
# 24/udp any private mail system
smtp 25/tcp mail #Simple Mail Transfer
smtp 25/udp mail #Simple Mail Transfer
nsw-fe 27/tcp #NSW User System FE
nsw-fe 27/udp #NSW User System FE
msg-icp 29/tcp #MSG ICP
msg-icp 29/udp #MSG ICP
msg-auth 31/tcp #MSG Authentication
msg-auth 31/udp #MSG Authentication
dsp 33/tcp #Display Support Protocol
dsp 33/udp #Display Support Protocol
# 35/tcp any private printer server
# 35/udp any private printer server
time 37/tcp timserver
time 37/udp timserver
rap 38/tcp #Route Access Protocol
rap 38/udp #Route Access Protocol
rlp 39/tcp resource #Resource Location Protocol
rlp 39/udp resource #Resource Location Protocol
graphics 41/tcp
graphics 41/udp
nameserver 42/tcp name #Host Name Server
nameserver 42/udp name #Host Name Server
nicname 43/tcp whois
nicname 43/udp whois
mpm-flags 44/tcp #MPM FLAGS Protocol
mpm-flags 44/udp #MPM FLAGS Protocol
mpm 45/tcp #Message Processing Module [recv]
mpm 45/udp #Message Processing Module [recv]
mpm-snd 46/tcp #MPM [default send]
mpm-snd 46/udp #MPM [default send]
ni-ftp 47/tcp #NI FTP
ni-ftp 47/udp #NI FTP
auditd 48/tcp #Digital Audit Daemon
auditd 48/udp #Digital Audit Daemon
tacacs 49/tcp #Login Host Protocol (TACACS)
tacacs 49/udp #Login Host Protocol (TACACS)
re-mail-ck 50/tcp #Remote Mail Checking Protocol
re-mail-ck 50/udp #Remote Mail Checking Protocol
la-maint 51/tcp #IMP Logical Address Maintenance
la-maint 51/udp #IMP Logical Address Maintenance
xns-time 52/tcp #XNS Time Protocol
xns-time 52/udp #XNS Time Protocol
domain 5"
670 a.out.32 RET read 32768/0x8000
670 a.out.32 CALL close(0x3)
670 a.out.32 RET close 0
670 a.out.32 CALL stat(0x281ad990,0xbfbfe828)
670 a.out.32 NAMI "/etc/nsswitch.conf"
670 a.out.32 STRU struct stat {dev=67, ino=642125, mode=0100644, nlink=1, uid=0, gid=0, rdev=1294107, atime=1516517748.198977000, mtime=1500610405, ctime=1516120420.300452000, birthtime=1500610405, size=338, blksize=32768, blocks=8, flags=0x0 }
670 a.out.32 RET stat 0
670 a.out.32 CALL open(0x281aaa33,0x100000<O_RDONLY|O_CLOEXEC>)
670 a.out.32 NAMI "/etc/services"
670 a.out.32 RET open 3
670 a.out.32 CALL fstat(0x3,0xbfbfe600)
670 a.out.32 STRU struct stat {dev=67, ino=642081, mode=0100644, nlink=1, uid=0, gid=0, rdev=1293992, atime=1516517748.222578000, mtime=1500610405, ctime=1516120420.296512000, birthtime=1500610405, size=86246, blksize=32768, blocks=176, flags=0x0 }
670 a.out.32 RET fstat 0
670 a.out.32 CALL lseek(0x3,0,SEEK_CUR)
670 a.out.32 RET lseek 0
670 a.out.32 CALL lseek(0x3,0,SEEK_SET)
670 a.out.32 RET lseek 0
670 a.out.32 CALL read(0x3,0x284275c0,0x8000)
670 a.out.32 GIO fd 3 read 4096 bytes
"#
# Network services, Internet style
#
# Note that it is presently the policy of IANA to assign a single well\
-known
# port number for both TCP and UDP; hence, most entries here have two \
entries
# even if the protocol doesn't support UDP operations.
#
# The latest IANA port assignments can be gotten from
#
# http://www.iana.org/assignments/port-numbers
#
# The Well Known Ports are those from 0 through 1023.
# The Registered Ports are those from 1024 through 49151
# The Dynamic and/or Private Ports are those from 49152 through 65535
#
# Kerberos services are for Kerberos v4, and are unofficial. Sites ru\
nning
# v5 should uncomment v5 entries and comment v4 entries.
#
# $FreeBSD: releng/11.1/etc/services 292694 2015-12-24 16:35:28Z jlh $
# From: @(#)services 5.8 (Berkeley) 5/9/91
#
# WELL KNOWN PORT NUMBERS
#
rtmp 1/ddp #Routing Table Maintenance Protocol
tcpmux 1/tcp #TCP Port Service Multiplexer
tcpmux 1/udp #TCP Port Service Multiplexer
nbp 2/ddp #Name Binding Protocol
compressnet 2/tcp #Management Utility
compressnet 2/udp #Management Utility
compressnet 3/tcp #Compression Process
compressnet 3/udp #Compression Process
echo 4/ddp #AppleTalk Echo Protocol
rje 5/tcp #Remote Job Entry
rje 5/udp #Remote Job Entry
zip 6/ddp #Zone Information Protocol
echo 7/sctp
echo 7/tcp
echo 7/udp
discard 9/sctp sink null
discard 9/tcp sink null
discard 9/udp sink null
systat 11/tcp users #Active Users
systat 11/udp users #Active Users
daytime 13/sctp
daytime 13/tcp
daytime 13/udp
qotd 17/tcp quote #Quote of the Day
qotd 17/udp quote #Quote of the Day
msp 18/tcp #Message Send Protocol
msp 18/udp #Message Send Protocol
chargen 19/sctp ttytst source #Character Generator
chargen 19/tcp ttytst source #Character Generator
chargen 19/udp ttytst source #Character Generator
ftp-data 20/sctp #File Transfer [Default Data]
ftp-data 20/tcp #File Transfer [Default Data]
ftp-data 20/udp #File Transfer [Default Data]
ftp 21/sctp #File Transfer [Control]
ftp 21/tcp #File Transfer [Control]
ftp 21/udp #File Transfer [Control]
ssh 22/sctp #Secure Shell Login
ssh 22/tcp #Secure Shell Login
ssh 22/udp #Secure Shell Login
telnet 23/tcp
telnet 23/udp
# 24/tcp any private mail system
# 24/udp any private mail system
smtp 25/tcp mail #Simple Mail Transfer
smtp 25/udp mail #Simple Mail Transfer
nsw-fe 27/tcp #NSW User System FE
nsw-fe 27/udp #NSW User System FE
msg-icp 29/tcp #MSG ICP
msg-icp 29/udp #MSG ICP
msg-auth 31/tcp #MSG Authentication
msg-auth 31/udp #MSG Authentication
dsp 33/tcp #Display Support Protocol
dsp 33/udp #Display Support Protocol
# 35/tcp any private printer server
# 35/udp any private printer server
time 37/tcp timserver
time 37/udp timserver
rap 38/tcp #Route Access Protocol
rap 38/udp #Route Access Protocol
rlp 39/tcp resource #Resource Location Protocol
rlp 39/udp resource #Resource Location Protocol
graphics 41/tcp
graphics 41/udp
nameserver 42/tcp name #Host Name Server
nameserver 42/udp name #Host Name Server
nicname 43/tcp whois
nicname 43/udp whois
mpm-flags 44/tcp #MPM FLAGS Protocol
mpm-flags 44/udp #MPM FLAGS Protocol
mpm 45/tcp #Message Processing Module [recv]
mpm 45/udp #Message Processing Module [recv]
mpm-snd 46/tcp #MPM [default send]
mpm-snd 46/udp #MPM [default send]
ni-ftp 47/tcp #NI FTP
ni-ftp 47/udp #NI FTP
auditd 48/tcp #Digital Audit Daemon
auditd 48/udp #Digital Audit Daemon
tacacs 49/tcp #Login Host Protocol (TACACS)
tacacs 49/udp #Login Host Protocol (TACACS)
re-mail-ck 50/tcp #Remote Mail Checking Protocol
re-mail-ck 50/udp #Remote Mail Checking Protocol
la-maint 51/tcp #IMP Logical Address Maintenance
la-maint 51/udp #IMP Logical Address Maintenance
xns-time 52/tcp #XNS Time Protocol
xns-time 52/udp #XNS Time Protocol
domain 5"
670 a.out.32 RET read 32768/0x8000
670 a.out.32 CALL close(0x3)
670 a.out.32 RET close 0
670 a.out.32 CALL fstat(0x1,0xbfbfe930)
670 a.out.32 STRU struct stat {dev=1895890688, ino=47, mode=020600, nlink=1, uid=0, gid=4, rdev=47, atime=1516517748, mtime=1516517748, ctime=1516517748, birthtime=-1, size=0, blksize=4096, blocks=0, flags=0x0 }
670 a.out.32 RET fstat 0
670 a.out.32 CALL ioctl(0x1,TIOCGETA,0xbfbfe8d8)
670 a.out.32 RET ioctl 0
670 a.out.32 CALL write(0x1,0x28442000,0x1d)
670 a.out.32 GIO fd 1 wrote 29 bytes
" IPv6: 2610:1c1:1:606c::50:1
"
670 a.out.32 RET write 29/0x1d
670 a.out.32 CALL sigprocmask(SIG_BLOCK,0x28064978,0xbfbfec08)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL sigprocmask(SIG_SETMASK,0x2806498c,0)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL sigprocmask(SIG_BLOCK,0x28064978,0xbfbfe7a8)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL sigprocmask(SIG_SETMASK,0x2806498c,0)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL sigprocmask(SIG_BLOCK,0x28064978,0xbfbfe7a8)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL sigprocmask(SIG_SETMASK,0x2806498c,0)
670 a.out.32 RET sigprocmask 0
670 a.out.32 CALL exit(0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment