Skip to content

Instantly share code, notes, and snippets.

readelf -s NCL-2017-Spring-InstructionsUnclear-X32 | grep -v alu
root@ggrins:~/Documents/NCL/Instructions Unclear Writeup# readelf -s NCL-2017-Spring-InstructionsUnclear-X32 | grep -v alu
Symbol table '.dynsym' contains 12 entries:
0: 00000000 0 NOTYPE LOCAL DEFAULT UND
1: 08048340 0 FUNC GLOBAL DEFAULT UND strcmp@GLIBC_2.0 (2)
2: 08048350 0 FUNC GLOBAL DEFAULT UND printf@GLIBC_2.0 (2)
3: 08048360 0 FUNC GLOBAL DEFAULT UND fflush@GLIBC_2.0 (2)
4: 08604760 4 OBJECT GLOBAL DEFAULT 15 stderr@GLIBC_2.0 (2)
5: 08048370 0 FUNC GLOBAL DEFAULT UND exit@GLIBC_2.0 (2)
6: 08048380 0 FUNC GLOBAL DEFAULT UND strlen@GLIBC_2.0 (2)
7: 08048390 0 FUNC GLOBAL DEFAULT UND fprintf@GLIBC_2.0 (2)
8: 08604764 4 OBJECT GLOBAL DEFAULT 15 stdout@GLIBC_2.0 (2)
9: 080483a0 0 FUNC GLOBAL DEFAULT UND sprintf@GLIBC_2.0 (2)
10: 080483b0 0 FUNC GLOBAL DEFAULT UND __isoc99_scanf@GLIBC_2.7 (3)
11: 00000000 0 FUNC GLOBAL DEFAULT UND sigaction@GLIBC_2.0 (2)
Symbol table '.symtab' contains 132916 entries:
0: 00000000 0 NOTYPE LOCAL DEFAULT UND
1: 080480f4 0 SECTION LOCAL DEFAULT 1
2: 08048108 0 SECTION LOCAL DEFAULT 2
3: 0804814c 0 SECTION LOCAL DEFAULT 3
4: 0804820c 0 SECTION LOCAL DEFAULT 4
5: 08048286 0 SECTION LOCAL DEFAULT 5
6: 080482a0 0 SECTION LOCAL DEFAULT 6
7: 080482d0 0 SECTION LOCAL DEFAULT 7
8: 080482e0 0 SECTION LOCAL DEFAULT 8
9: 08048330 0 SECTION LOCAL DEFAULT 9
10: 080483dc 0 SECTION LOCAL DEFAULT 10
11: 080592bc 0 SECTION LOCAL DEFAULT 11
12: 0805af40 0 SECTION LOCAL DEFAULT 12
13: 0805b000 0 SECTION LOCAL DEFAULT 13
14: 0805b030 0 SECTION LOCAL DEFAULT 14
15: 08604760 0 SECTION LOCAL DEFAULT 15
16: 00000000 0 FILE LOCAL DEFAULT ABS /tmp/lcc231272.o
17: 08604768 4 OBJECT LOCAL DEFAULT 15 __va_arg_tmp
18: 00000000 0 FILE LOCAL DEFAULT ABS /root/tools/movfuscator/b
19: 00000000 0 NOTYPE LOCAL DEFAULT ABS END
20: 0820458c 0 NOTYPE LOCAL DEFAULT 14 pushpop
21: 0805b4f8 0 NOTYPE LOCAL DEFAULT 14 or_0
22: 0805b500 0 NOTYPE LOCAL DEFAULT 14 or_1
23: 0805b518 0 NOTYPE LOCAL DEFAULT 14 and_0
24: 0805b520 0 NOTYPE LOCAL DEFAULT 14 and_1
25: 0805b538 0 NOTYPE LOCAL DEFAULT 14 xor_0
26: 0805b540 0 NOTYPE LOCAL DEFAULT 14 xor_1
27: 0805b558 0 NOTYPE LOCAL DEFAULT 14 xnor_0
28: 0805b560 0 NOTYPE LOCAL DEFAULT 14 xnor_1
131115: 08204588 0 NOTYPE LOCAL DEFAULT 14 pop_guard
131116: 08404590 0 NOTYPE LOCAL DEFAULT 14 push_guard
131117: 08604640 0 NOTYPE LOCAL DEFAULT 14 no_fault
131118: 00000000 0 FILE LOCAL DEFAULT ABS
131119: 0805af40 0 OBJECT LOCAL DEFAULT 12 _DYNAMIC
131120: 0805b000 0 OBJECT LOCAL DEFAULT 13 _GLOBAL_OFFSET_TABLE_
131137: 0820445c 0 NOTYPE GLOBAL DEFAULT 14 b3
131144: 08604644 0 NOTYPE GLOBAL DEFAULT 14 sa_dispatch
131181: 08048457 0 NOTYPE GLOBAL DEFAULT 10 _start0
131182: 08204570 0 NOTYPE GLOBAL DEFAULT 14 branch_temp
131189: 08048340 0 FUNC GLOBAL DEFAULT UND strcmp@@GLIBC_2.0
131232: 084045b0 0 NOTYPE GLOBAL DEFAULT 14 sesp
131233: 0860460c 0 NOTYPE GLOBAL DEFAULT 14 jmp_r3
131247: 08604604 0 NOTYPE GLOBAL DEFAULT 14 jmp_r1
131249: 08048350 0 FUNC GLOBAL DEFAULT UND printf@@GLIBC_2.0
131262: 08048360 0 FUNC GLOBAL DEFAULT UND fflush@@GLIBC_2.0
131269: 084045a4 0 NOTYPE GLOBAL DEFAULT 14 fp
131286: 08604760 4 OBJECT GLOBAL DEFAULT 15 stderr@@GLIBC_2.0
131350: 08604610 0 NOTYPE GLOBAL DEFAULT 14 jmp_f0
131388: 08604630 0 NOTYPE GLOBAL DEFAULT 14 ext_ret_val
131391: 0860475c 0 NOTYPE GLOBAL DEFAULT 14 _edata
131417: 084045a0 0 NOTYPE GLOBAL DEFAULT 14 sp
131430: 0805b4e8 0 NOTYPE GLOBAL DEFAULT 14 D1
131437: 08204564 0 NOTYPE GLOBAL DEFAULT 14 sf
131494: 0820456c 0 NOTYPE GLOBAL DEFAULT 14 cf
131605: 0805b510 0 NOTYPE GLOBAL DEFAULT 14 and
131623: 08048457 0 NOTYPE GLOBAL DEFAULT 10 master_loop
131632: 084045d0 0 NOTYPE GLOBAL DEFAULT 14 sel_target
131744: 08604620 0 NOTYPE GLOBAL DEFAULT 14 jmp_d1
131804: ffdfffa0 0 NOTYPE GLOBAL DEFAULT ABS pop
131808: 084045e4 0 NOTYPE GLOBAL DEFAULT 14 data_p
131819: 084045e0 0 NOTYPE GLOBAL DEFAULT 14 sel_data
131870: 0805b4c8 0 NOTYPE GLOBAL DEFAULT 14 R2
131876: 0805b4c0 0 NOTYPE GLOBAL DEFAULT 14 R0
131884: 08204580 0 NOTYPE GLOBAL DEFAULT 14 stack_temp
131913: 084045d8 0 NOTYPE GLOBAL DEFAULT 14 target
131916: 0805b4d4 0 NOTYPE GLOBAL DEFAULT 14 F1
131972: 08048370 0 FUNC GLOBAL DEFAULT UND exit@@GLIBC_2.0
132006: 08204450 0 NOTYPE GLOBAL DEFAULT 14 b0
132020: 080483d0 0 NOTYPE GLOBAL DEFAULT 9 dispatch
132021: 08204458 0 NOTYPE GLOBAL DEFAULT 14 b2
132051: 08048380 0 FUNC GLOBAL DEFAULT UND strlen@@GLIBC_2.0
132052: 086046d0 0 NOTYPE GLOBAL DEFAULT 14 sa_loop
132069: 08048390 0 FUNC GLOBAL DEFAULT UND fprintf@@GLIBC_2.0
132072: 0805b550 0 NOTYPE GLOBAL DEFAULT 14 xnor
132082: 08204560 0 NOTYPE GLOBAL DEFAULT 14 zf
132129: 08604600 0 NOTYPE GLOBAL DEFAULT 14 jmp_r0
132133: 08604608 0 NOTYPE GLOBAL DEFAULT 14 jmp_r2
132193: 08804770 0 NOTYPE GLOBAL DEFAULT 15 _end
132215: 080483dc 0 NOTYPE GLOBAL DEFAULT 10 _start
132225: 0805b530 0 NOTYPE GLOBAL DEFAULT 14 xor
132226: 0805b030 14 OBJECT GLOBAL DEFAULT 14 def_not_the_flag
132229: 08604770 0 NOTYPE GLOBAL DEFAULT 15 discard
132244: 08604614 0 NOTYPE GLOBAL DEFAULT 14 jmp_f1
132248: 08048904 54265 FUNC GLOBAL DEFAULT 10 validate
132280: 08604764 4 OBJECT GLOBAL DEFAULT 15 stdout@@GLIBC_2.0
132288: 0860475c 0 NOTYPE GLOBAL DEFAULT 15 __bss_start
132315: 08055cfd 13750 FUNC GLOBAL DEFAULT 10 main
132322: 08204568 0 NOTYPE GLOBAL DEFAULT 14 of
132334: 0805b4f0 0 NOTYPE GLOBAL DEFAULT 14 or
132358: 0805b4e0 0 NOTYPE GLOBAL DEFAULT 14 D0
132386: 084045c8 0 NOTYPE GLOBAL DEFAULT 14 on
132446: 08604634 0 NOTYPE GLOBAL DEFAULT 14 external
132451: ffdfff98 0 NOTYPE GLOBAL DEFAULT ABS push
132493: 08604638 0 NOTYPE GLOBAL DEFAULT 14 fault
132520: 084045f0 0 NOTYPE GLOBAL DEFAULT 14 stack
132554: 084045c0 0 NOTYPE GLOBAL DEFAULT 14 sel_on
132582: 080483a0 0 FUNC GLOBAL DEFAULT UND sprintf@@GLIBC_2.0
132584: 080483b0 0 FUNC GLOBAL DEFAULT UND __isoc99_scanf@@GLIBC_2.7
132654: 08604618 0 NOTYPE GLOBAL DEFAULT 14 jmp_d0
132712: 00000000 0 FUNC GLOBAL DEFAULT UND sigaction@@GLIBC_2.0
132745: 084045cc 0 NOTYPE GLOBAL DEFAULT 14 toggle_execution
132772: 0805b4cc 0 NOTYPE GLOBAL DEFAULT 14 R3
132781: 0805b4c4 0 NOTYPE GLOBAL DEFAULT 14 R1
132815: 0805b4d0 0 NOTYPE GLOBAL DEFAULT 14 F0
132839: 086045f0 0 NOTYPE GLOBAL DEFAULT 14 id
132915: 08204454 0 NOTYPE GLOBAL DEFAULT 14 b1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment