diff options
author | iximeow <me@iximeow.net> | 2018-01-03 04:30:20 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2018-01-03 04:30:20 -0800 |
commit | 254e5affeb387f63fc74913f7806b3e144d0e4f6 (patch) | |
tree | 39b792cb88d47628c2423c8ebd7edaf67fe4571d /source/notes/star_trek_armada/generate_listings.sh | |
parent | b2074b0f9c3f0def3d6d66ef9b91d69bdd6a19ad (diff) |
add star trek armada notes
Diffstat (limited to 'source/notes/star_trek_armada/generate_listings.sh')
-rwxr-xr-x | source/notes/star_trek_armada/generate_listings.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/notes/star_trek_armada/generate_listings.sh b/source/notes/star_trek_armada/generate_listings.sh new file mode 100755 index 0000000..a2ac8b2 --- /dev/null +++ b/source/notes/star_trek_armada/generate_listings.sh @@ -0,0 +1,11 @@ +#! /bin/bash + +radare2 -q -c 'pd 20 @ 0x43ff4d' Armada.exe_pristine > sprintf_overflow +radare2 -q -c 'pd 38 @ 0x5005a0' Armada.exe_pristine > memory_check +radare2 -q -c '/ Please\x20insert\x20CD\x20' Armada.exe_pristine 2>find_cd_strcheck > find_cd_strcheck +# radare doesn't find the reference, gotta use olly +# right click on instructions, search for, all referenced text strings +# right click strings, search for; "Please insert CD " +# double click string to show instruction that reference is made +# that's about where CD check is done +radare2 -q -c 'pd 10 @ 0x0044053b' Armada.exe_pristine > cd_check |