Skip to content

Latest commit

 

History

History

0x18-dynamic_libraries

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

0x18. C - Dynamic libraries Tasks

0. A library is not a luxury but one of the necessities of life*

  • Create the dynamic library libdynamic.so containing all the functions listed below:

1. Without libraries what have we? We have no past and no future

  • Create a script that creates a dynamic library called liball.so from all the .c files that are in the current directory.

2. Let's call C functions from Python

  • Create a dynamic library that contains C functions that can be called from Python. See example for more detail.

3. Code injection: Win the Giga Millions!

  • bought a ticket for the Giga Millions and chose these numbers: 9, 8, 10, 24, 75 + 9. If you could run two commands on the same server where the Giga Millions program runs, could you make me win the Jackpot?