# ropes
Author: [roerohan](https://github.com/roerohan)
This can be solved using `strings` in Linux.
# Requirements
- `strings` command
# Source
- [ropes](./ropes)- [ropes (official)](https://redpwn.storage.googleapis.com/uploads/b896a5f99065a7df18d6ab3c6296c79f51f73ab0de3466944e08cbd2be4953fb/ropes)
# Exploitation
Run `strings` on the file to get the strings in the binary.
```bash$ strings ropes__PAGEZERO__TEXT__text__TEXT__stubs__TEXT__stub_helper__TEXT__cstring__TEXT__unwind_info__TEXT__DATA__nl_symbol_ptr__DATA__la_symbol_ptr__DATA__LINKEDIT/usr/lib/dyld/usr/lib/libSystem.B.dylibGive me a magic number: First part is: flag{r0pes_ar3_Second part is: just_l0ng_str1ngs}@dyld_stub_binder@_printf@_puts@_scanf_mh_execute_header!main__mh_execute_header_main_printf_puts_scanfdyld_stub_binder```
You can see there are 2 lines which contain the flag.
```First part is: flag{r0pes_ar3_Second part is: just_l0ng_str1ngs}```
The flag is:
```flag{r0pes_ar3_just_l0ng_str1ngs}