More actions
VitaDefiler | |
---|---|
General | |
Author | yifanlu |
Type | Exploits |
Version | 2016 |
License | Apache-2.0 |
Last Updated | 2016/01/25 |
Links | |
Download | |
Source | |
VitaDefiler is an RPC for Vita that supports ARM userland code execution.
How To Build VitaDefiler
Open VitaDefiler.sln
in Visual Studio. In Solution Explorer
right click VitaDefiler / Properties
. Select Reference Paths
, then add C:\Program Files (x86)\SCE\PSM\tools\PsmStudio\AddIns\MonoDevelop.Debugger.Soft\
and C:\Program Files (x86)\SCE\PSM\tools\PsmStudio\bin\
. You can now press F5 to build the project.
Compiling
You will need PSM Studio and Visual Studio installed.
VitaDefiler's Usage
First, copy library dependencies to the VitaDefiler/bin/Debug
folder.
- Copy
Mono.Cecil.dll
fromC:\Program Files (x86)\SCE\PSM\tools\PsmStudio\bin
- Copy
Mono.Debugger.Soft.dll
fromC:\Program Files (x86)\SCE\PSM\tools\PsmStudio\AddIns\MonoDevelop.Debugger.Soft
- Copy all files from
C:\Program Files (x86)\SCE\PSM\tools\lib
Open PSM Dev
application on the Vita. Run cmd.exe
and navigate to VitaDefiler
folder. Execute bin\Debug\VitaDefiler.exe VitaDefilerClient\bin\Release\VitaDefilerClient.psdp
. Vita should now run the VitaDefilerClient
app and after a few seconds you will get a RPC shell.
Screenshot
VitaDefilerClient
Open cmd.exe
as Administrator and execute setx MSBUILDENABLEALLPROPERTYFUNCTIONS 1
.
Run "Developer Command Prompt for VS20XX", navigate to the VitaDefilerClient
folder and execute ilasm /output:NativeFunctions.dll /dll NativeFunctions.cil
.
Open VitaDefilerClient.sln
in PSM Studio and hit F5.
If you get error about NativeFunctions
not being resolved (e.g. Error CS0246: The type or namespace name 'NativeFunctions' could not be found [...]
):
- Right click
VitaDefilerClient / References
on the left, selectEdit References...
Edit References
window will open. On the right selectNativeFunctions
and press Remove (trash icon in top right corner).- Switch to the
.Net Assembly
tab, navigate toVitaDefiler/VitaDefilerClient
, selectNativeFunctions.dll
and pressAdd
. The project should build now.