Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Kronos2308 committed Jan 13, 2020
1 parent 83123e3 commit cedb95d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Hakupayload/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ void ipl_main()
gfx_printf(&g_gfx_con, "%k SE REALIZARA UN HARD RESET LUEGO SE APAGARA LA CONSOLA\n\n",0xFF828282);
gfx_printf(&g_gfx_con, "%k SI NO SABES LO QUE HACES, PRESIONA B PARA ABORTAR \n\n",0xFF828282);
gfx_printf(&g_gfx_con, "%k\n-------- LO DEVORARE TODO --------\n\n",0xFF828282);
gfx_printf(&g_gfx_con, "%k PULSA %k- + ZR ZL %k PARA LIMPIAR\n\n",0xFF828282,0xFF00FF22,0xFF828282);
gfx_printf(&g_gfx_con, "%k PULSA %kZR - + ZL %k PARA LIMPIAR\n\n",0xFF828282,0xFF00FF22,0xFF828282);

gfx_printf(&g_gfx_con, "%k*%k Kill Homebrew Services\n",0xFF00FF22,0xFFCCCCCC);
gfx_printf(&g_gfx_con, "%k*%k DeInitialize\n",0xFF00FF22,0xFFCCCCCC);
Expand Down
Binary file modified romfs/Haku33_payload.bin
Binary file not shown.
26 changes: 14 additions & 12 deletions source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,19 @@ using namespace std;
printf("\n\x1b[33;1m*\x1b[0m Si se congela mucho tiempo, Es que ha fallado. Pulsa POWER 15s \n\n");
else
printf("\n\x1b[33;1m*\x1b[0m If it freezes for a long time, It has failed. Press POWER 15s\n\n");

//force disable sxos
txinit();
txforcedisableftp();
consoleUpdate(NULL);
/*
//force disable sxos
Result rc = txinit();
if (!R_FAILED(rc)){printf("TXint-%x-", rc);}
consoleUpdate(NULL);
rc = txforcedisableftp();
if (!R_FAILED(rc)){printf("TXoff-%x-", rc);}
txexit();

*/
//terminate Homebrew Serv
printf("\x1b[32;1m*\x1b[0m Kill Homebrew Services\n");
consoleUpdate(NULL);
consoleUpdate(NULL);
if (R_FAILED(pmshellTerminateProgram(0x420000000000000E))){printf("FTP-");}
if (R_FAILED(pmshellTerminateProgram(0x0100000000000352))){printf("Emuiio-");}
if (R_FAILED(pmshellTerminateProgram(0x4200000000000010))){printf("Lan Play-");}
Expand All @@ -152,7 +156,7 @@ using namespace std;
if (R_FAILED(pmshellTerminateProgram(0x0100000000000069))){printf("ReiSpoof-");}

//DeInitialize
printf("\x1b[32;1m*\x1b[0m DeInitialize\n");
printf("\n\x1b[32;1m*\x1b[0m DeInitialize\n");
consoleUpdate(NULL);
hidsysExit();
socketExit();
Expand All @@ -168,7 +172,7 @@ using namespace std;
setExit();

//Initialize proc
printf("\x1b[32;1m*\x1b[0m Initialize Proc\n");
printf("\n\x1b[32;1m*\x1b[0m Initialize Proc\n");
consoleUpdate(NULL);
fsInitialize();
pmdmntInitialize();
Expand Down Expand Up @@ -212,18 +216,16 @@ using namespace std;
if (R_FAILED(pmshellTerminateProgram(0x0100000000000809))){printf("used by sdb-");}

//critical serv
printf("\x1b[32;1m*\x1b[0m terminate Critical Services\n");
printf("\n\x1b[32;1m*\x1b[0m terminate Critical Services\n");
consoleUpdate(NULL);
if (R_FAILED(pmshellTerminateProgram(0x0100000000000012))){printf("bsdsockets-");}
if (R_FAILED(pmshellTerminateProgram(0x0100000000000009))){printf("settings-");}
if (R_FAILED(pmshellTerminateProgram(0x010000000000000F))){printf("nifm-");}
if (R_FAILED(pmshellTerminateProgram(0x0100000000000016))){printf("Wlan-");}
if (R_FAILED(pmshellTerminateProgram(0x0100000000001000))){printf("qlaunch-");}

espera(10);

//delete user
printf("\x1b[32;1m*\x1b[0m Delete User\n");
printf("\n\x1b[32;1m*\x1b[0m Delete User\n");
consoleUpdate(NULL);
fs::DeleteDir("myUser:/Contents/registered");
fs::DeleteDir("myUser:/Contents");
Expand Down

0 comments on commit cedb95d

Please sign in to comment.