Skip to content

Instantly share code, notes, and snippets.

View inC3ASE's full-sized avatar

Gabriel Sawyer inC3ASE

  • Aptos, California
View GitHub Profile
@inC3ASE
inC3ASE / master.passwd
Created October 14, 2016 08:40
//private/etc/master.passwd contents
ArchCelsum:etc ArchCelsum$ sudo cat master.passwd
Password:
##
# User Database
#
# Note that this file is consulted directly only when the system is running
# in single-user mode. At other times this information is provided by
# Open Directory.
#
# See the opendirectoryd(8) man page for additional information about
@inC3ASE
inC3ASE / group
Created October 14, 2016 08:40
//private/etc/group contents
##
# Group Database
#
# Note that this file is consulted directly only when the system is running
# in single-user mode. At other times this information is provided by
# Open Directory.
#
# See the opendirectoryd(8) man page for additional information about
# Open Directory.
##
@inC3ASE
inC3ASE / hosts
Created October 14, 2016 08:41
//private/etc/hosts contents plus //private/etc/hosts~original
ArchCelsum:etc ArchCelsum$ cat hosts
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
@inC3ASE
inC3ASE / syslog.conf
Created October 14, 2016 08:44
//private/etc/syslog.conf plus //private/etc/ttys
ArchCelsum:etc ArchCelsum$ cat syslog.conf
# Note that flat file logs are now configured in /etc/asl.conf
install.* @127.0.0.1:32376
#
# @(#)ttys 5.2 (Berkeley) 6/10/93
#
# name getty type status comments
#
@inC3ASE
inC3ASE / services
Created October 14, 2016 08:45
//private/etc/services contents. interesting stuff
ArchCelsum:etc ArchCelsum$ cat services
#
# 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
#
@inC3ASE
inC3ASE / protocols
Created October 14, 2016 08:45
//private/etc/protocols more interesting stuff
ArchCelsum:~ ArchCelsum$ cat //private/etc/protocols
#
# Internet protocols
#
# $FreeBSD$
# from: @(#)protocols 5.1 (Berkeley) 4/17/89
#
# See also http://www.iana.org/assignments/protocol-numbers
#
ip 0 IP # internet protocol, pseudo protocol number
@inC3ASE
inC3ASE / efax.rc
Created October 14, 2016 08:46
//private/etc/efax.rc~previous
#
# /etc/efax.rc
#
# Configuration file for fax(1)
#
OWNER=
MODE=
DCMD=
VCMD=
@inC3ASE
inC3ASE / sshMultiple
Created October 14, 2016 08:48
//private/etc/ssh/* All files' contents including moduli ssh_config~orig sshd_config~previous ssh_config sshd_config
ArchCelsum:ssh ArchCelsum$ ls
moduli ssh_config~orig sshd_config~previous
ssh_config sshd_config
ArchCelsum:ssh ArchCelsum$ cat *
# $OpenBSD: moduli,v 1.14 2015/07/22 02:34:59 dtucker Exp $
# Time Type Tests Tries Size Generator Modulus
20150522025931 2 6 100 1535 5 F4EE15F22E5F49997A027769656DF0240598C9470C7D67A7D7DA2777883C1C243A6F3D04E1CFA6A0350B165ECABE89A684C11ABB7E5B93B54FD6EAC85BBA9F23C6306E485BB9AC5515ABC739CE9B1A79F7DEF6D00B643856DB903E23E7F985EDCAFF867FE15498E7EF6A91057DE337A9AAEDE941C934E65243AC7888A33C78FB2490BBA2BA06F18ECC51DE9AA54BADD061CC5BE1EA060CC3217CA11E26772BD088898D2882CB49A9FF40168E49AE6A90EE1F61132E1B6E4E7F99797DAD18DA1F
20150522025936 2 6 100 1535 2 F4EE15F22E5F49997A027769656DF0240598C9470C7D67A7D7DA2777883C1C243A6F3D04E1CFA6A0350B165ECABE89A684C11ABB7E5B93B54FD6EAC85BBA9F23C6306E485BB9AC5515ABC739CE9B1A79F7DEF6D00B643856DB903E23E7F985EDCAFF867FE15498E7EF6A91057DE337A9AAEDE941C934E65243AC7888A33C78FB2490BBA2BA06F18ECC51DE9AA54BADD061CC5BE1EA060CC3217CA1
@inC3ASE
inC3ASE / racoonDirFileContents
Created October 14, 2016 08:50
//private/etc/racoon I literally have no idea what this is
ArchCelsum:racoon
0 -rw------- 1 0 0 272 Jul 30 17:29 psk.txt
0 -rw-r--r-- 1 0 0 3587 Jul 30 17:29 racoon.conf
ArchCelsum:racoon ArchCelsum$ cat *
cat: psk.txt: Permission denied
follow-up command:
ArchCelsum:racoon ArchCelsum$ sudo cat psk.txt
Password:
@inC3ASE
inC3ASE / locateRCdnsextdCONF
Created October 14, 2016 08:52
//private/etc: locate.rc dnsextd.conf
ArchCelsum:etc ArchCelsum$ cat locate.rc
#
# /etc/locate.rc - command script for updatedb(8)
#
# $FreeBSD: src/usr.bin/locate/locate/locate.rc,v 1.9 2005/08/22 08:22:48 cperciva Exp $
#
# All commented values are the defaults
#
# temp directory