Logo

Spring 2018 CIS 90 Lesson 2 - Shared screen with speaker view
Fergus
52:00
hi kimi
Kimi Kanda
53:44
Hi Fergus!!
Space Cowboy
56:35
Hello Fergus
Fergus
56:53
hello gangster from mars
Fergus
57:13
or is it gangster of love?
Space Cowboy
57:20
F-F-Fritz
Fergus
57:29
hey bud :)
Space Cowboy
57:35
But you can call me Maurice
Chris
57:53
Has role been called?
Kimi Kanda
57:58
For some reason Rich's screen is hard to read. Anyone have that challenge? I wonder if I should change my resolution?
Kimi Kanda
01:02:12
I love that question: What a terminal device really is: a place that has a name for you you read things from it and write things to it
elena
01:02:24
I can see everything correctly
Fergus
01:02:58
username = first 3 letters of lastname + 3 letters first name+90
Fergus
01:07:46
IT != psychic
Fergus
01:13:53
the CTC server room is very quite too
Fergus
01:13:59
quiet
Chris
01:16:13
Is it too late to send a mugshot?
Ciaran
01:17:03
if you forget the username for an account you need to SU into you can look in the /etc/passwd file
henry
01:20:57
https://www.hackerearth.com/practice/data-structures/hash-tables/basics-of-hash-tables/tutorial/ to learn about hash
Ein
01:22:03
uid=1240
November
01:22:25
1225
November
01:22:28
/home/cis90/wilnov
student
01:22:29
UID 1239
Chris
01:22:30
1229
Jo Anne Vandegriff
01:22:30
Could you repeat what we are to do with uid thanks
elena
01:22:32
1234
November
01:22:36
/bin/bash
Ein
01:22:42
home/cis90/winsha
Space Cowboy
01:22:50
1207
david a
01:22:53
user id 1226
Jo Anne Vandegriff
01:22:55
sorry just read it on file
Kimi Kanda
01:22:58
uid 1233
Brandon
01:22:58
1236
elena
01:23:00
/home/cis90/monele
david a
01:23:03
group id 1090
Richard B
01:23:04
1206
laine
01:23:06
ottlai90:x:1219:1090:Laine Otto-Rognlie:/home/cis90/ottlai:/bin/bash
Luis
01:23:07
1237
elena
01:23:12
bash
Edgar
01:23:21
1205/home/cis90/ausedgbash
Ein
01:23:23
shell==bash
Kimi Kanda
01:23:23
/home/cis90/kankim
henry
01:23:34
1235
Jetta
01:23:41
1221 1090 /home/cis90/ragjet:/bin/bash
Kimi Kanda
01:23:49
shell = /bin/bash
Adam
01:24:18
UID: 1227
Jo Anne Vandegriff
01:24:23
1224/home/cis90/vanjoa:/bin/bash
Fergus
01:24:27
what are the commands to get the UId?
Chris
01:24:41
no
Ein
01:24:42
nope
Ciaran
01:24:43
no
Jetta
01:24:44
no
elena
01:24:47
nope
Edgar
01:24:48
denied
david a
01:24:48
permission denied
Ein
01:24:49
I cannae do it
November
01:24:49
permission denied!
Kimi Kanda
01:24:49
no
henry
01:24:54
no
Kimi Kanda
01:24:58
what does cat out mean?
Brandon
01:25:04
no
Jo Anne Vandegriff
01:25:12
/bin/bash
henry
01:25:35
bash
student
01:25:46
bash
henry
01:26:11
/home/cis90/padhen90
stDan
01:26:28
fuldan90
Kimi Kanda
01:26:37
thanks. concatenate. the verb "cat-out" was new to me.
Jo Anne Vandegriff
01:26:38
can't view shadow
Kimi Kanda
01:26:42
that helps
Kimi Kanda
01:29:30
Can we see who is trying to brute force us personally? like on our own wifi router? at comcast or wherever?
Chris
01:31:23
is there a way to check that on the opus-ii server? if so is there a command to check that?
Kimi Kanda
01:31:41
I have that question too Chris!
November
01:32:15
must be cat /var/log/wtmp
November
01:32:21
like is on the slide
Chris
01:32:27
the "lastb" command does not give me the permission
Kimi Kanda
01:32:28
ah ok tx
Chris
01:32:48
Im denied
Fergus
01:32:53
yeah
Fergus
01:33:02
we are in the wrong directory proably
Kimi Kanda
01:35:48
I tried cat /var/log/wtmp and I got a screen full of putty that I had to control c out of
November
01:35:56
me too haha
Fergus
01:36:46
what was your path?
Fergus
01:36:49
type pwd
Jo Anne Vandegriff
01:38:30
lab due tonight? from last week? I thought it was due last night before midnight?
Fergus
01:38:31
ok so you were in the ~ direcotry
Fergus
01:38:41
tonight
Kimi Kanda
01:38:51
six random words will be guessable if someone knows you well perhaps - like the 20 questions game- you know a bit what your friends are thinking of or associating to
November
01:40:06
then pick random words--use a random number generator to pick pages and lines of the dictionary, or something like that
Ciaran
01:40:20
budget audit: why does cabrillo need a titan xp? because ethical hacking lab
Fergus
01:40:36
what is a titan xp
Ein
01:40:43
Would you use a GPU for cracking?
Kimi Kanda
01:40:45
this is like passing notes during class
Ciaran
01:40:53
yeah gpu hashing
Ein
01:40:54
That's more of a CPU thing, right?
Fergus
01:40:59
We host space for other schools
Ein
01:41:01
Oh, yeah.
Fergus
01:41:09
I asked rich that last week
November
01:41:12
yes, you would use a gpu
Fergus
01:41:22
And the server space is rented out to other schools
Jo Anne Vandegriff
01:44:01
thanks professor you just answered my question about lab 1. I thought labs were due on Tuesdays before midnight.
Ciaran
01:45:57
do you use 'ntpdate time.nist.gov' ?
Fergus
01:45:58
@rich is verify local only to your server?
Ciaran
01:52:01
after we finish this class do our opus accounts get deleted ?
Fergus
01:52:07
hit the SUBSCriBE button
Ciaran
01:54:27
does setting up a homelab with msserver that is also hosating stuff for me count as "educational use"
Kimi Kanda
02:00:30
oh bother, how do we join the group on linkedin?
Jo Anne Vandegriff
02:07:59
my local host won't work
Ciaran
02:08:00
localhost is a system name (hostname) not a user name
Fergus
02:10:22
༼ つ ◕_◕ ༽つ
Edgar
02:10:41
Why is it clipping off the "e"
Fergus
02:16:12
is that universal?
Fergus
02:16:21
or is that local to the server?
Ciaran
02:17:01
my debain server doesent have banner and its unable to locate a package for it
Fergus
02:18:34
so will most types be located in the main intstallation folder?
Kimi Kanda
02:20:14
so what do we need to memorize - how to learn these commands?
Fergus
02:20:58
you will probaly memorize the ones you use alot
Fergus
02:21:09
I'm making a cheat sheet in google docs as i go along
Kimi Kanda
02:21:57
do we get extra credit for pollicy
Kimi Kanda
02:22:07
spelling or was that last semester
Edgar
02:23:35
2+2 is 4 minus 1 that's 3
Edgar
02:23:41
quick maths
Chris
02:24:06
sick meemes
Chris
02:24:18
memes*
stDan
02:24:48
no
Edgar
02:24:51
red is a command
Kimi Kanda
02:24:53
red is a unix command
Moses
02:24:56
no
November
02:24:56
1: yes 2: no
Ein
02:24:57
yes
Ciaran
02:24:57
banner is in the sysvbanner package
Fergus
02:24:58
no
elena
02:25:02
yes
Moses
02:25:03
no to both
Jo Anne Vandegriff
02:25:05
yes
Edgar
02:25:06
red is a command
Edgar
02:25:10
blue is not a command
Chris
02:25:19
whatis red = Random Early Detection
Ein
02:25:21
blue==not a command
Fergus
02:25:22
woops in the bc still
Kimi Kanda
02:25:27
blue is not a command based on 'man red'
Jetta
02:25:30
blue is nopt
Kimi Kanda
02:25:32
blue i mean
Jetta
02:25:33
not*
Moses
02:25:35
no
Jo Anne Vandegriff
02:25:37
no
elena
02:25:39
no
Fergus
02:25:40
n
david a
02:25:42
no blue
student
02:25:46
no
Chris
02:25:48
nothing appropriate
stDan
02:25:50
no
Fergus
02:26:27
The goal is to have a small queue size, which is good for inter‐activity while not disturbing TCP/IP traffic with too many suddendrops after a burst of traffic.Depending on if ECN is configured, marking either means droppingor purely marking a packet as overlimit.
Fergus
02:28:28
why not just use PWD
Fergus
02:28:30
pwd?
darren
02:29:57
Which paths have priority?
Fergus
02:35:34
is it possible to corrupt them?
Kimi Kanda
02:38:40
echo is built in
Fergus
02:39:33
how do i draw
Jo Anne Vandegriff
02:40:51
can't get my annotation lines to work must have missed something in lecture
Chris
02:40:53
rip drawing :'(
Fergus
02:41:43
༼ つ ◕_◕ ༽つ
Space Cowboy
02:41:54
To draw, you need to go to the options at the top of the window and click on 'anotate', but it's only available when Rich enables it
Ciaran
02:41:56
my username and hostname is too long and im lazy, can I make a shell script in my LSW (linux subsystem for windows) like upus-ii.sh
Ciaran
02:42:09
will an ssh command in a script work corectly ?
Richard B
02:43:22
/usr/bin
Kimi Kanda
02:43:30
what Jo Anne said
Ein
02:44:45
/usr/bin/hostname
November
02:44:45
/usr/bin
Edgar
02:44:47
/usr/bin
Brandon
02:44:51
/usr/bin
Kimi Kanda
02:44:52
/user/bin/hostname
Paul O'Hare
02:44:53
/usr/bin
david a
02:44:54
/usr/sin
nate
02:44:56
/usr/bin/hostname
Space Cowboy
02:44:56
/usr/bin
Moses
02:44:57
usr bin
student
02:45:01
/user/bin
stDan
02:45:05
user bin
Paul O'Hare
02:45:09
binary
November
02:45:11
binary executable
elena
02:45:16
lsb executable
Jetta
02:45:18
binary
henry
02:45:21
scrip
Moses
02:45:32
no
November
02:45:33
not legibly
Jetta
02:45:34
no
david a
02:45:44
found> X1▒▒Z▒▒XK▒.▒▒8"ݍ▒_V▒a5▒d4▒.▒[ҕ▒▒L▒$@k/qk▒▒▒c▒D=#q▒Cۆ▒v▒wAo▒ד~▒▒_▒{T^▒Ԙ▒T▒▒▒+~1▒▒+M=▒oS▒D▒▒▒▒▒▒▒▒▒4▒/▒+,avy|▒FX*▒z▒!▒n▒hQ▒▒▒▒▒A▒ѥ]▒▒}▒ǔ▒▒▒X▒mqz&7▒▒eL▒▒Օ\E▒▒▒▒▒B▒L▒▒ ▒pQo▒fBD▒▒-bash: !▒n▒hQ▒▒▒▒▒A▒ѥ]▒▒}▒ǔ▒▒▒X▒mqz: event not found> f▒\▒▒▒Q▒▒(▒V-;▒▒W▒8&▒k> 2▒▒R▒=▒o▒M8^▒?▒8"w▒▒▒▒nY▒▒r▒▒/▒ŀ▒▒v<KfI▒EM▒.▒!▒▒Z▒p▒▒z▒ԉ▒▒̒R▒▒a▒▒▒*B&▒n▒Vg▒▒▒▒▒▒Q▒0▒;vq▒▒▒▒}▒▒▒▒s▒K2.▒q▒=▒:R▒/▒▒▒v▒]χ7▒▒>%w▒▒▒׿9▒▒U▒▒vY8▒D▒⥆'|▒ ▒▒▒@J8▒▒r▒?$l▒"<▒▒d▒▒▒MB▒4▒▒2▒▒▒-bash: !▒▒Z▒p▒▒z▒ԉ▒▒̒R▒▒a▒▒▒*B: event not found> NY+▒ǶRRg▒t▒> ▒▒3 .▒mլZ▒▒vpJy▒▒b˪]▒jQ▒▒0E▒<▒V%▒▒▒L1▒▒▒<> ▒▒ݾ▒▒▒▒f#=▒▒> ▒▒掘&▒A▒D[+▒▒a▒=▒▒,▒T▒p)▒▒cvQ▒Iɖ▒▒▒۝.▒ڢY▒+l8▒5▒▒▒▒▒▒T'▒|@▒▒Ëq▒6▒▒&▒> ޿▒▒F▒▒▒▒$▒a▒▒▒]ZBޥ▒_▒▒▒9y▒lGSj˧>D3&▒@ؿ▒#▒O▒▒]:▒d▒▒▒R▒▒{▒▒▒▒▒▒▒▒g▒▒Y▒Wv▒▒<y+Ye▒a▒+▒▒-▒F▒ˏ▒▒P▒▒PsB▒▒" N▒}▒h▒K▒▒BR▒ֲ▒▒▒▒>$l▒▒▒▒▒k▒s▒▒▒B▒▒▒R▒▒▒▒▒▒g▒YZ.shstrtab.interp.note.ABI
Edgar
02:45:55
yes
Fergus
02:45:58
༼ つ ◕_◕ ༽つyes
Jetta
02:46:00
it is a unix command
November
02:46:00
yes
Fergus
02:46:01
༼ つ ◕_◕ ༽つyes ༼ つ ◕_◕ ༽つ
Moses
02:46:02
y
Kimi Kanda
02:46:02
yes has a man page entry
Kimi Kanda
02:46:10
but i missed the cat
Ein
02:46:27
/usr/loca/bin
david a
02:46:30
/usr/local/bin
November
02:46:33
/usr/local/bin
Ein
02:46:36
*local
Kimi Kanda
02:46:38
usr local bin
student
02:46:43
/usr/local/bin
Fergus
02:46:43
༼ つ ◕_◕ ༽つ type scavenge ༼ つ ◕_◕ ༽つ
Moses
02:46:44
usr bin
Brandon
02:46:49
/usr/local/bin
November
02:46:54
script
Paul O'Hare
02:46:55
script
Fergus
02:46:58
script
Ein
02:47:20
yes
November
02:47:45
yes
Fergus
02:47:49
yes
Paul O'Hare
02:47:51
yes
Fergus
02:47:51
༼ つ ◕_◕ ༽つyes ༼ つ ◕_◕ ༽つ
Kimi Kanda
02:47:59
yes
Fergus
02:48:00
no
November
02:48:06
no
Paul O'Hare
02:48:06
no
Kimi Kanda
02:48:07
no
Jetta
02:48:08
no
Edgar
02:49:11
no
Fergus
02:49:31
@rich is it possible to corrupt someone's usr/bin to make their command line inoperable?
Fergus
02:49:48
like some crazy F the admin attack
Fergus
02:50:18
cat
Kimi Kanda
02:50:41
shift control c or shift control b for what I didn't hear that
Fergus
02:54:16
is any comman dfrom the usr/bin acceptable
Fergus
02:54:47
༼ つ ◕_◕ ༽つFEEDING ALPACAS ༼ つ ◕_◕ ༽つ
elena
03:01:16
@Kimi shift+control+c to copy from terminal
Kimi Kanda
03:03:31
tx elena!
Ciaran
03:08:22
sudo cp / /dev/null
elena
03:10:09
command: echo
Kimi Kanda
03:10:10
echo
November
03:10:10
echo
Ein
03:10:11
Command: echo
Edgar
03:10:12
Command: echo
Adam
03:10:13
ehco
david a
03:10:14
echo command
student
03:10:15
echo
laine
03:10:16
echo
Kimi Kanda
03:10:16
nope
Edgar
03:10:17
no
November
03:10:17
no
Ein
03:10:17
no
laine
03:10:19
no
david a
03:10:21
no options
stDan
03:10:22
echo
Ein
03:10:23
yes
Edgar
03:10:26
"I Love Linux"
Paul O'Hare
03:10:27
3
laine
03:10:29
+I love Linux
November
03:10:30
yeah
Ein
03:10:33
i Love linux
Ein
03:10:38
nope
laine
03:10:38
no
November
03:10:39
no
Edgar
03:10:39
no
stDan
03:10:40
I love Linux
laine
03:10:50
ls
Ein
03:10:50
ls
November
03:10:53
ls
david a
03:10:53
ls
Paul O'Hare
03:10:54
ls
Adam
03:10:54
ls
Edgar
03:10:54
ls
elena
03:10:55
ls
Moses
03:10:56
ls
Jetta
03:10:56
ls
david a
03:10:57
ls command
stDan
03:10:59
ls
Moses
03:11:03
-ld
elena
03:11:03
ld
Paul O'Hare
03:11:03
-ld
david a
03:11:03
-ld
Adam
03:11:04
-ld
Ein
03:11:04
options: -ld
Jetta
03:11:05
ld
laine
03:11:05
-ld
November
03:11:07
-l and -d
stDan
03:11:09
-ld
student
03:11:09
-ld
laine
03:11:11
/bin /usr/bin
Paul O'Hare
03:11:13
2
Ein
03:11:15
Arguments: /bin
Adam
03:11:17
/bin /usr/bin
david a
03:11:20
/bin
Moses
03:11:20
/bin /usr/bin
elena
03:11:20
/bin /user/bin
November
03:11:21
/bin /usr/bin
Ein
03:11:21
and /usr/bin
david a
03:11:23
/usr/bin
Ein
03:11:23
nope
November
03:11:23
no
Paul O'Hare
03:11:24
n
david a
03:11:25
no
elena
03:11:26
no
student
03:11:28
/bin /usr/bin
Kimi Kanda
03:11:30
no
stDan
03:11:33
/bin /user/bib/
Fergus
03:11:57
ls 0ld
November
03:12:13
file
Ein
03:12:14
Command: file
Paul O'Hare
03:12:14
file
Adam
03:12:16
file
david a
03:12:18
file command
Ein
03:12:20
none
Kimi Kanda
03:12:20
file
Paul O'Hare
03:12:20
0
stDan
03:12:20
file
November
03:12:21
2
Fergus
03:12:21
none
Adam
03:12:21
0
Fergus
03:12:24
null
david a
03:12:25
no options
Paul O'Hare
03:12:27
2
Ein
03:12:27
two
Adam
03:12:27
2
Moses
03:12:29
2
david a
03:12:30
2 arguments
Kimi Kanda
03:12:34
2
Adam
03:12:37
proposal1 timecal
Fergus
03:12:37
prop and timecal
November
03:12:38
proposal1, timecal
david a
03:12:39
proposal11 and timecal
Ein
03:12:39
proposal1 and timecal
Kimi Kanda
03:12:40
proposal1 timecal
Moses
03:12:40
proposal1 timecal
Ein
03:12:42
none
Paul O'Hare
03:12:43
n
Kimi Kanda
03:12:43
nope
Fergus
03:12:44
null4
student
03:12:44
proposall timecal
david a
03:12:45
no redirection
November
03:12:45
no
Moses
03:12:47
nda
stDan
03:12:49
proposal1 timecal
Kimi Kanda
03:12:53
what is a parser?
Kimi Kanda
03:12:57
that is a job?
November
03:13:04
he was joking
Kimi Kanda
03:13:10
or that is what a computer does
November
03:13:24
yeah, the shell does that automatically
Fergus
03:13:59
༼ つ ◕_◕ ༽つ > ༼ つ ◕_◕ ༽つ
Fergus
03:14:39
does taht return the type
Fergus
03:16:08
what does the $ do
nate
03:16:25
Make you intellectually rich
Fergus
03:16:32
༼ つ ◕_◕ ༽つgive $$$ ༼ つ ◕_◕ ༽つ
Fergus
03:19:14
echo $TERM
Ciaran
03:20:10
theres no java on opus
Fergus
03:21:14
PS1="Alpaca: > "
Fergus
03:21:29
༼ つ ◕_◕ ༽つ༼ つ ◕_◕ ༽つ༼ つ ◕_◕ ༽つ༼ つ ◕_◕ ༽つ
Fergus
03:22:09
this is great
Fergus
03:22:14
/n
Fergus
03:22:27
/n try this PS1="༼ つ ◕_◕ ༽つ "
Ciaran
03:23:33
PS1="$LOGNAME@$HOSTNAME $ "
Edgar
03:25:22
Why do we get tilde for working directory?
November
03:25:38
tilde is short for your home directory
Edgar
03:25:48
ah thank you
Kimi Kanda
03:32:52
cryptonite = \
Fergus
03:39:11
capital L
Edgar
03:39:15
syntax ls is capitalized
Fergus
03:39:22
bash
Edgar
03:39:25
shell
Fergus
03:39:39
do yuou know that becasue of the -?
Edgar
03:39:41
no such file
Edgar
03:39:48
shell
Fergus
03:39:50
shelll
November
03:39:54
program
Paul O'Hare
03:39:57
command
Fergus
03:40:01
ls
November
03:41:37
ls
Fergus
03:45:00
oh gaawd
Fergus
03:45:02
what is my pasword
Chris
03:53:19
bye everyone thanks rich
Kimi Kanda
03:53:44
bye tx everyone