VitaDefiler: Difference between revisions
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{#seo: | {{#seo: | ||
|title=Vita Homebrew Apps (Exploits) - GameBrew! | |title=Vita Homebrew Apps (Exploits) - GameBrew! | ||
| Line 11: | Line 10: | ||
|description=An RPC for Vita that supports ARM userland code execution. | |description=An RPC for Vita that supports ARM userland code execution. | ||
|author=yifanlu | |author=yifanlu | ||
|lastupdated=2016/01/ | |lastupdated=2016/01/25 | ||
|type=Exploits | |type=Exploits | ||
|version=2016 | |version=2016 | ||
| Line 19: | Line 18: | ||
|source=https://github.com/yifanlu/VitaDefiler | |source=https://github.com/yifanlu/VitaDefiler | ||
}} | }} | ||
'''VitaDefiler''' is an RPC for Vita that supports ARM userland code execution. | |||
== | == How To Build VitaDefiler == | ||
< | Open <code>VitaDefiler.sln</code> in Visual Studio. In <code>Solution Explorer</code> right click <code>VitaDefiler / Properties</code>. Select <code>Reference Paths</code>, then add <code>C:\Program Files (x86)\SCE\PSM\tools\PsmStudio\AddIns\MonoDevelop.Debugger.Soft\</code> and <code>C:\Program Files (x86)\SCE\PSM\tools\PsmStudio\bin\</code>. 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 <code>VitaDefiler/bin/Debug</code> folder. | ||
'' | |||
* | * Copy <code>Mono.Cecil.dll</code> from <code>C:\Program Files (x86)\SCE\PSM\tools\PsmStudio\bin</code> | ||
* Copy <code>Mono.Debugger.Soft.dll</code> from <code>C:\Program Files (x86)\SCE\PSM\tools\PsmStudio\AddIns\MonoDevelop.Debugger.Soft</code> | |||
* Copy all files from <code>C:\Program Files (x86)\SCE\PSM\tools\lib</code> | |||
Open <code>PSM Dev</code> application on the Vita. Run <code>cmd.exe</code> and navigate to <code>VitaDefiler</code> folder. Execute <code>bin\Debug\VitaDefiler.exe VitaDefilerClient\bin\Release\VitaDefilerClient.psdp</code>. Vita should now run the <code>VitaDefilerClient</code> app and after a few seconds you will get a RPC shell. | |||
==Screenshot== | |||
[[image:vitadefilervita.jpg|600px]] | |||
== VitaDefilerClient == | |||
Open <code>cmd.exe</code> as Administrator and execute <code>setx MSBUILDENABLEALLPROPERTYFUNCTIONS 1</code>. | |||
Run "Developer Command Prompt for VS20XX", navigate to the <code>VitaDefilerClient</code> folder and execute <code>ilasm /output:NativeFunctions.dll /dll NativeFunctions.cil</code>. | |||
Open <code>VitaDefilerClient.sln</code> in PSM Studio and hit F5. | |||
If you get error about <code>NativeFunctions</code> not being resolved (e.g. <code>Error CS0246: The type or namespace name 'NativeFunctions' could not be found [...]</code>): | |||
* Right click <code>VitaDefilerClient / References</code> on the left, select <code>Edit References...</code> | |||
* <code>Edit References</code> window will open. On the right select <code>NativeFunctions</code> and press Remove (trash icon in top right corner). | |||
* Switch to the <code>.Net Assembly</code> tab, navigate to <code>VitaDefiler/VitaDefilerClient</code>, select <code>NativeFunctions.dll</code> and press <code>Add</code>. The project should build now. | |||
== External links == | == External links == | ||
* Github - https://github.com/yifanlu/VitaDefiler | * Github - https://github.com/yifanlu/VitaDefiler | ||
Revision as of 05:45, 12 November 2022
| 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.dllfromC:\Program Files (x86)\SCE\PSM\tools\PsmStudio\bin - Copy
Mono.Debugger.Soft.dllfromC:\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 / Referenceson the left, selectEdit References... Edit Referenceswindow will open. On the right selectNativeFunctionsand press Remove (trash icon in top right corner).- Switch to the
.Net Assemblytab, navigate toVitaDefiler/VitaDefilerClient, selectNativeFunctions.dlland pressAdd. The project should build now.