PS3Hax Network - Playstation 3 Hacks and Mods

PS3Hax Network - Playstation 3 Hacks and Mods (http://www.ps3hax.net/forums.php)
-   PS3 | Member News (http://www.ps3hax.net/forumdisplay.php?f=142)
-   -   [Released] Crypter Tools (http://www.ps3hax.net/showthread.php?t=31382)

V6ser 12-10-2011 11:56 AM

[Released] Crypter Tools
 
PSdev has release ”Crypter tools”, here is a quote from the read me:

This can package of tools can encrypt and decrypt any file type, you can use you own key so no one can decrypt it. Unless they know the key.

The USAGE:

Encrypter:

<Encrypter.exe> <input> <output> : <The Key you want>
____________________________________________________

Decrypter:

<Decrypter.exe> <input> <output> : <The Key you entered in the encryptor>

Note -- if the file has and extension on it ex: example.txt, you must add the .txt.

The Decrypter will say it was decrypted succesfully but if you did not enter the right key you will get a file damage error

[Read More]

advocatusdiaboli 12-10-2011 12:16 PM

Anyone got source? I’m not really going to install Windows to play with this.

dodo136 12-10-2011 12:17 PM

and what the hell is this ?

ModIt 12-10-2011 12:20 PM

what does it do?

RickDangerous 12-10-2011 12:27 PM

Correct me if I'm wrong but this looks like a simple AES encrypter/decrypter.
If that's the case, any developer (even me) can make one in less than an hour.

Without keys it's worthless.

I hope I'm wrong, and that there is more to this than meets the eye.

Brenza 12-10-2011 12:29 PM

loool nice!

advocatusdiaboli 12-10-2011 12:30 PM

This should be a self/unself tool? Or?

V6ser 12-10-2011 12:31 PM

Moderators
Can you please fix the link for Read More?

Brenza 12-10-2011 12:37 PM

Quote:

Originally Posted by advocatusdiaboli (Post 298885)
Anyone got source? I’m not really going to install Windows to play with this.

Code:

#include <stdio.h>
#include "tools.h"

int main(int argc, char *argv[]) {
  FILE *in, *out, *key_f; 
  char key[0x20];
  char iv[0x10];
  char *data;
  int size;

  if (argc != 5 || (argv[1][0] != 'd' && argv[1][0] != 'e') || argv[1][1] != 0) {
      fprintf(stderr, "Usage : %s [d|e] key_file input output\n", argv[0]);
      return -1;
  }

  key_f = fopen(argv[2], "rb");
  in = fopen(argv[3], "rb");
  out = fopen(argv[4], "wb");

  if (!key_f || !in || !out) {
      fprintf(stderr, "Couldn't open files\n");
      return -2;
  }

  if (fread(key, 0x20, 1, key_f) != 1) ||
      fread(iv, 0x10, 1, key_f) != 1)) {
      fprintf(stderr, "Couldn't read key\n");
      return -3;
  }
  fseek (in, 0, SEEK_END);
  size = ftell(in);
  fseek(in, 0, SEEK_SET);

  data = malloc (size);

  if (argv[1][0] == 'e')
      aes256cbc_enc (key, iv, data, size, data);
  else
      aes256cbc (key, iv, data, size, data);

  fwrite (data, size, 1, out);

  fclose (in);
  fclose (out);
  fclose (key_f);
  free(data);
}


FreePlay 12-10-2011 12:40 PM

So... this has precisely nothing to do with the PS3?


All times are GMT -5. The time now is 09:17 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.