Tuesday, June 7, 2022

 Steps to install and enable Broadcom WiFi devices in Kali Linux v 2022.2

This process works for the following devices


  • BCM4311
  • BCM4312
  • BCM4313
  • BCM4321
  • BCM4322
  • BCM43142
  • BCM43224
  • BCM43225
  • BCM43227
  • BCM43228
  • BCM4331
  • BCM4352
  • BCM4360


First

sudo apt update

Second

sudo apt install broadcom-sta-dkms

Third

sudo apt install broadcom-sta-source

Forth

reboot

enjoy your WiFi experience


Tuesday, May 31, 2022

base64 to decode in terminal

 echo '90oijsdv09uOIDVlkcndvwn' | base64 -d

 echo '90oijsdv09uOIDVlkcndvwn' | base64 -d | tr ";" "\n"



Thursday, November 18, 2021

 Look like you're a hacker in macOS


install HomeBrew

install htop

install cmatrix

arrange terminal windows to look like you are hacking the deathstart

Tuesday, September 21, 2021

 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





Saturday, April 3, 2021

5 Linux Shell tricks to remember

 

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 



Friday, December 11, 2020

Windows 10 Pro using your bandwidth

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.

  1. click start and gpedit.msc
  2. click Administrative Templates
  3. click Network
  4. double click QoS Packet Scheduler
  5. double click Limit reservable bandwidth
  6. click Enabled
  7. Set band width limit to 0
  8. click ok and reboot

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)

  1. click start and regedit.msc
  2. double click HKEY_LOCAL_MACHINE
  3. double click SOFTWARE
  4. double click Polices
  5. double click Microsoft
  6. right click on Microsoft and select New Key and call it Psched
  7. right click and select new DWORD
  8. name it NonBestEffortLimit and leave the default of zero
  9. close out of regedit and reboot

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




Friday, September 11, 2020

Install Subl for Kali

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