Naif Al-Anazi
Naif Al-Anazi

@naif_aiydh

24 تغريدة 96 قراءة Aug 06, 2021
في هذا الثريد جمعت لكم اغلب الاوامر المهمة مع الوصف لاختبار الاختراق في نظام التشغيل كالي لينكس 💻
للغرض التعليمي فقط 🥷🏻
الامر
nmap -v -sS -A -T4 target
الوصف
Nmap verbose scan, runs syn stealth, T4 timing (should be ok on LAN), OS and service version info, traceroute and scripts against services
الامر
nmap -v -sS -p--A -T4 target
الوصف
scans all TCP ports (takes a lot longer)
الامر
nmap -v -sU -sS -p- -A -T4 target
الوصف
scans all TCP ports and UDP scan (takes even longer)
الامر
nmap -v -p 445 --script=smb-check-vulns
--script-args=unsafe=1 192.168.1.X
الوصف
Nmap script to scan for vulnerable SMB servers - WARNING: unsafe=1 may cause knockover
الامر
ls /usr/share/nmap/scripts/* | grep ftp
الوصف
Search nmap scripts for keywords
الامر
nmap -sU TARGET
الوصف
Nmap UDP Scanning
الامر
./udp-protocol-scanner.pl -f ip.txt
الوصف
Scan a file of IP addresses for all services
الامر
udp-proto-scanner.pl -p ntp -f ips.txt
الوصف
Scan for a specific UDP service
الامر
lsof -i
الوصف
Show established connections.
الامر
macchanger -m MACADDR INTR
الوصف
Change MAC address on KALI Linux.
الامر
ifconfig eth0 192.168.2.1/24
الوصف
Set IP address in Linux.
الامر
ifconfig eth0:1 192.168.2.3/24
الوصف
Add IP address to existing network interface in Linux.
الامر
ifconfig eth0 hw ether MACADDR
الوصف
Change MAC address in Linux using ifconfig.
الامر
ifconfig eth0 mtu 1500
الوصف
Change MTU size Linux using ifconfig, change 1500 to your desired MTU.
الامر
dig -x 192.168.1.1
الوصف
Dig reverse lookup on an IP address.
الامر
host 192.168.1.1
الوصف
Reverse lookup on an IP address, in case dig is not installed.
الامر
dig @192.168.2.2 domain.com -t AXFR
الوصف
Perform a DNS zone transfer using dig.
الامر
host -l domain.com nameserver
الوصف
Perform a DNS zone transfer using host.
الامر
nbtstat -A x.x.x.x
الوصف
Get hostname for IP address.
الامر
ip addr add 192.168.2.22/24 dev eth0
الوصف
Adds a hidden IP address to Linux, does not show up when performing an ifconfig.
الامر
tcpkill -9 host google.com
الوصف
Blocks access to google.com from the host machine.
الامر
echo "1" > /proc/sys/net/ipv4/ip_forward
الوصف
Enables IP forwarding, turns Linux box into a router - handy for routing traffic through a box.
الامر
echo "8.8.8.8" > /etc/resolv.conf
الوصف
Use Google DNS.

جاري تحميل الاقتراحات...