06 Flashcards

(55 cards)

1
Q

What acronym is used for /etc/passwd?

A

Never pass up good chicks doing shots

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

What is the acroynym for /etc/shadow?

A

You have lost many matches, winning is everything

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

What is the acroynym for /etc/group?

A

Good pussy get’s soupy

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

What command changes permissions?

A

chmod

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

What are the different file types a file can have?

A

-(ordinary) b(device block) l(symbolic link) d(directory) c(character)

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

What are the two different ways to use chmod? Explain syntax

A

symbolic, numerically
chmod u=rw g=r o-w /my/file.txt
chmod 764 /myfile.txt

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

What do each of the permissions mean for diretories? RWX

A

R=Can read contents of directory
W= a;ter the contents within
X= can change into the directory, using cd

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

How do you get the version of powershell?

A

get-host

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

how do you get the ipaddress of powershell?

A

ipconfig

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

What command gives you help about windows cmdlets/concepts

A

get-help

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

How do you get a list of all the commands in windows powershell?:

A

get-command

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

How do you clear the screen in windows powershell?

A

clear-host

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

How do you get the path of the current working directory? In windows powershell

A

get-location

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

How do you set the path in windows powershell?

A

set-location

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

how do get a list of directory contents in windows powershell? /syntax

A

get-childitem
get-childitem path=C:\Windows\system32

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

How do you create a new diretory/file in powershell? /syntax

A

new-item
new-item -path=C:\Users\Bubo -name=baby -Itemtype=directory/file

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

How do you rename an item in windows powershell?

A

rename-item -path -newname

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

How do you copy an item in windows powershell?

A

copt-item -path -destination -recurse

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

How do you remove an item in windows PowerShell??

A

remove-item -path -include(if looking for anyhting specific)

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

How do you get a tasklist in Powershell?

A

get-process

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

How do you kill a process in Powershell?

A

stop-process -name -ID

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

What kind of OS does basic phones use? What about advanced phones?

A

Real-time OS, General-purpose OS

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

What’s multi-factor authentication? What are the three things it uses?

A

needing more then one way to properly authenticate (something you know, password) (something you have, token) (Something you are, fingerprints)

24
Q

What are some android alternatives?

A

Lineage OS, Replicant

25
What is the core of the android platform and what version does android specifically use?
linuix, selinuix
26
What principle does selinuix use?
principle of default denial
27
How does android protect its applications?
using application sandbox?
28
How does android receive updates?
over-the-air(OTA)
29
What's it called when you gain access to the kernel on android/ios
rooting/jailbreaking
30
What kind of rooting requires the device be vulnerable to privilege escalation
soft rooting
31
What kind of rooting flashes a binary executable?
hard rooting
32
What is it called when you download apps from somewhere other than the google play store?
sideloading
33
What are some of the advantages of rooting ?
install a new os, removal of bloatware, ioncreased performance, sideloading
34
What are it's disadvantages?
bricking/exposing too bugs/hackers
35
What kernel is used by apple?
XNU kernel (Darwin)
36
What uses hardwire-based encryption that can't be disabled by the user?
IOS
37
What is the secure enclave?
holds encryption keys
38
The boot ROM code contains the Apple Root Certificate Authority (CA) public key, used to verify the _____ is signed by apple before allowing it to load
iBoot Loader
39
How do you complete system updates on IOS?
Itunes/finder Over The air (OTA)
40
IOS allows users to download third-party apps T/F?
False
41
What does jailbreaking require in IOS?
breaking the chain of trust
42
What are the four primary methods of jailbreaking? what do they require?
untethered jailbreaking: reverse engineering tethered, semi-tethered, semi-untethered: requires the IOS be initially attached to an computer
43
What's a file system?
the way dtat is stored, named, organized, and accessed on a disk volume
44
What's the physical layer?
hard drives cd/dvd, thumb drive
45
What's the file system layer?
file system structural details such as file allocation unit sizes, structures offsets, and mounting information
46
What's the first sector of a file system data structure called?
superblock/boot sector
47
What is the data layer?
where the actual file and directory data is stored
48
What is used to keep track of the free available space on a drive?
bitmap
48
What is it called when file is/is not using an data block
allocated/ unallocated 1.0
49
What is it called when data is stored right next too each other?
contiguous
50
What does e the system do when contingous blocks aren't available to fit a large file?
fragmenting
51
What is linked allocation?
the process of locating data using pointers (the first pointer ids loaded from the directory entry) Then is sent to where the data is located, after laoding it then it will go to the next
52
What is indexed allocation?
each file has an index that contains the location pointers for each piece of the file
53
What is the metadata layer?
data about data
54
What is the filename layer?
How a user interfaces with a file system and contains data that assigns a name to each file