Hacking Chiaki

Bryan1986

Well-Known Member
OP
Newcomer
Joined
May 20, 2018
Messages
58
Trophies
0
Age
37
XP
676
Country
United Kingdom
Hi does anyone know how to use the python script for registering a ps4 on 7.0 firmware on chiaki? Trying for hours lol any help would be appreciated
 

MostlyUnharmful

Well-Known Member
Member
Joined
Feb 8, 2018
Messages
410
Trophies
0
Age
42
XP
1,446
Country
Italy
What's the error?

Do you have a Python 3 interpreter installed? I've tried it here and it works as advertised.

You launch the script (in a shell), you open the link he shows in your browser, you authenticate to the PSN with your credentials, it opens a page that shows "redirect" so you grab the URL from your browser and past it on the shell where the script is running, it prints out various information about your ID and according to the readme what you need is the AccountID.
 

Bryan1986

Well-Known Member
OP
Newcomer
Joined
May 20, 2018
Messages
58
Trophies
0
Age
37
XP
676
Country
United Kingdom
What's the error?

Do you have a Python 3 interpreter installed? I've tried it here and it works as advertised.

You launch the script (in a shell), you open the link he shows in your browser, you authenticate to the PSN with your credentials, it opens a page that shows "redirect" so you grab the URL from your browser and past it on the shell where the script is running, it prints out various information about your ID and according to the readme what you need is the AccountID.
Hi I've got python 3 installed. Cant see the url on it ive been typing In things from the script on python lol useless with it thanks for reply

--------------------- MERGED ---------------------------

Hi I've got python 3 installed. Cant see the url on it ive been typing In things from the script on python lol useless with it thanks for reply
Is it the login url I type in on internet browser?
 

Bryan1986

Well-Known Member
OP
Newcomer
Joined
May 20, 2018
Messages
58
Trophies
0
Age
37
XP
676
Country
United Kingdom
What's the error?

Do you have a Python 3 interpreter installed? I've tried it here and it works as advertised.

You launch the script (in a shell), you open the link he shows in your browser, you authenticate to the PSN with your credentials, it opens a page that shows "redirect" so you grab the URL from your browser and past it on the shell where the script is running, it prints out various information about your ID and according to the readme what you need is the AccountID.
I've used the script for the redirect and got it what do I type in on python before I paste it in to get it started?
 

Bryan1986

Well-Known Member
OP
Newcomer
Joined
May 20, 2018
Messages
58
Trophies
0
Age
37
XP
676
Country
United Kingdom
Let's start with the basics, if Python isn't in your command path:
Code:
/path/to/python3 /path/to/psn-account-id.py
It wasn't will copy that in. Thanks for taking the time to help me out appreciate it

--------------------- MERGED ---------------------------

It wasn't will copy that in. Thanks for taking the time to help me out appreciate it
Getting invalid syntac error
 

MostlyUnharmful

Well-Known Member
Member
Joined
Feb 8, 2018
Messages
410
Trophies
0
Age
42
XP
1,446
Country
Italy
I hope you didn't copied verbatim what I wrote above, as it was an example to indicate that, unless you have the Python interpreter on your command path, you should invoke it using the full path and doing the same with the path of the script (to be exact, it should be the path from the current working directory, but putting the full path would make no harm).

At least that's the requirement in every sane shell I've ever used (I would say the most insane was some ancient tcsh version on AIX or HP-UX), but assuming you are on Windos, I'm not familiar with it so I can't help you much over there...

If instead you got the error running the script, make sure you are not using a Python 2 interpreter.
 

Bryan1986

Well-Known Member
OP
Newcomer
Joined
May 20, 2018
Messages
58
Trophies
0
Age
37
XP
676
Country
United Kingdom
I hope you didn't copied verbatim what I wrote above, as it was an example to indicate that, unless you have the Python interpreter on your command path, you should invoke it using the full path and doing the same with the path of the script (to be exact, it should be the path from the current working directory, but putting the full path would make no harm).

At least that's the requirement in every sane shell I've ever used (I would say the most insane was some ancient tcsh version on AIX or HP-UX), but assuming you are on Windos, I'm not familiar with it so I can't help you much over there...

If instead you got the error running the script, make sure you are not using a Python 2 interpreter.
Hi I've got python 3 set up on my pc. If it's not to much trouble would you be able to tell me exactly what you typed into python to get script started? I've never used it before so I'm a total noob. Is it a case of typing in script leaving python open copying url logging in to psn then copying and pasting the redirect url into python? Sorry for being a pain as it's probably quite simple just struggling to grasp it
 
Last edited by Bryan1986,

MostlyUnharmful

Well-Known Member
Member
Joined
Feb 8, 2018
Messages
410
Trophies
0
Age
42
XP
1,446
Country
Italy
I suggest you to look at a Python tutorial, I would guess extrapolating what I'm doing in the shell would be cumbersome but as you wish, that's what I'm typing after saving the script in the /tmp directory, the text after the $ symbol are commands:


