User Tools

Site Tools


labs:disassembly

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
labs:disassembly [2017/03/24 14:42]
manuelei
labs:disassembly [2020/08/31 21:03] (current)
Line 6: Line 6:
 Use the following commands to connect to your remote home directory: Use the following commands to connect to your remote home directory:
  
-  * ''​sudo apt install sshfs''​ 
   * ''​mkdir tardis-home/''​   * ''​mkdir tardis-home/''​
   * ''​sshfs <​yournethzlogin>​@login.ee.ethz.ch:​ tardis-home/''​   * ''​sshfs <​yournethzlogin>​@login.ee.ethz.ch:​ tardis-home/''​
Line 13: Line 12:
  
 ===== Exercises ===== ===== Exercises =====
-   * 0) Download and unpack the ZIP file with the the material for this lab from http://​www.disco.ethz.ch/​lectures/​ti2fp/​exercises/​disassembly.zip.+   * 0) Download and unpack the ZIP file with the the material for this lab from http://​www.disco.ethz.ch/​lectures/​ti2fp/​exercises/​disassembly.zip. It contains the necessary files for exercises 1&2.
  
-   * 1) Find the correct input to defuse the "​bomb"​. 
  
-   * 2) When you run this program, a pop-up will appear that asks you to pay for a license. Disable this pop-up (or postpone it for a long time).+   * 1) Execute the program bomb. It tells your to find a correct input to defuse its '​bomb'​. Find the correct input by disassembling the program or looking at the HEX-representation. 
 + 
 +   * 2) When you run this program ​(TuxRaR), a pop-up will appear that asks you to pay for a license. Disable this pop-up (or postpone it for a long time).
  
    * 3) Now, you are ready to hack into SuperTuxKart! The game is installed on your machines. Show us your abilities by modifying the game in cool ways. For instance, make your kart faster, get better items, etc. Before you start modifying the binary, we recommend you to save a backup copy of it so when you break the game, you always have a clean copy. If you prefer, you can also modify a different game. \\ Hint: Have a look at the %%--%%demangle option of objdump.    * 3) Now, you are ready to hack into SuperTuxKart! The game is installed on your machines. Show us your abilities by modifying the game in cool ways. For instance, make your kart faster, get better items, etc. Before you start modifying the binary, we recommend you to save a backup copy of it so when you break the game, you always have a clean copy. If you prefer, you can also modify a different game. \\ Hint: Have a look at the %%--%%demangle option of objdump.
Line 23: Line 23:
 ===== Recommended Tools ===== ===== Recommended Tools =====
   * Text editor: Geany   * Text editor: Geany
-  * Hex editorBless+  * Hex editorswxHexEditor,​ ghex
   * Disassembler:​ objdump   * Disassembler:​ objdump
   * Web assembler/​disassembler:​ https://​defuse.ca/​online-x86-assembler.htm (Attention: Uses Intel syntax, which has arguments in different order than objdump.)   * Web assembler/​disassembler:​ https://​defuse.ca/​online-x86-assembler.htm (Attention: Uses Intel syntax, which has arguments in different order than objdump.)
Line 31: Line 31:
  
 ===== Hints for SuperTuxKart Modding ===== ===== Hints for SuperTuxKart Modding =====
-  * Some items and events slow karts down+  * Some items and events slow karts down, that is, their maximum speed is reduced. Disable the function which sets this slowdown. 
 +  * Karts' maximum speed can be increased by some events. Prevent the maximum speed from being reset to its original value. 
 +  * Karts are slowed down when being off the track. 
 +  * Infinite nitro: When nitro is burned, the nitro reservers shrink...
labs/disassembly.1490362930.txt.gz · Last modified: 2020/08/31 21:03 (external edit)