Use rabin2 -j flag to get JSON output You can also get those jsons using the i?j command Better awk bindings and added some examples rabin2 -v (without any other arg) shows version Fix some segfaults in rafind2 and use RList Add quite output mode for rabin2 (activated with -q)
8 lines
145 B
Awk
Executable file
8 lines
145 B
Awk
Executable file
#!/usr/bin/awk -f r2.awk -f
|
|
BEGIN {
|
|
file="/bin/ls"
|
|
arch="x86"
|
|
offset=chop(entries())
|
|
print("entrypoint: "offset)
|
|
print(dis(read(e,"64")))
|
|
}
|