- 论坛徽章:
- 0
|
Cracked a macOS :)
another mac
-------------------
login as: user
Sent username "user"
user@192.168.0.1's password:
Access denied
user@192.168.0.1's password:
Welcome to Darwin!
sh-2.05a$ uname -a
Darwin Xserve 6.8 Darwin Kernel Version 6.8: Wed Sep 10 15:20:55 PDT 2003; rootnu/xnu-344.49.obj~2/RELEASE_PPC Power Macintosh powerpc
sh-2.05a$ w
10:33PM up 1 day, 8:33, 1 user, load averages: 0.06, 0.03, 0.00
USER TTY FROM LOGIN@ IDLE WHAT
user p0 192.168.0.5 10:33PM 0 -
sh-2.05a$ ps -ef
ps: illegal option -- f
usage: ps [-aChjlmMrSTuvwx] [-O|o fmt] [-p pid] [-t tty] [-U user]
[-N system] [-W swap]
ps [-L]
sh-2.05a$ cat /etc/passwd
##
# User Database
#
# Note that this file is consulted when the system is running in single-user
# mode. At other times this information is handled by lookupd. By default,
# lookupd gets information from NetInfo, so this file will not be consulted
# unless you have changed lookupd's configuration.
##
nobody:*:-2:-2:Unprivileged User:/nohome:/noshell
root:*:0:0:System Administrator:/var/root:/bin/tcsh
daemon:*:1:1:System Services:/var/root:/noshell
smmsp:*:25:25:Sendmail User:/private/etc/mail:/noshell
www:*:70:70:World Wide Web Server:/Library/WebServer:/noshell
mysql:*:74:74:MySQL Server:/nohome:/noshell
sshd:*:75:75:sshd Privilege separation:/var/empty:/noshell
unknown:*:99:99:Unknown User:/nohome:/noshell
sh-2.05a$ |
|