Shared Flashcard Set

Details

Level 1 Tech
N/A
26
Computer Networking
Not Applicable
06/11/2014

Additional Computer Networking Flashcards

 


 

Cards

Term
rm

-r
-f
-i
Definition
remove

-r = recursive
-f = force
-i = interactive
Term
append
Definition
add onto

(output) file1 >> file2
>> = add onto bottom

(output) file1 > file2
> = write over (replace) existing file

append = >> or >
Term
mv
Definition
move files (rename)

mv file file2

-rename or move locations
Term
man
Definition
pulls up manual if available

man command = man cp
Term
chmod

chown

chgrp
Definition
chmod 664 test.txt

rwx ugo
read write execute / user group other
r=4 w=2 x=1

chown chelsie text.txt
-you don't have to specify old owner, just new one

chown user: group (file/folder)
-changes owner and group

chgrp group (file/folder)
Term
cp

/*
~p
Definition
copy

sudo cp (file) (file location)

/* = copy contents of folder
~p = maintain all permissions
Term
.
..
Definition
. = current directory
.. = parent or previous directory

example: cd..
Term
cat

-n
Definition
concatenate
-It allows you to view the contents of a file

cat file1

-n = show number line

cat = output
Term
grep
Definition
search for

* = wildcard

grep test *.txt
-searches for test inside any .txt file
Term
ls

-a
-l
Definition
list

-a = list all files including hidden
-l = list all files permissions / attributes
Term
echo
Definition
-used to report anything you give it, or view variables

-use single quotes to not execute a variable or other special characters

echo "Hi" = Hi
echo 'Hello' = Hello
echo $PATH = (path you're on)
Term
ifconfig
Definition
interface configuration

ifconfig = look up IP address

-to change your IP address
sudo ifconfig Eth0 10.0.0.0
Term
nmap

-v
-sU
-T0-T5
-PN
-P
Definition
network mapping tool

-v = verbose (displays more detail)
-sU = UDP scans [sudo nmap -sU target]
UDP = one way, just listens
-T0-T5 = timing of scans 0=slowest 5=fastest
[nmap -PN -P 443 -T5 target]
-PN = no ping
-P = only scans specific ports (you can combine)
scan range / specific ports / multiple ports
1-1000 80 80,443
Term
Install Linux
Definition
Linux = 3 partitions

1 = root/boot (ext3 or ext4)
2 = /home (ext3 or ext4)
3 = swap (extra memory)

Server or Desktop
Server = headless
Desktop = GUI (graphical user interface)

Linux vs. GNU/Linux
Linux refers to the kernel
GNU/Linux refers to the distro (distribution)
Term
Netmask (subnet mask)
Definition
A mask used to determine what subnet and IP address belongs to.
Term
3 Internal IP Ranges
Definition
192.168.0.0 - 192.168.255.255

172.16.0.0 - 172.31.255.255

10.0.0.0 - 10.255.255.255
Term
Basic Networking Trouble Shooting
Definition
3 Examples:

-ping the router
-wiggle the cord
-check people around you
Term
DHCP
Definition
Dynamic host configuration protocol:

It assigns dynamic IP addresses to devices on a network.
Term
IP Address
Definition
Internet Protocol:

Numerical label assigned to each device on a network that uses the internet protocol for communication.
Term
Common Ports

21-
22-
23-
25-
80-
443-
1433-
3306-
3389-
Definition
21-FTP
22-SSH
23-telnet
25-smtp
80-http
443-https
1433-ms-SQL
3306-my-SQL
3389-RDP (remote desktop)
Term
sudo su
Definition
Become super user without super user password.
Term
Network Gateway
Definition
A device on a network that serves as an entrance to another network.
Term
DMZ
Definition
Demilitarized Zone

A computer or small sub network that sits between a trusted internal network and an untrusted public network.
Term
su

su-
Definition
Super User

su = keep same path

su- = brings you back

*Difference:
su- changes your present working directory (pwd) and your path.
Term
Vim Commands

I
A
gg
G
dd
y
p
shift v
Definition
Vim = command line text editor

I = insert at the beginning of the line
A = insert at the end of the line
gg = takes you to the top of the page
G = takes you to the last line of the page
dd = delete entire line
y = yank (copy)
p = paste
shift v = highlight line to yank
shift v+y+p
Term
nasl

How do you run a nasl?

Where are they stored?
Definition
Nessus Attack Scripting Language
-nasl refers to Nessus plugin

To run:
sudo nasl -t (target) plugin.nasl

Where they are stored:
/var/lib/nessus/plugin
Supporting users have an ad free experience!