Skip to content
Menu
myCloud myCloud

Personal short notes about Cloud

  • XMPie
  • AWS
    • AWS Topics
    • AWS Architecture
    • AWS CLI
    • AWS Health
    • AWS Policies
    • AWS Cost
  • CHEAT SHEETS
myCloud myCloud

Personal short notes about Cloud

Kali

By mikado on October 22, 2022October 27, 2022

cherryTree

Keep note (original in kali)

  • locate / updatedb
  • passwd
  • man

Users

  • chmod
  • adduser
  • /etc/passwd file (users)
  • /etc/shadow file
  • su (switch user)
  • sudo
  • sudoers file

Networking

  • ifconfig
  • iwconfig (wireless)
  • ping (ICMP)
  • arp -a  (maps IP address to MAC address)
  • netstat -ano (tool that display all connections and listening ports)
  • route (displays routing table)

Services

  • Service: start/stop services (service apache2 start)
  • Systemctl: Enable/disable services

Install

  • Installing updates with apt-get
  • Installing tools with apt-get
apt-get update && apt-get upgrade

Bash scripting

  • grep
  • cut
  • tr (translate)
  • script writing
  • for loops
ping 192.168.1.12 -c 1 > ip.txt
cat ip.txt | grep "64 bytes" | cut -d " " -f 4 | tr -d":"

Ipsweep.sh

#!/bin/bash
for ip in 'seq 1 254'; do
ping -c 1 $1.$ip | grep "64 bytes" | cut -d " " -f 4 | tr -d ":" &
done

The ampersand do threading (not one at a time)

$1 is user intput

To call:

./ipsweep.sh 192.168.1

for ip in $(cat iplist.txt); do nmap -sS -p 80 -T4 $ip & done

Hackthebox.eu

Vulnhub.com

Elearnsecurity.com

Oscp – offensive-security.com

Giac.org

10 things after kali linux install

1. Install GIT

pt install git

2. Configure bash aliases

Edit the hidden bash_aliases file

~/.bash_aliases

Add an alias

alias mikado='besside-ng wlan0'

3. New low privileged user

adduser mikado
usermod -aG sudo mikado

4. Install terminal multiplexer

apt install tilix

5. Install favorite tools

tools.kali.org/kali-metapackages

sudo apt update && sudo apt install kali-linux-rfid

6. Install latest version of Tor

Category: Linux

Categories

  • AWS (4)
  • AWS Architecture (8)
  • AWS CLI (5)
  • AWS Cost (3)
  • AWS Health (4)
  • AWS Policies (2)
  • AWS Topics (24)
  • CHEAT SHEETS (16)
  • Container (21)
  • Datadog (4)
  • Jenkins (2)
  • Linux (9)
  • Microsoft (7)
  • Python (1)
  • SCRIPTS (9)
  • Terraform (5)
  • XMPie (6)
©2025 myCloud
Click to Copy