Home
+Ch0pin edited this page Mar 2, 2023
·
54 revisions
Welcome to Medusa's wiki. Please use the sidebar to navigate to a section:
Quick start and use cases:
- https://www.youtube.com/watch?v=4hpjRuNJNDw&t=16s (credits @ByteTheories)
- https://www.youtube.com/watch?v=kUqucdkVtSU&t=256s (credits @ByteTheories)
- https://www.youtube.com/watch?v=D2-jREzCE9k (credits @cryptax)
Use the show
command, followed one of the following options:
- all to Display all available modules
- mods to Display stashed modules
- categories to Display the available module categories
- mods [category] to Display the available modules for the selected category
Use the info [module name]
to get help about a specific module
- Use the
use [module name]
to add a module to the stashed ones:
medusa> use http_communications/multiple_unpinner
- Use the
rem [module name]
to remove a module to the stashed ones
medusa> rem http_communications/multiple_unpinner
-
Use the
reset
to empty the list of stashed modules and clear the unified script -
Use the
swap
to change the compilation order of the stashed modules:
medusa> swap [index 1] [index 2]
- Use the
compile
to compile your stashed modules to a unified one:
medusa> compile
- Use the
compile -t X
(X is the delay value in milliseconds) to add a loading delay:
medusa> compile -t 1000
- Use the
run -f [package name]
or torun -n [package number]
to start or restart an application and attach to it (you can use thelist
command to get the package number).
medusa> run -f com.foo.bar
- Use the
run [package name]
to attach to an application.
[in-session] |c:clear |e:exit |r:reload | | rs:reset scratchpad |i:info |t:trace |?:help |:
While 'in session' you can use one of the following commands:
'c' (c)lear the sreen
'e' (e)xit the session
'r' (r)eload the script in case it changed
'rs' (r)e(s)et the scratchpad
'i' print (i)nformation about the application
't' (t)race a function and print the stack trace (e.g. t com.foo.bar.func)
'?' print this help message
Medusa Wiki
Medusa Wiki
-
- Searching for the right module
- Getting info about a module
- Stashing / un-stashing
- Compiling
- Starting a session
- Hooking beyond the modules
- Importing Frida scripts
- Working with native libraries
- Working with the application's memory
- Getting Class and Object snapshots
- Useful utilities
- Saving a session (recipe)