$ cd /tmp ~
$ chmod +x psn-account-id.py /tmp
$ ./psn-account-id.py /tmp

########################################################
Script to determine PSN AccountID
thanks to grill2010
(This script will perform network operations.)
########################################################

➡️ Open the following URL in your Browser and log in:

https://auth.api.sonyentertainmentn...lay&prompt=always&PlatformPrivacyWs1=minimal&

➡️ After logging in, when the page shows "redirect", copy the URL from the address bar and paste it here:
>


Ignore the tilde and the "/tmp" at the right, that's my right prompt with the current working directory.
 
Last edited by MostlyUnharmful,

Bryan1986

Well-Known Member
OP
Newcomer
Joined
May 20, 2018
Messages
58
Trophies
0
Age
37
XP
676
Country
United Kingdom
Hi I've got python 3 set up on my pc. If it's not to much trouble would you be able to tell me exactly what you typed into python to get script started? I've never used it before so I'm a total noob. Is it a case of typing in script leaving python open copying url logging in to psn then copying and pasting the redirect url into python?
I suggest you to look at a Python tutorial, I would guess extrapolating what I'm doing in the shell would be cumbersome but as you wish, that's what I'm typing after saving the script in the /tmp directory, the text after the $ symbol are commands:


$ cd /tmp ~
$ chmod +x psn-account-id.py /tmp
$ ./psn-account-id.py /tmp

########################################################
Script to determine PSN AccountID
thanks to grill2010
(This script will perform network operations.)
########################################################

➡️ Open the following URL in your Browser and log in:

https://auth.api.sonyentertainmentn...lay&prompt=always&PlatformPrivacyWs1=minimal&

➡️ After logging in, when the page shows "redirect", copy the URL from the address bar and paste it here:
>


Ignore the tilde and the "/tmp" at the right, that's my right prompt with the current working directory.
Last question I will ask before giving up lol as will be doing your head in do I type this in python


$ cd /tmp ~
$ chmod +x psn-account-id.py /tmp
$ ./psn-account-id.py
Before i use the url and what is the script to get it started
 
Last edited by Bryan1986,

MostlyUnharmful

Well-Known Member
Member
Joined
Feb 8, 2018
Messages
410
Trophies
0
Age
42
XP
1,446
Country
Italy
It won't work, unless you have a Python 3 interpreter in the command path, and the shell can understand the first line of the script (search Google with "shebang")...

#!/usr/bin/env python3

But I assure it's more simple than it seems.
 
Last edited by MostlyUnharmful,

Bryan1986

Well-Known Member
OP
Newcomer
Joined
May 20, 2018
Messages
58
Trophies
0
Age
37
XP
676
Country
United Kingdom
It won't work, unless you have a Python 3 interpreter in the command path, and the shell can understand the first line of the script (search Google with "shebang")...

#!/usr/bin/env python3

But I assure it's more simple than it seems.
Right so I put that in the command path? Then this
chmod +x psn-account-id.py /tmp
$ ./psn-account-id.py then use the url sign in copy the redirect url paste it in python and hit return?
 

MostlyUnharmful

Well-Known Member
Member
Joined
Feb 8, 2018
Messages
410
Trophies
0
Age
42
XP
1,446
Country
Italy
Not exactly, the command path it's an environment variable that contains all the directories with commands that your shell should parse:

$ which python3
/usr/bin/python3
$ echo $PATH
usr/bin:/bin:/usr/games:/sbin:/usr/sbin:/usr/local/bin

but yeah, the script is waiting that you paste the URL with the browser stuck in the redirect page.
 

Bryan1986

Well-Known Member
OP
Newcomer
Joined
May 20, 2018
Messages
58
Trophies
0
Age
37
XP
676
Country
United Kingdom
Not exactly, the command path it's an environment variable that contains all the directories with commands that your shell should parse:

$ which python3
/usr/bin/python3
$ echo $PATH
usr/bin:/bin:/usr/games:/sbin:/usr/sbin:/usr/local/bin

but yeah, the script is waiting that you paste the URL with the browser stuck in the redirect page.
Feel like I'm just wasting your time I thought it would just be a case of copying something from the script onto python then using the url pasting it then hitting return. Thanks very much for taking the time to try and help me with this appreciate it
 

Leeful

GBAtemp Member
Developer
Joined
Sep 4, 2015
Messages
1,903
Trophies
1
XP
7,068
Country
United Kingdom
I just tried it and it worked for me and I was able to get my AccountID.

This is what I did:
1. download the source folder from here:https://github.com/thestr4ng3r/chiaki/archive/master.zip
2. extract the chiaki-master.zip and go to the scripts folder.
3. hold the shift key and right click anywhere in the empty space in the folder and select 'open command window here'
4. when the cmd window opens type: psn-account-id.py
5. copy and run the full url it gives you into a browser window.
6. a PSN login page will now be in your browser, enter your PSN username and password.
7. a new page will open just saying redirect. Copy the URL of this page and paste it into the open cmd window.
8. press enter and it will produce some info and you your AccountID will be at the bottom.

