This is a list of methods for messing with urls. These are often useful for bypassing filters, SSRF, or creating convincing links that are difficult to differentiate from legitimate urls.
Credit: https://gist.github.com/tinogomes/c425aa2a56d289f16a1f4fcb8a65ea65
Tool: https://github.com/taviso/rbndr
Hosted: https://lock.cmpxchg8b.com/rebinder.html
URL is actually https://example.org/\u202emoc.elgoog.www (\u202d can be used to flip back to LTR text).
Adding garbage makes this more convincing.
- https://example.org/moc.elgoog.www//:sptth
- https://example.org/=yreuq&8758972890375872=t?/moc.elgoog.www//:sptth
The "slash" after google is actually '⁄' (\u2044). '∕' (\u2215) also seems like a good option
1/2. \u0008 = %08 = backspace. This might work on windows systems, particularly when displayed to console.
3. %09 = tab, can be used to wrap lines
4. %0D = \r, breaks lines
5. %0A = \n, breaks lines
6. Uses ANSI color codes. '\u001b[30mhidden', means "hidden" and text after it will be black (until \u001b[0m).
7. Blank braille pattern (\u2800)
- https://www.example.com/������������google.com/search
- https://www.example.com/%08%08%08%08%08%08%08%08%08%08%08%08%08google.com
- https://www.example.com/%09page
- https://www.example.com/%0Dpage
- https://www.example.com/%0Apage
- https://www.example.com/page/index�[30m-hidden�[0m
- https://www.google ⠀ ⠀ ⠀ ⠀ ⠀⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀.example.com
These should still all work in some cases!
1. Username that looks like a domain
2. Long url, may work if the start of the url is truncated
3. Long subdomain, may work if end of domain is truncated
(you can try using other characters or whitespace unicode for #2 and #3)
- https://google.com.abc.example@example.com
- https://example.com/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.google.com
- https://google.com.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.example.com