File paths Flashcards

Important system and file paths

1
Q

Whats the default webroot for Apache?

A

/var/www/html/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Whats the default webroot for Nginx?

A

/usr/local/nginx/html/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Whats the default webroot for IIS?

A

c:\inetpub\wwwroot\

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Whats the default webroot for XAMPP?

A

C:\xampp\htdocs\

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Where are apache logs stored?

A

/var/log/apache2/access.log

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Where are nginx logs stored?

A

/var/log/nginx/access.log

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Where are openssh logs stored?

A

/var/log/auth.log
or
/var/log/secure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Where are mysql logs stored?

A

/var/log/mysql/mysql.log

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Where are postgresql logs stored?

A

/var/log/postgresql/postgresql-main.log
or
/var/log/postgresql/postgresql-<version>-main.log</version>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Where are fail2ban logs stored?

A

/var/log/fail2ban.log

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Where are systemd logs stored?

A

/var/log/journal/*

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Where are UFW logs stored?

A

/var/log/ufw.log

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Where are system logs stored?

A

/var/log/syslog
or
/var/log/auth.log

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Where is the NTDS.DIT file stored in AD?

A

C:\Windows\NTDS\

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Where is etc/hosts in Windows?

A

c:\Windows\System32\drivers\etc\hosts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
A