files given:
- delphi-07a5c9d07a4c20ae81a2ddc66b9602d0dcceb74b
- libtwenty.so-4a3918b2efd9fbdfd20eeb8fa51ca76bc42eb2f2
TL;DR
- Reverse Command Protocol
- Integer Overflow
- Metacharacter Injection
| int overflow() | |
| { | |
| char buf[136]; | |
| return read(0, &buf, 256u); | |
| } | |
| int main() | |
| { | |
| overflow(); | |
| return write(1, "WIN\n", 4u); |
| syntax enable | |
| set background=dark | |
| colorscheme molokai | |
| filetype plugin indent on | |
| let &t_SI .= "\<Esc>[?2004h" | |
| let &t_EI .= "\<Esc>[?2004l" | |
| inoremap <special> <expr> <Esc>[200~ XTermPasteBegin() |
| print["https://github.com%s"%x[9:-1]for x in __import__('re').findall('<a href="/[a-zA-Z0-9_]+/[a-zA-Z0-9_]+">',__import__('urllib2').urlopen("https://github.com/trending").read())if "/site/" not in x] |