Basic Operating Systems
Basic Operating Systems
Linux:
1.Kali Linux
2.Parrot OS
3.Ubuntu
Kali Linux:
Two methods to run:
1.Booting 2.Virtual
Installed
Live
1 2 4 8 16 32 64 128
66 0 1 0 0 0 0 1 0
99 0 1 1 0 0 0 1 1
128 1 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 1
1 2 4 8 16 32 64 128
1/0 = 1 Bit
8 Bits= 1 Byte
Kilobyte {KB}
Megabyte {MB}
Gigabyte {GB}
Terabyte {TB} =1024
Petabyte {PB}
Exabyte {EB}
Zettabyte {ZB}
Yottabyte {YB}
Brontobyte {BB}
Bonus...!
Therefore,
IP Address
1. IPv4
2. IPv6
1. IPv4:
e.g. 192.168.1.1
i.e. 11000000.10101000.00000001.00000001
0.0.0.0
to
255.255.255.255
Class A,B,C are reserved and used for LAN and WAN
Process:
IP address
192.168.1.5 = 11000000.10101000.00000001.00000101
Subunit Mask
255.255.255.0 = 11111111.11111111.11111111.00000000
11000000.10101000.00000001.00000000 = 192.168.1.
Therefore,
192.168.1.0 Network Id
to
192.168.1.255 Broadcast IP Address
The rest of the IP addresses that lie in between the Network ID and Broadcast IP
address is known as "Valid IP Address"
"Notations: Total number of Consecutive One's {1's} in the binary form of any IP
address
/8 255.0.0.0
/9 255.128.0.0
/10 255.192.0.0
/11 255.224.0.0
/12 255.240.0.0
/13 255.248.0.0
/14 255.252.0.0
/15 255.254.0.0
/16 255.255.0.0
/17 255.255.128.0
/18 255.255.192.0
/19 255.255.224.0
/20 255.255.240.0
/21 255.255.248.0
/22 255.255.252.0
/23 255.255.254.0
/24 255.255.255.0
/25 255.255.255.128
/26 255.255.255.192
/27 255.255.255.224
/28 255.255.255.240
/29 255.255.255.248
/30 255.255.255.252
/31 255.255.255.254
/32 255.255.255.255
IPv6 Address:
.128 bit address
.8 Octets
.Size of each octet is 16 bit
.Hexadecimal to binary
Hexadecimal = 0 1 2 3 4 5 6 7 8 9 A B C D E F
{Each decimal is 4 bit}
Hexadecimal to Binary
0 0000
2 0010
3 0011
4 0100
5 0101
6 0110
7 0111 {Binary Form of Hexadecimals}
8 1000
9 1001
A 1010
B 1011
C 1100
D 1101
E 1110
F 1111
Range: 2000:0000:0000:0000:0000:0000:0000:0000
To
3fff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
Range: fc00:0000:0000:0000:0000:0000:0000:0000
To
fdff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
.Physical Address
.48 Bit Address
.Made of 6 Octets
.Each Octet's size is 8 Bit
In Linux
Protocols
UDP or TCP
TCP is not as fast as UDP but is accurate TCP can predict the loss
0-1023 is Reserved for Well known Services like https, ftp, smtp