r/Hacking_Tutorials • u/Michaelkamel • 11h ago
r/Hacking_Tutorials • u/Crazy-Rock-5412 • 11h ago
Question Could someone kindly explain this world to me a little? I'm very curious but I have no background.
Because earlier on Telegram, a guy told me where I lived and my real name. If someone kind enough, could you explain to me how he did it?
r/Hacking_Tutorials • u/Potential-Couple-745 • 10h ago
Question We added a free Red Team Operator L1 career path covering OSINT, web attacks, privilege escalation and Active Directory
I'm behind Codelivly. We've added a Red Team Operator Level 1 career path for people who want to get into offensive security.
It covers:
- Networking, reconnaissance and OSINT
- Web application security
- Password attacks
- Windows and Linux privilege escalation
- Active Directory fundamentals
- Lateral movement and reporting
The idea is to start with the fundamentals before moving into more advanced red teaming concepts.
We've included hands-on browser practice alongside the learning material. The simulations have limitations, so pairing them with your own lab environment is useful too.
Everything on Codelivly's learning platform is free. No subscription or credit card required.
https://codelivly.com/career-paths/red-team-operator-l1
I know this sounds promotional since I'm behind the platform, but I'm sharing it so people looking for free resources can find somewhere to start.
If you try it, I'd appreciate feedback on what we should improve.
r/Hacking_Tutorials • u/kinkySpiceee • 23h ago
Question 5 access.log lines. Which request would you investigate first?
You're reviewing a small web server's access log and spot these entries. One stands out.
192.0.2.45 - - [12/Oct/2024:14:22:01 +0000] "GET / HTTP/1.1" 200 1243 192.0.2.45 - - [12/Oct/2024:14:22:04 +0000] "GET /admin HTTP/1.1" 403 312 203.0.113.19 - - [12/Oct/2024:14:22:09 +0000] "GET /index.php?page=../../../../etc/passwd HTTP/1.1" 200 1847 203.0.113.19 - - [12/Oct/2024:14:22:11 +0000] "GET /login.php HTTP/1.1" 200 892 198.51.100.7 - - [12/Oct/2024:14:22:15 +0000] "POST /login.php HTTP/1.1" 302 0
Questions:
- Which IP and request would you look at first, and why?
- What does the successful 200 response on the long path suggest?
- Does the 403 on /admin mean the server is secure? Explain briefly.
- What would you check next (file contents, other logs, or something else)?
Bonus: Write the exact grep command that would pull every line containing the suspicious IP from a larger access.log file.
Post your reasoning. Beginners are welcome to answer just the first question.
r/Hacking_Tutorials • u/GlossSinful • 3h ago
Question Which line in these Linux auth.log SSH entries would you investigate first during triage—and why?
I’ve been brushing up on practical log triage and incident response habits lately, and one thing that always stands out when reviewing raw authentication logs is how easy it is to get tunnel-visioned on noisy failure spam while glossing over the one entry that actually changed state. When a server is exposed to the internet on port 22, background noise is practically guaranteed, so separating routine brute-force chatter from high-impact anomalies is half the battle.
Suppose you're reviewing a Linux server's /var/log/auth.log and pull up this tight 14-second window of sshd activity:
Oct 12 14:22:01 server sshd[1234]: Failed password for invalid user admin from 192.0.2.45 port 22 ssh2
Oct 12 14:22:04 server sshd[1235]: Failed password for invalid user root from 203.0.113.19 port 22 ssh2
Oct 12 14:22:09 server sshd[1236]: Accepted password for user alice from 198.51.100.7 port 22 ssh2
Oct 12 14:22:11 server sshd[1237]: Failed password for user alice from 203.0.113.19 port 22 ssh2
Oct 12 14:22:15 server sshd[1238]: Failed password for invalid user test from 192.0.2.45 port 22 ssh2
At a glance, you've got invalid-user probes (admin, root, test), a failed password attempt against a valid local account (alice), and a successful password authentication for alice right in the middle of the sequence. Even with a small snippet like this, different analysts and sysadmins will prioritize their first pivot differently depending on whether they lead with "state change first" (successful access), "known user targeting" (a valid account being hit), or "source correlation" (seeing if the same IPs show up across broader windows or other services).
To make it easy to jump in whether you're deep into blue-team work or just learning how to read auth.log, here are four prompts to unpack it:
- First pivot: Which IP address and log line would you investigate first, and what is your reasoning behind prioritizing it over the others?
- Successful auth: What does the
Accepted password for user alice from198.51.100.7entry suggest—and what context (like known VPN/office IPs, normal login hours, or password vs. SSH key usage) would tell you whether it's legitimate or a compromise? - Automated noise vs. targeted probing: Do the repeated
invalid userattempts from192.0.2.45(and theroot/alicehits from203.0.113.19) point to automated scanning/credential stuffing, or could there be more going on here? - Next investigation steps: Once you look at that initial line, what do you check next—other log files (like
syslog,auditd, or web/auth logs),alice's account/session activity andsudohistory, active network connections, or firewall/fail2ban rules?
Beginners are more than welcome to answer just the first question—share your reasoning and how you approach reading logs like this in the real world!
r/Hacking_Tutorials • u/omarww21 • 5h ago
Question Built a Python CLI wrapper (mm) to speed up authorized pentesting on Metasploitable 2
I was spending too much time typing out long Metasploit commands and switching between Nmap, Whatweb, and msfconsole during lab exercises. So, I built a small Python wrapper called mm to streamline the workflow.
It does a few things:
mm s: Runsnmap -sS -sV -Oin one command.mm w: Chains Whatweb, Nikto, and Gobuster.mm v**,**mm sm**, etc.**: Presets for common Metasploitable 2 vulnerabilities (vsftpd, Samba, etc.).mm auto: Scans the target and automatically tries matching exploits.
It's built for authorized lab environments (Metasploitable/HTB) and requires a -y flag to confirm legal authorization before running any command.
The code is open-source (MIT license). I'd love to get feedback on the architecture or any features I should add.
Link to GitHub repo: [https://github.com/omar24265/minimsf]
Disclaimer: This tool is for educational and authorized testing purposes only.