Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ave9858/mvs-dump
Scripts for My Visual Studio subscriber downloads file metadata dumps
https://github.com/ave9858/mvs-dump
Last synced: 12 days ago
JSON representation
Scripts for My Visual Studio subscriber downloads file metadata dumps
- Host: GitHub
- URL: https://github.com/ave9858/mvs-dump
- Owner: ave9858
- License: agpl-3.0
- Created: 2022-05-31T01:17:58.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-15T21:28:27.000Z (24 days ago)
- Last Synced: 2024-10-17T09:34:45.589Z (23 days ago)
- Language: Python
- Size: 33.2 KB
- Stars: 18
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starz - ave9858/mvs-dump - Scripts for My Visual Studio subscriber downloads file metadata dumps (Python)
README
# mvs-dump
This is an attempt at the revival of **MVS dump**.
So far the distribution format was an archive with several files. The problems are as follows:
* Gigantic text files - difficult to search through.
* Bad format.
* Megabytes of useless data.
* Invalid hash priority for some files (`mvs.txt`).This approach uses an SQLite database. This time without the uselessness of product notes (useful only for MVS subscribers, none of whom would need the dump in the first place) and release dates. Not directly searchable, but very easy to programatically dig through or display.
Made for the Glory of Hastur, by awuctl.
## Database structure
The database consists of two tables defined as follows:
```sql
CREATE TABLE products (
id INT PRIMARY KEY,
name VARCHAR
);
```
```sql
CREATE TABLE files (
id INT,
product INT,
name VARCHAR,
desc VARCHAR,
langc VARCHAR,
bootstrap VARCHAR DEFAULT NULL,
sha1 VARCHAR DEFAULT NULL,
sha2 VARCHAR DEFAULT NULL,FOREIGN KEY(product) REFERENCES products(id),
PRIMARY KEY(id, product)
);
```
## UseNormal use requires the user to be a Visual Studio subscriber with access to relevant subscriber benefits. The user is authorized with Microsoft servers using a genuine authentication cookie. You can get the cookie from your MS account credentials by putting them in `secrets/email` and `secrets/password` files and using `get_cookie.py`.
The first step is to generate the skeleton for the database with `mkdb.py`:
```sh
python mkdb.py mvs.db
```Next, populate the database with MVS data:
```sh
python mvs_dump.py mvs.db
# count - Number of consecutive IDs to query for (set to ~10000)
```The resulting database can be used with *SQlite3* or browsed in any SQLite-compatible program.
## Disclaimer
Nothing stored in the databases or done by this tool infringes Microsoft copyright.Files acquired through Visual Studio subscriber benefits are the sole property of Microsoft Corporation and their suppliers. These files **are not** available for download by use of this tool or the databases in any way.
The purpose of this repository and the databases is to provide users with the means of verifying genuine Microsoft software in a transparent manner.