0c0a0d090b20
They will end input to functions such as scanf("%s").
| Byte | Escape Sequence | Name |
|---|---|---|
| 0c | \f | form-feed |
| 0a | \n | newline |
| """inaction_solve.py | |
| CTF: SuSeC CTF 2020 - https://ctftime.org/event/1007 | |
| Challenge: Inaction - https://ctftime.org/task/10729 | |
| Flag: SUSEC{5m4Rt___p0W___cH4lL3n93} | |
| twitter.com/0xTowel | |
| """ | |
| import re |
| """For my friends in OTA. | |
| --Towel, 2019 | |
| """ | |
| from functools import wraps | |
| class LimitCalls: | |
| """A decorator to limit the number of calls to a function. |
| # https://www.reddit.com/r/netsec/comments/biu9kc/moddetective_small_python_tool_that_analyzes_the/em3siw8 | |
| find / -type f -exec stat --format '%Y :%y %n' "{}" \; | sort -nr | cut -d: -f2- | head |
| #!/usr/bin/env python3 | |
| """A small example utility to demonstrate r2pipe scripting | |
| by extracting resources from a file. | |
| Written as an example for someone on IRC. | |
| --Towel, 2019 | |
| """ | |
| import r2pipe |
| [context] | |
| clear_screen = True | |
| layout = regs code stack memory args extra | |
| show_registers_raw = False | |
| nb_lines_stack = 6 |
| #!/usr/bin/env sage | |
| # -*- coding: utf-8 -*- | |
| # Towel 2019 | |
| """ | |
| Solution to 'Biggars' challenge from FireShell CTF 2019. | |
| A multi-prime RSA computation with large N requiring CRT | |
| to compute d rather than normal fast-power algorithm. | |
| """ |
| BITS 32 | |
| global _start | |
| section .text | |
| SYS_EXECVE equ 0x0b | |
| _start: | |
| xor ecx, ecx ; argv to zero | |
| mul ecx ; envp to zero, eax to zero | |
| add al, SYS_EXECVE ; syscall 11 for execve |
| " My bare-minimum, portable vimrc | |
| inoremap <special> jk <ESC> | |
| inoremap <special> kj <ESC> | |
| set clipboard^=unnamedplus | |
| set relativenumber | |
| set number | |
| set backspace=eol,start,indent | |
| set whichwrap+=<,>,h,l | |
| set ignorecase |
| /* | |
| * ------------------------------------------------------------ | |
| * "THE MATEWARE LICENSE" (Revision 1): | |
| * <author> wrote this code. As long as you retain this notice, | |
| * you can do whatever you want with this code. If you meet | |
| * <author> someday, and you think this code is worth it, | |
| * you can buy <author> a mate in return. | |
| * ------------------------------------------------------------ | |
| */ |