echo '90oijsdv09uOIDVlkcndvwn' | base64 -d
echo '90oijsdv09uOIDVlkcndvwn' | base64 -d | tr ";" "\n"
echo '90oijsdv09uOIDVlkcndvwn' | base64 -d
echo '90oijsdv09uOIDVlkcndvwn' | base64 -d | tr ";" "\n"
NMap command to remember
NMAP -sP 192.168.1.0/24 = to ping all systems in that range
NMAP -sT -p 80,443 192.168.1.0/24 = search all IPs for defined open ports
sudo NMAP -sS -p 80,443 192.168.1.0/24 = stealth search all IPs for defined open ports
sudo NMAP -sS 192.168.1.90 = stealth search for all open ports, best to do this one machine at a time
sudo NMAP -O 192.168.1.90 = OS detection
sudo NMAP -A 192.168.1.90 = OS detection
hide yourself, -D sets the decoy IP address
sudo NMAP -sS -D 192.168.5.5 192.168.1.22
check vulnerabilities in systems
sudo NMAP --script vuln 192.168.1.90
if you type in a command and it needs Sudo, just type in sudo !! (bang, bang), it will run the command you just type without sudo with sudo.... speed
CTRL + K will removes all text at the curser
CTRL + W will remove words in command line
TOP questions
What version of Linux are you using ?
uname -a
What ip address is assigned
ip addr show
How would you check for drive space
df -h
How would show the size of a folder
du -sh foldername
How would you check for open ports, listening
netstate -tulpn (you need root to see the program)
How would check CPU and system usage
top
How would you find help for a command
man netstat
User and groups
cat /etc/group
review this file, look for root and if anyone was added, look at wheel and if anyone was added.
cat /etc/shadow
review this file, you will need sudo, Look for users and make sure they have :$6$ for 512 encryption
cat /etc/passwd
review this file and match up the nologin for users or service accounts
Windows 10 by default prioritizes it's self for your band width, if you have a gaming PC or a laptop you probably do not want Windows 10 deciding when to us your bandwidth, specially if you are on a limited band width connection (Not everyone has high speed) and of course Windows will start using bandwidth when you need it most, like in a zoom call or downloading something for work.
Lets fix that
This is for Windows 10 Pro so we can use gpedit.msc to change it.
For Windows 10 Home version, you will have to edit the registry (if you are not comfortable editing your registry do not apply this fix)
You may or may not see any improvement but you know that Microsoft isn't using your bandwidth when you don't want them too.
enjoy
I am doing this so I don't forget....
Follow the steps below until they no longer work....
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt update && sudo apt install sublime-text