06 Flashcards

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
Q

What is the core of the android platform and what version does android specifically use?

A

linuix, selinuix

26
Q

What principle does selinuix use?

A

principle of default denial

27
Q

How does android protect its applications?

A

using application sandbox?

28
Q

How does android receive updates?

A

over-the-air(OTA)

29
Q

What’s it called when you gain access to the kernel on android/ios

A

rooting/jailbreaking

30
Q

What kind of rooting requires the device be vulnerable to privilege escalation

A

soft rooting

31
Q

What kind of rooting flashes a binary executable?

A

hard rooting

32
Q

What is it called when you download apps from somewhere other than the google play store?

A

sideloading

33
Q

What are some of the advantages of rooting ?

A

install a new os, removal of bloatware, ioncreased performance, sideloading

34
Q

What are it’s disadvantages?

A

bricking/exposing too bugs/hackers

35
Q

What kernel is used by apple?

A

XNU kernel (Darwin)

36
Q

What uses hardwire-based encryption that can’t be disabled by the user?

A

IOS

37
Q

What is the secure enclave?

A

holds encryption keys

38
Q

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

A

iBoot Loader

39
Q

How do you complete system updates on IOS?

A

Itunes/finder
Over The air (OTA)

40
Q

IOS allows users to download third-party apps T/F?

A

False

41
Q

What does jailbreaking require in IOS?

A

breaking the chain of trust

42
Q

What are the four primary methods of jailbreaking? what do they require?

A

untethered jailbreaking: reverse engineering
tethered, semi-tethered, semi-untethered: requires the IOS be initially attached to an computer

43
Q

What’s a file system?

A

the way dtat is stored, named, organized, and accessed on a disk volume

44
Q

What’s the physical layer?

A

hard drives cd/dvd, thumb drive

45
Q

What’s the file system layer?

A

file system structural details such as file allocation unit sizes, structures offsets, and mounting information

46
Q

What’s the first sector of a file system data structure called?

A

superblock/boot sector

47
Q

What is the data layer?

A

where the actual file and directory data is stored

48
Q

What is used to keep track of the free available space on a drive?

A

bitmap

48
Q

What is it called when file is/is not using an data block

A

allocated/ unallocated 1.0

49
Q

What is it called when data is stored right next too each other?

A

contiguous

50
Q

What does e the system do when contingous blocks aren’t available to fit a large file?

A

fragmenting

51
Q

What is linked allocation?

A

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
Q

What is indexed allocation?

A

each file has an index that contains the location pointers for each piece of the file

53
Q

What is the metadata layer?

A

data about data

54
Q

What is the filename layer?

A

How a user interfaces with a file system and contains data that assigns a name to each file