This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "ghidra.GhidraClassLoader"). To use archived non-system classes, this property must not be set | |
INFO Using log config file: jar:file:/D:/GHIDRA/ghidra_9.2.2_PUBLIC_20201229/ghidra_9.2.2_PUBLIC/Ghidra/Framework/Generic/lib/Generic.jar!/generic.log4j.xml (LoggingInitialization) | |
INFO Using log file: C:\Users\Pedro\.ghidra\.ghidra_9.2.2_PUBLIC\application.log (LoggingInitialization) | |
INFO Loading user preferences: C:\Users\Pedro\.ghidra\.ghidra_9.2.2_PUBLIC\preferences (Preferences) | |
INFO Loading previous preferences: C:\Users\Pedro\.ghidra\.ghidra_9.1.2_PUBLIC\preferences (Preferences) | |
INFO Class search complete (759 ms) (ClassSearcher) | |
INFO Initializing SSL Context (SSLContextInitializer) | |
INFO Initializing Random Number Generator... (SecureRandomFactory) | |
INFO Random Number Generator initialization complete: SHA1PRNG (SecureRandomFactory) | |
INFO Trust |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations | |
WARNING: All illegal access operations will be denied in a future release | |
INFO Packed database cache: C:\Users\Pedro\AppData\Local\Ghidra\packed-db-cache (PackedDatabaseCache) | |
ERROR Unexpected exception (DecompilerSwitchAnalyzer) java.util.concurrent.ExecutionException: java.lang.NullPointerException | |
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) | |
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191) | |
at generic.concurrent.QResult.<init>(QResult.java:40) | |
at generic.concurrent.FutureTaskMonitor.run(FutureTaskMonitor.java:78) | |
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) | |
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
at ghidra.app.script.GhidraScript.parseFile(GhidraScript.java:1855) | |
at ghidra.app.script.GhidraScript.loadAskValue(GhidraScript.java:1894) | |
at ghidra.app.script.GhidraScript.loadAskValue(GhidraScript.java:1871) | |
at ghidra.app.script.GhidraScript.askFile(GhidraScript.java:2021) | |
at AutoCreateMultipleLibraries.run(AutoCreateMultipleLibraries.java:384) | |
at ghidra.app.script.GhidraScript.executeNormal(GhidraScript.java:365) | |
at ghidra.app.script.GhidraScript.doExecute(GhidraScript.java:220) | |
at ghidra.app.script.GhidraScript.execute(GhidraScript.java:198) | |
at ghidra.app.util.headless.HeadlessAnalyzer.runScript(HeadlessAnalyzer.java:580) | |
at ghidra.app.util.headless.HeadlessAnalyzer.runScriptsList(HeadlessAnalyzer.java:918) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <nds.h> | |
/* | |
Based On: https://wiki.newae.com/V3:Tutorial_A3_VCC_Glitch_Attacks | |
Careful, glitches in the h loop won't be noticed | |
*/ | |
int main(void){ |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
841e6 VN PBN | |
8422b "`R( | |
84350 "PAL"`aL"p | |
8603b =gf>A | |
86354 ff>B | |
8706c ef&A | |
8728b =333@ | |
87c63 =333@ | |
87c83 =333@ | |
88803 =333A |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bool connectionManager(int socket) | |
{ | |
// The number of bytes I send/read ... will also serve as my error code | |
int nBytes; | |
//Buffer where we will store received data. it's firstly filled with trash | |
std::string buffer(32, 0xcc); | |
for (;;) | |
{ | |
/*Call the recv function, will receive a 32 bytes package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clientSocket = accept(serverSocket, 0, 0); | |
// Check for errors | |
if (clientSocket == SOCKET_ERROR) | |
{ | |
pfail("Accept Failed!"); | |
} | |
else | |
{ | |
std::cout << "New connection done." << std::endl; | |
std::thread p(connectionManager, (int)clientSocket); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Profit? | |
void *buf = malloc(0x100); | |
int i; | |
if (pressed_buttons & SCE_CTRL_LTRIGGER) | |
{ | |
vshIoUmount(0x100, 0, 0, 0); // id, unk1, unk2, unk3 (flags ?) | |
_vshIoMount(0x100, 0, 2, buf); // id, unk, permission, work_buffer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Should work using only C pointers | |
#define PATTERNBYTE1 0xAA | |
#define PATTERNBYTE2 0xBB | |
#define PATTERNBYTEC 0xCC | |
int main(void) | |
{ | |
char *pointer=(char*)0x20000000; //Framebuffer address is over this address | |
char *Address_of_thing_were_searching_for = 0;// 0 = NULL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "fcntl.h" | |
#define VITA_RAM_SIZE 536870912 //512 megabytes | |
int main() | |
{ | |
int err1, err2, y,x; | |
//Open dump file | |
err1 = sceIoOpen("ramdump.dat", 0, "wb"); | |
if(!err1<0){return 1;} |