Editing User talk:Masterzorag

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 282: Line 282:


=collecting spkg_hdr.1 signatures=
=collecting spkg_hdr.1 signatures=
I've started collecting into an SQLite database all publicily available ECDSA signatures from spkg.hdr.1 files, to research.<br />
I've started collecting into an SQLite database all publicily available ECDSA signatures of spkg.hdr.1 files, to research.<br />
Note that here I've named 3.57 the 3.56#2 one! I know, 3.57 doesn't exist.
Note that here I've named 3.57 the 3.56#2 one! I know, 3.57 doesn't exist.
*get spkg_hdr.tar file from PS3UPDAT.PUP, here I've just added an argument to pupunpack to extract only the needed section:
*get spkg_hdr.tar file from PS3UPDAT.PUP, here I've just added an argument to pupunpack to extract only the needed section:
Line 323: Line 323:
  sig = 0001bd4af80d5e8f190baea58e6613e5672d1c29a8000dcfad27f4edcef9f0b9f000759d89ebb050d871
  sig = 0001bd4af80d5e8f190baea58e6613e5672d1c29a8000dcfad27f4edcef9f0b9f000759d89ebb050d871
  ...
  ...
*since collector can also export to STDOUT, we can already filter, sort...
*collector can also export to STDOUT, we can filter, sort...
  # ./ps3tools/collector 2 | head -12
  # ./ps3tools/collector 2 | head -12
  Connection successful
  Connection successful
Line 352: Line 352:
  # ./ps3tools/collector 2 | grep "r =" | sort | uniq | wc -l
  # ./ps3tools/collector 2 | grep "r =" | sort | uniq | wc -l
  298 lines (no same r!)
  298 lines (no same r!)
*database can be accessed via SQL query too, it contains binary blobs
*database can be accessed via SQL query too, but it contains binary blobs...
  # sqlite3 /tmp/collector_db.sqlite3
  # sqlite3 /tmp/collector_db.sqlite3
  SQLite version 3.8.5 2014-06-04 14:06:34
  SQLite version 3.8.5 2014-06-04 14:06:34
  Enter ".help" for usage hints.
  Enter ".help" for usage hints.
  sqlite> SELECT HEX(dig) FROM spkg_hdr WHERE name = "SYS_CON_FIRMWARE_01010303.pkg.spkg_hdr.1 3.70";
  sqlite> SELECT * FROM spkg_hdr WHERE name = "SYS_CON_FIRMWARE_01010303.pkg.spkg_hdr.1 3.70";
  7215D87859A31889F5FB931BDED988A95AF6A38E
  SYS_CON_FIRMWARE_01010303.pkg.spkg_hdr.1 3.70|rØxY£‰õû“Ùˆ©Zö£Ž|
*we can just use a browser plugin to deal with database
*we can just use a browser plugin to deal with database
[[File:Collector.png|200px|thumb|spkg_hdr SQLite table]]
[[File:Collector.png|200px|thumb|spkg_hdr SQLite table]]
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)