info I need to upload file

Put your programming skills to the test in these challenges.

info I need to upload file

Post by ghostheadx2 on Wed Jun 03, 2015 9:13 pm
([msg=88320]see info I need to upload file[/msg])

So, I got back to that CTF and found a website that would disassemble it for me. I need this information about the file to begin with to disassemble it:

1. The architecture (I think someone found this but I can't find the thread I started where they posted it)

2. the endian

3. the base address

Once I have all of that information I can dissasemble the file correctly. Again, here is my code:

Code: Select all
# This file is in AT&T syntax - see http://www.imada.sdu.dk/Courses/DM18/Litteratur/IntelnATT.htm
# and http://en.wikipedia.org/wiki/X86_assembly_language#Syntax. Both gdb and objdump produce
# AT&T syntax by default.
MOV $8754,%ebx
MOV $1167,%eax
MOV $5850,%ecx
CMP %eax,%ebx
JL L1
JMP L2
L1:
IMUL %eax,%ebx
ADD %eax,%ebx
MOV %ebx,%eax
SUB %ecx,%eax
JMP L3
L2:
IMUL %eax,%ebx
SUB %eax,%ebx
MOV %ebx,%eax
ADD %ecx,%eax
L3:
NOP


I'm sorry if I'm posting this thread too much, but I think that clarifies all of the info I need to disassemble it. When I try to disassemble it, it just puts it back into the format of the original file.
ghostheadx2
Contributor
Contributor
 
Posts: 728
Joined: Wed Nov 19, 2014 1:19 am
Blog: View Blog (0)


Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests