SPRX Authorization

  • Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.

rebugdex_4.75

Active Poster
Active Member
Mar 24, 2016
101
97
88
#include <sys/sys_time.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/syscall.h>
#include <sys/timer.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <netex/net.h>
#include <netex/errno.h>
#include <string.h>
#pragma region Declarations
#include <sys/ppu_thread.h>
#include <string.h>
#include <sys/sys_time.h>
#include <sys/time_util.h>
#include <stdarg.h>
#include <assert.h>
#include <sys/process.h>
#include <sys/memory.h>
#include <sys/timer.h>
#include <sys/return_code.h>
#include <sys/prx.h>
#include <stddef.h>
#include <math.h>
#include <stdarg.h>
#include <cellstatus.h>
#include <typeinfo>
#include <vector>
#include <pthread.h>
#include <locale.h>
#include <cell/error.h>
#include <sys/paths.h>
#include <time.h>
#include <net\if_dl.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <cell/cell_fs.h>
#include <cell/sysmodule.h>
#include <stdio.h>
#include <string.h>
#include <cell/fs/cell_fs_errno.h>
#include <cell/fs/cell_fs_file_api.h>
#include <ppu_intrinsics.h>
#include <cstdlib>
#include "Dialog.h"
#pragma comment(lib, "net_stub")
#pragma comment(lib, "netctl_stub")

#define SERVER_PORT htons(80)

int Socket;
struct hostent *Host;
struct sockaddr_in SocketAddress;
char bufferReturn[10000];
char RequestBuffer[2000];

char *HookName;

int WriteinConsole(const char * s)
{
uint32_t len;
system_call_4(403, 0, (uint64_t)s, std::strlen(s), (uint64_t)&len);
return_to_user_prog(int);
}

void SleepMM(usecond_t time)
{
sys_timer_usleep(time * 1000);
}

char* SocketRequest(char* URL, char* Key, char* Path = "")
{
Host = gethostbyname(URL);
SocketAddress.sin_addr.s_addr = *((unsigned long*)Host->h_addr);
SocketAddress.sin_family = AF_INET;
SocketAddress.sin_port = SERVER_PORT;
Socket = socket(AF_INET, SOCK_STREAM, 0);
if (connect(Socket, (struct sockaddr *)&SocketAddress, sizeof(SocketAddress)) != 0) {
return "CONNECTION ERROR";
}
strcpy(RequestBuffer, "GET /");
if (strlen(Path) > 0){
strcat(RequestBuffer, Path);
}
strcat(RequestBuffer, Key);
strcat(RequestBuffer, " HTTP/1.0\r\nHOST: ");
strcat(RequestBuffer, URL);
strcat(RequestBuffer, "\r\n\r\n");

send(Socket, RequestBuffer, strlen(RequestBuffer), 0);

while (recv(Socket, bufferReturn, 10000, 0) > 0)
{
return bufferReturn;
SleepMM(1);
}
socketclose(Socket);
}

void WriteByte(int Address, unsigned char Input)
{
*(unsigned char*)Address = Input;
}

void encryptDecrypt(char *input, char *output) {
char key[] = { 'K', 'C', 'Q' }; //Can be any chars, and any size array


for (int i = 0; i < strlen(input); i++) {
output = input ^ key[i % (sizeof(key) / sizeof(char))];
}
}

bool IsRequest(char* Key)
{

char* check = SocketRequest("www.mysite.com", Key, "KeyReturnDir");
char* s = strstr(check, "Key is valid");
if (s != NULL)
{

return true;
}
else
{
return false;
}
}

int ExitThisShit()
{
system_call_1(41, 0);
return_to_user_prog(int);
}
char Key[]; // Key Amount . Change it if you need ******// Ex. "char Key[11]; 11 being the length of the array; which, the length is your key.length
char* GetKey()
{
int fd;
int ret;
uint64_t pos;
uint64_t nread;

cellMsgDialogProgressBarInc(0, 1);
cellMsgDialogProgressBarSetMsg(0, "Loading Key...");
ret = cellFsOpen("/dev_hdd0/tmp/key.txt", 0, &fd, NULL, 0);
if (!ret)
{
cellFsLseek(fd, 0, CELL_FS_SEEK_SET, &pos);
ret = cellFsRead(fd, Key, sizeof(Key), &nread);
if (!ret)
{
cellFsClose(fd);
}
else
{
cellMsgDialogClose(5.0);
SleepMM(500);
Dialog::msgdialog_mode = 2;
Dialog::Show("Key failed to Read!");
ExitThisShit();
}
}
else
{
cellMsgDialogClose(5.0);
SleepMM(500);
Dialog::msgdialog_mode = 2;
Dialog::Show("Key failed to load!");
ExitThisShit();
}
return;
}
credits: the internet

NOTE!!!
you need a server, that's up to you
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • @ QM|T_JinX:
    no i dont
  • @ QM|T_JinX:
    kept Diein to that f%cking game haha
  • @ QM|T_JinX:
    not sure if i type that correct haha i died alot on that game in beta
  • @ ANGUS0023233:
    Ah you tried playing the Battlefield 6 alpha labs beta. I only played the Alpha Beta then Open beta then the game itself since i enjoyed it all lot
  • @ QM|T_JinX:
    it a good lookin game for sure but im not as good anymore in that game haha
    so it seems hahah
  • @ lurch6661:
    high
  • @ QM|T_JinX:
    high
  • @ QM|T_JinX:
    bro im not on messager ok if im online on there ppl start to message me dont feel like going on and on on text
  • @ lurch6661:
    ok bro
  • @ QM|T_JinX:
    nothing agains you you know that right just dont feel like answer all those text the hole time
  • @ lurch6661:
    i understand trust m e lol
  • @ QM|T_JinX:
    by the way i unlocked the gold camo on bo7 looks pretty cool hahah
  • @ lurch6661:
    lol
  • @ ANGUS0023233:
    Jinx do you got PSN ?
  • @ QM|T_JinX:
    yea i do
  • @ QM|T_JinX:
    my gf is coming over i check you guys later on tc guys
  • @ lurch6661:
    ok bro tc
  • @ ANGUS0023233:
    Wow bunch of my links and such are gone i’ll have to look into it and try to fix it or update it anyways take care lurch and jinx
  • @ QM|T_JinX:
    t bro good to see you back on here catch you guys later
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    Christo has joined the room.
  • Chat Bot:
    carkys is our newest member. Welcome!
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    QM|T_JinX has joined the room.
      Chat Bot: QM|T_JinX has joined the room.