hope this helps.:)


EDIT:
if just typing psn-account-id.py does not work try python3 psn-account-id.py
 
Last edited by Leeful,
  • Like
Reactions: KiiWii

Bryan1986

Well-Known Member
OP
Newcomer
Joined
May 20, 2018
Messages
58
Trophies
0
Age
37
XP
676
Country
United Kingdom
I just tried it and it worked for me and I was able to get my AccountID.

This is what I did:
1. download the source folder from here:https://github.com/thestr4ng3r/chiaki/archive/master.zip
2. extract the chiaki-master.zip and go to the scripts folder.
3. hold the shift key and right click anywhere in the empty space in the folder and select 'open command window here'
4. when the cmd window opens type: psn-account-id.py
5. copy and run the full url it gives you into a browser window.
6. a PSN login page will now be in your browser, enter your PSN username and password.
7. a new page will open just saying redirect. Copy the URL of this page and paste it into the open cmd window.
8. press enter and it will produce some info and you your AccountID will be at the bottom.

hope this helps.:)


EDIT:
if just typing psn-account-id.py does not work try python3 psn-account-id.py
Trying it just now but it's coming up windows powershell
 

Leeful

GBAtemp Member
Developer
Joined
Sep 4, 2015
Messages
1,903
Trophies
1
XP
7,068
Country
United Kingdom
you can use power shell too.

in powershell type .\psn-account-id.py
that will open the script in a cmd window for you.
 

Leeful

GBAtemp Member
Developer
Joined
Sep 4, 2015
Messages
1,903
Trophies
1
XP
7,068
Country
United Kingdom
click on the windows button and type cmd.
select Command Prompt
when that opens enter the full path to where your psn-account-id.py script is.
eg. mine is: G:\DOWNLOADS\chiaki-master\chiaki-master\scripts\psn-account-id.py
 

Bryan1986

Well-Known Member
OP
Newcomer
Joined
May 20, 2018
Messages
58
Trophies
0
Age
37
XP
676
Country
United Kingdom
click on the windows button and type cmd.
select Command Prompt
when that opens enter the full path to where your psn-account-id.py script is.
eg. mine is: G:\DOWNLOADS\chiaki-master\chiaki-master\scripts\psn-account-id.py
Mines was chiaki\chiaki-master\scripts\psn-account-id and it said unspecified path. Honestly useless with this stuff lol
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Psionic Roshambo @ Psionic Roshambo:
    Batman joined the Trans Justice League
    +2
  • Sicklyboy @ Sicklyboy:
    based af
    +2
  • Sonic Angel Knight @ Sonic Angel Knight:
    Forget the base, get on the roof.
  • K3Nv2 @ K3Nv2:
    Is that a bat in your buckle or are you just happy to have me
  • Psionic Roshambo @ Psionic Roshambo:
    Wonder "Woman" lol you wonder if they are a woman?
  • Psionic Roshambo @ Psionic Roshambo:
    The Riddler has questions...
  • K3Nv2 @ K3Nv2:
    Played a little of snow day glad I didn't spend $30
  • K3Nv2 @ K3Nv2:
    It's asthetic is okay maybe a good $10 grab
  • Psionic Roshambo @ Psionic Roshambo:
    Lol is it a game about doing cocaine?
  • K3Nv2 @ K3Nv2:
    Probably in pvp
  • Psionic Roshambo @ Psionic Roshambo:
    I tried Balders Gate II on the PS2 a few minutes ago, not bad lol
  • Psionic Roshambo @ Psionic Roshambo:
    My back catalog of games is like that scene at the end of Indiana Jones where the arc of the covenant is being stored in a giant ass warehouse
  • K3Nv2 @ K3Nv2:
    At least I can will my game catalog to family members
    +1
  • K3Nv2 @ K3Nv2:
    It's your problem now bitches
  • Psionic Roshambo @ Psionic Roshambo:
    Put it in your will that in order to receive any money they have to beat certain games, hard games and super shitty games...
  • Psionic Roshambo @ Psionic Roshambo:
    Say 20 bucks per Ninja Gaiden on the NES lol 60 bucks for all 3
  • Psionic Roshambo @ Psionic Roshambo:
    People you like "Beat level 1 of Ms Pacman" lol
  • K3Nv2 @ K3Nv2:
    Hello kitty ds is required
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Beat Celebrity Death Match on the PS1 omg tried it earlier today .... Absolutely trash
  • Psionic Roshambo @ Psionic Roshambo:
    Like -37 out of 10
  • Psionic Roshambo @ Psionic Roshambo:
    One of the worst games I have ever played
  • K3Nv2 @ K3Nv2:
    Make them rank up every cod game out
  • K3Nv2 @ K3Nv2:
    "Now I know why he took his own life"
    K3Nv2 @ K3Nv2: "Now I know why he took his own life"