Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
4d4e75c
Update searchindex (purged history; keep current)
Aug 20, 2025
ff722ed
f
carlospolop Aug 20, 2025
6f8143e
f
carlospolop Aug 20, 2025
14f0f45
f
carlospolop Aug 20, 2025
008a47f
f
carlospolop Aug 20, 2025
ada6a02
f
carlospolop Aug 21, 2025
af88435
Update searchindex (purged history; keep current)
Aug 21, 2025
df49473
f
carlospolop Aug 21, 2025
861778a
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Aug 21, 2025
3b71753
Update searchindex (purged history; keep current)
Aug 27, 2025
9c0d8a4
Add content from: HTB: TheFrizz
Aug 27, 2025
5fb9c68
f
carlospolop Aug 28, 2025
9754d1c
Fix formatting in README.md for file upload section
carlospolop Aug 28, 2025
ac50f1b
Update searchindex (purged history; keep current)
Aug 28, 2025
0dc6eb6
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Aug 28, 2025
083f622
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Aug 28, 2025
5e2e2a3
Update searchindex (purged history; keep current)
Aug 29, 2025
7532a73
f
carlospolop Aug 29, 2025
f557908
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Aug 29, 2025
c7127d2
Update searchindex (purged history; keep current)
Aug 29, 2025
74ab6c7
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Aug 29, 2025
a1ae585
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Aug 29, 2025
b26177a
Merge pull request #1331 from HackTricks-wiki/update_DLL_ForwardSideL…
carlospolop Aug 29, 2025
40ff109
Update searchindex (purged history; keep current)
Aug 29, 2025
6c9af82
Add content from: SoTap: Lightweight in-app JNI (.so) behavior logger…
Aug 29, 2025
83b0844
Add content from: SoTap: Lightweight in-app JNI (.so) behavior logger…
Aug 29, 2025
4bc8a8a
Add content from: GodFather - Part 1 - A multistage dropper
Aug 29, 2025
1818c16
Add content from: Cache Me If You Can: Sitecore Experience Platform C…
Aug 29, 2025
07cfe6e
Add content from: The Art of PHP: CTF‑born exploits and techniques
Aug 30, 2025
f0d2e57
Add content from: HTB Eureka: From Actuator HeapDump to SSH, credenti…
Aug 30, 2025
70c2c5d
Add content from: Advisory – Netskope Client for Windows – Local Priv…
Aug 30, 2025
b85dfdf
Add content from: SSLPinDetect: Advanced SSL Pinning Detection for An…
Sep 1, 2025
d2d11f9
Merge branch 'master' into update_HTB__TheFrizz_20250827_141120
carlospolop Sep 3, 2025
400b46b
Merge pull request #1361 from HackTricks-wiki/update_This_House_is_Ha…
carlospolop Sep 3, 2025
652a8c4
Update searchindex (purged history; keep current)
Sep 3, 2025
c09b076
Update SUMMARY.md
carlospolop Sep 3, 2025
8352a3e
Merge branch 'master' into update_Cache_Me_If_You_Can__Sitecore_Exper…
carlospolop Sep 3, 2025
fb17876
updates
carlospolop Sep 3, 2025
67d704e
updates
carlospolop Sep 3, 2025
ef47d69
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Sep 3, 2025
ee674ab
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Sep 3, 2025
9729a17
Drop unwanted changes in deserialization/README.md and av-bypass.md
carlospolop Sep 3, 2025
0799bd9
Update README.md
carlospolop Sep 3, 2025
6e4ac55
Fix typo: corrected 'HTLM' to 'NTLM'
Wvisee Sep 3, 2025
5e88279
Merge pull request #1375 from HackTricks-wiki/update_SSLPinDetect__Ad…
carlospolop Sep 3, 2025
f6007b4
Merge pull request #1365 from HackTricks-wiki/research_update_src_win…
carlospolop Sep 3, 2025
525f6d7
Merge pull request #1374 from HackTricks-wiki/update_Advisory___Netsk…
carlospolop Sep 3, 2025
377de87
Merge pull request #1364 from HackTricks-wiki/update_Chasing_the_Silv…
carlospolop Sep 3, 2025
f4322c5
Merge pull request #1373 from HackTricks-wiki/update_HTB_Eureka__From…
carlospolop Sep 3, 2025
d4cf02b
Merge pull request #1363 from HackTricks-wiki/update_HTB_Sendai__From…
carlospolop Sep 3, 2025
2a44001
Merge pull request #1372 from HackTricks-wiki/update_The_Art_of_PHP__…
carlospolop Sep 3, 2025
ff6e21e
Merge pull request #1370 from HackTricks-wiki/update_GodFather_-_Part…
carlospolop Sep 3, 2025
c3e1d89
Update searchindex (purged history; keep current)
Sep 3, 2025
fe7e24b
f
carlospolop Sep 3, 2025
f05afa0
f
carlospolop Sep 3, 2025
ce79b76
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Sep 3, 2025
789a2b7
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Sep 3, 2025
d9f5413
Update searchindex (purged history; keep current)
Sep 3, 2025
bbd2a4a
Add content from: Research Update: Enhanced src/windows-hardening/act…
Sep 4, 2025
326ca80
Merge pull request #1367 from HackTricks-wiki/update_SoTap__Lightweig…
carlospolop Sep 4, 2025
63b0174
Merge pull request #1367 from HackTricks-wiki/update_SoTap__Lightweig…
carlospolop Sep 4, 2025
263d2a3
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Sep 4, 2025
3f2d215
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Sep 4, 2025
36cf553
Update searchindex (purged history; keep current)
Sep 4, 2025
3fcb36e
Add content from: ksmbd - Fuzzing Improvements and Vulnerability Disc…
Sep 4, 2025
3a9011a
Add content from: Unpatched Privilege Escalation in Service Finder Bo…
Sep 4, 2025
e176358
Add content from: Subverting code integrity checks to locally backdoo…
Sep 4, 2025
ae64d3f
Add content from: Demystifying 5G Security: Understanding the Registr…
Sep 5, 2025
df0735d
f
carlospolop Sep 5, 2025
e578644
f
carlospolop Sep 5, 2025
ed4ce4a
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Sep 5, 2025
08c1d1d
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Sep 5, 2025
e3033e1
f
carlospolop Sep 5, 2025
97f857b
f
carlospolop Sep 5, 2025
fbaf46c
Add content from: Build a Repeatable Android Bug Bounty Lab: Emulator…
Sep 5, 2025
fdf40e5
Merge pull request #1378 from Wvisee/master
carlospolop Sep 5, 2025
f786fad
Update searchindex (purged history; keep current)
Sep 5, 2025
26cd76f
new macos exploiting examples
carlospolop Sep 5, 2025
59a83a0
new macos exploiting examples
carlospolop Sep 5, 2025
e3775d8
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Sep 5, 2025
b010b39
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Sep 5, 2025
8e3e74e
Update searchindex (purged history; keep current)
Sep 5, 2025
591481a
Add content from: HTB Environment: Laravel env override (CVE‑2024‑523…
Sep 7, 2025
be775b0
f
carlospolop Sep 7, 2025
b74b2fb
f
carlospolop Sep 7, 2025
5cdd80f
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Sep 7, 2025
a3209f6
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Sep 7, 2025
f93acf5
Update searchindex (purged history; keep current)
Sep 7, 2025
b874860
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Sep 7, 2025
a869635
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Sep 7, 2025
2802c45
Update searchindex (purged history; keep current)
Sep 7, 2025
ae731e5
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Sep 7, 2025
4d8992e
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Sep 7, 2025
ede2f7f
Update domain-persistence.md
carlospolop Sep 7, 2025
8432dc9
Update wordpress.md
carlospolop Sep 7, 2025
ec6e40c
Merge pull request #1386 from HackTricks-wiki/update_Demystifying_5G_…
carlospolop Sep 7, 2025
c862301
Merge pull request #1379 from HackTricks-wiki/research_update_src_win…
carlospolop Sep 7, 2025
4966f6d
Update searchindex (purged history; keep current)
Sep 7, 2025
9df6b0d
Update laravel.md
carlospolop Sep 7, 2025
a971509
Delete searchindex.js
carlospolop Sep 7, 2025
8a3b5c4
Merge branch 'master' into update_HTB__TheFrizz_20250827_141120
carlospolop Sep 7, 2025
494eaec
f
carlospolop Sep 7, 2025
669714c
f
carlospolop Sep 7, 2025
cbcccd6
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Sep 7, 2025
4d6bd76
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Sep 7, 2025
25bf097
Merge pull request #1389 from HackTricks-wiki/update_HTB_Environment_…
carlospolop Sep 8, 2025
60bb4b1
Merge pull request #1388 from HackTricks-wiki/update_Build_a_Repeatab…
carlospolop Sep 8, 2025
bb54645
Merge pull request #1385 from HackTricks-wiki/update_Subverting_code_…
carlospolop Sep 8, 2025
711d068
Merge pull request #1371 from HackTricks-wiki/update_Cache_Me_If_You_…
carlospolop Sep 8, 2025
3735f2c
Merge pull request #1384 from HackTricks-wiki/update_Unpatched_Privil…
carlospolop Sep 8, 2025
8ab21c6
Merge pull request #1383 from HackTricks-wiki/update_ksmbd_-_Fuzzing_…
carlospolop Sep 8, 2025
74cc86a
Update searchindex (purged history; keep current)
Sep 8, 2025
194eca8
Add content from: The Rise of RatOn: From NFC heists to remote contro…
Sep 9, 2025
677b50f
Add content from: How I Found a Critical Password Reset Bug in the BB…
Sep 11, 2025
06f8b98
f
carlospolop Sep 25, 2025
a30a1c7
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
carlospolop Sep 25, 2025
ed0b944
f
carlospolop Sep 29, 2025
8f2203f
Merge pull request #1348 from HackTricks-wiki/update_HTB__TheFrizz_20…
carlospolop Sep 29, 2025
a92f4c8
fix preprocessor
carlospolop Sep 29, 2025
2a15b73
Merge branch 'master' into update_The_Rise_of_RatOn__From_NFC_heists_…
carlospolop Sep 29, 2025
584f0be
f
carlospolop Sep 29, 2025
f3b3004
Merge pull request #1396 from HackTricks-wiki/update_The_Rise_of_RatO…
carlospolop Sep 29, 2025
8490f85
f
carlospolop Sep 29, 2025
01c40dd
Merge branch 'master' into update_How_I_Found_a_Critical_Password_Res…
carlospolop Sep 29, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 29 additions & 13 deletions hacktricks-preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
logger.addHandler(handler2)


def findtitle(search ,obj, key, path=(),):
def findtitle(search, obj, key, path=()):
# logger.debug(f"Looking for {search} in {path}")
if isinstance(obj, dict) and key in obj and obj[key] == search:
return obj, path
Expand Down Expand Up @@ -54,26 +54,42 @@ def ref(matchobj):
if href.endswith("/"):
href = href+"README.md" # Fix if ref points to a folder
if "#" in href:
chapter, _path = findtitle(href.split("#")[0], book, "source_path")
title = " ".join(href.split("#")[1].split("-")).title()
logger.debug(f'Ref has # using title: {title}')
result = findtitle(href.split("#")[0], book, "source_path")
if result is not None:
chapter, _path = result
title = " ".join(href.split("#")[1].split("-")).title()
logger.debug(f'Ref has # using title: {title}')
else:
raise Exception(f"Chapter not found for path: {href.split('#')[0]}")
else:
chapter, _path = findtitle(href, book, "source_path")
logger.debug(f'Recursive title search result: {chapter["name"]}')
title = chapter['name']
result = findtitle(href, book, "source_path")
if result is not None:
chapter, _path = result
logger.debug(f'Recursive title search result: {chapter["name"]}')
title = chapter['name']
else:
raise Exception(f"Chapter not found for path: {href}")
except Exception as e:
dir = path.dirname(current_chapter['source_path'])
rel_path = path.normpath(path.join(dir,href))
try:
logger.debug(f'Not found chapter title from: {href} -- trying with relative path {rel_path}')
if "#" in href:
chapter, _path = findtitle(path.normpath(path.join(dir,href.split('#')[0])), book, "source_path")
title = " ".join(href.split("#")[1].split("-")).title()
logger.debug(f'Ref has # using title: {title}')
result = findtitle(path.normpath(path.join(dir,href.split('#')[0])), book, "source_path")
if result is not None:
chapter, _path = result
title = " ".join(href.split("#")[1].split("-")).title()
logger.debug(f'Ref has # using title: {title}')
else:
raise Exception(f"Chapter not found for relative path: {path.normpath(path.join(dir,href.split('#')[0]))}")
else:
chapter, _path = findtitle(path.normpath(path.join(dir,href.split('#')[0])), book, "source_path")
title = chapter["name"]
logger.debug(f'Recursive title search result: {chapter["name"]}')
result = findtitle(path.normpath(path.join(dir,href)), book, "source_path")
if result is not None:
chapter, _path = result
title = chapter["name"]
logger.debug(f'Recursive title search result: {chapter["name"]}')
else:
raise Exception(f"Chapter not found for relative path: {path.normpath(path.join(dir,href))}")
except Exception as e:
logger.debug(e)
logger.error(f'Error getting chapter title: {rel_path}')
Expand Down
1 change: 1 addition & 0 deletions searchindex.js

Large diffs are not rendered by default.

20 changes: 8 additions & 12 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@
- [Bruteforce hash (few chars)](generic-methodologies-and-resources/python/bruteforce-hash-few-chars.md)
- [Basic Python](generic-methodologies-and-resources/python/basic-python.md)
- [Threat Modeling](generic-methodologies-and-resources/threat-modeling.md)
- [Blockchain & Crypto](blockchain/blockchain-and-crypto-currencies/README.md)
- [Lua Sandbox Escape](generic-methodologies-and-resources/lua/bypass-lua-sandboxes/README.md)

# 🧙‍♂️ Generic Hacking

Expand Down Expand Up @@ -234,6 +236,7 @@
- [Authentication Credentials Uac And Efs](windows-hardening/authentication-credentials-uac-and-efs.md)
- [Checklist - Local Windows Privilege Escalation](windows-hardening/checklist-windows-privilege-escalation.md)
- [Windows Local Privilege Escalation](windows-hardening/windows-local-privilege-escalation/README.md)
- [Abusing Auto Updaters And Ipc](windows-hardening/windows-local-privilege-escalation/abusing-auto-updaters-and-ipc.md)
- [Arbitrary Kernel Rw Token Theft](windows-hardening/windows-local-privilege-escalation/arbitrary-kernel-rw-token-theft.md)
- [Dll Hijacking](windows-hardening/windows-local-privilege-escalation/dll-hijacking.md)
- [Abusing Tokens](windows-hardening/windows-local-privilege-escalation/privilege-escalation-abusing-tokens.md)
Expand Down Expand Up @@ -444,6 +447,7 @@
- [NextJS](network-services-pentesting/pentesting-web/nextjs.md)
- [Nginx](network-services-pentesting/pentesting-web/nginx.md)
- [NodeJS Express](network-services-pentesting/pentesting-web/nodejs-express.md)
- [Sitecore](network-services-pentesting/pentesting-web/sitecore/README.md)
- [PHP Tricks](network-services-pentesting/pentesting-web/php-tricks-esp/README.md)
- [PHP - Useful Functions & disable_functions/open_basedir bypass](network-services-pentesting/pentesting-web/php-tricks-esp/php-useful-functions-disable_functions-open_basedir-bypass/README.md)
- [disable_functions bypass - php-fpm/FastCGI](network-services-pentesting/pentesting-web/php-tricks-esp/php-useful-functions-disable_functions-open_basedir-bypass/disable_functions-bypass-php-fpm-fastcgi.md)
Expand Down Expand Up @@ -490,6 +494,7 @@
- [135, 593 - Pentesting MSRPC](network-services-pentesting/135-pentesting-msrpc.md)
- [137,138,139 - Pentesting NetBios](network-services-pentesting/137-138-139-pentesting-netbios.md)
- [139,445 - Pentesting SMB](network-services-pentesting/pentesting-smb/README.md)
- [Ksmbd Attack Surface And Fuzzing Syzkaller](network-services-pentesting/pentesting-smb/ksmbd-attack-surface-and-fuzzing-syzkaller.md)
- [rpcclient enumeration](network-services-pentesting/pentesting-smb/rpcclient-enumeration.md)
- [143,993 - Pentesting IMAP](network-services-pentesting/pentesting-imap.md)
- [161,162,10161,10162/udp - Pentesting SNMP](network-services-pentesting/pentesting-snmp/README.md)
Expand Down Expand Up @@ -763,7 +768,7 @@
- [Stack Shellcode - arm64](binary-exploitation/stack-overflow/stack-shellcode/stack-shellcode-arm64.md)
- [Stack Pivoting - EBP2Ret - EBP chaining](binary-exploitation/stack-overflow/stack-pivoting-ebp2ret-ebp-chaining.md)
- [Uninitialized Variables](binary-exploitation/stack-overflow/uninitialized-variables.md)
- [ROP - Return Oriented Programing](binary-exploitation/rop-return-oriented-programing/README.md)
- [ROP & JOP](binary-exploitation/rop-return-oriented-programing/README.md)
- [BROP - Blind Return Oriented Programming](binary-exploitation/rop-return-oriented-programing/brop-blind-return-oriented-programming.md)
- [Ret2csu](binary-exploitation/rop-return-oriented-programing/ret2csu.md)
- [Ret2dlresolve](binary-exploitation/rop-return-oriented-programing/ret2dlresolve.md)
Expand All @@ -782,7 +787,7 @@
- [Windows Seh Overflow](binary-exploitation/stack-overflow/windows-seh-overflow.md)
- [Array Indexing](binary-exploitation/array-indexing.md)
- [Chrome Exploiting](binary-exploitation/chrome-exploiting.md)
- [Integer Overflow](binary-exploitation/integer-overflow.md)
- [Integer Overflow](binary-exploitation/integer-overflow-and-underflow.md)
- [Format Strings](binary-exploitation/format-strings/README.md)
- [Format Strings - Arbitrary Read Example](binary-exploitation/format-strings/format-strings-arbitrary-read-example.md)
- [Format Strings Template](binary-exploitation/format-strings/format-strings-template.md)
Expand Down Expand Up @@ -832,6 +837,7 @@
- [WWW2Exec - GOT/PLT](binary-exploitation/arbitrary-write-2-exec/aw2exec-got-plt.md)
- [WWW2Exec - \_\_malloc_hook & \_\_free_hook](binary-exploitation/arbitrary-write-2-exec/aw2exec-__malloc_hook.md)
- [Common Exploiting Problems](binary-exploitation/common-exploiting-problems.md)
- [Linux kernel exploitation - toctou](binary-exploitation/linux-kernel-exploitation/posix-cpu-timers-toctou-cve-2025-38352.md)
- [Windows Exploiting (Basic Guide - OSCP lvl)](binary-exploitation/windows-exploiting-basic-guide-oscp-lvl.md)
- [iOS Exploiting](binary-exploitation/ios-exploiting.md)

Expand Down Expand Up @@ -926,13 +932,3 @@
- [Post Exploitation](todo/post-exploitation.md)
- [Investment Terms](todo/investment-terms.md)
- [Cookies Policy](todo/cookies-policy.md)



- [Readme](blockchain/blockchain-and-crypto-currencies/README.md)
- [Readme](macos-hardening/macos-security-and-privilege-escalation/mac-os-architecture/macos-ipc-inter-process-communication/README.md)
- [Readme](network-services-pentesting/1521-1522-1529-pentesting-oracle-listener/README.md)
- [Readme](pentesting-web/web-vulnerabilities-methodology/README.md)
- [Readme](reversing/cryptographic-algorithms/README.md)
- [Readme](reversing/reversing-tools/README.md)
- [Readme](windows-hardening/windows-local-privilege-escalation/privilege-escalation-abusing-tokens/README.md)
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ With so many techniques it's good to have a scheme when each technique will be u
There are different was you could end controlling the flow of a program:

- [**Stack Overflows**](../stack-overflow/index.html) overwriting the return pointer from the stack or the EBP -> ESP -> EIP.
- Might need to abuse an [**Integer Overflows**](../integer-overflow.md) to cause the overflow
- Might need to abuse an [**Integer Overflows**](../integer-overflow-and-underflow.md) to cause the overflow
- Or via **Arbitrary Writes + Write What Where to Execution**
- [**Format strings**](../format-strings/index.html)**:** Abuse `printf` to write arbitrary content in arbitrary addresses.
- [**Array Indexing**](../array-indexing.md): Abuse a poorly designed indexing to be able to control some arrays and get an arbitrary write.
- Might need to abuse an [**Integer Overflows**](../integer-overflow.md) to cause the overflow
- Might need to abuse an [**Integer Overflows**](../integer-overflow-and-underflow.md) to cause the overflow
- **bof to WWW via ROP**: Abuse a buffer overflow to construct a ROP and be able to get a WWW.

You can find the **Write What Where to Execution** techniques in:
Expand Down
Loading