Giter VIP home page Giter VIP logo

mido's People

Contributors

c0rn3j avatar elliotkillick avatar eltociear avatar rmscode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mido's Issues

[Bug] Windows 11 download returns error 403

For a while (a month) I havent been able to download Windows 11 via Mido anymore. I can succesfully download all other versions (8, 10, etc) but not 11. It always returns HTTP error 403.

At first I thought I just had been blocked, but I tried from many different IP addresses and they all result in error 403. So I am starting to think the problem is not on my end, but some change in the query parameter format for example.

Can someone please confirm wether Win11 download is still working for them?

Rewrite in Rust?

Hey! I just saw this project off of Reddit and saw there was a need for a GTK application. I was likewise wondering if there'd be interest in making this project work in Rust, which could provide some nice benefits compared to the current implementation:

  • This tool could be exposed as a library, allowing any Rust program to use it's functionality in a clean manner
  • The CLI and GUI can both use the same codebase, with the only differences being the code to make the CLI/GUI work

I'm throwing this out to get some thoughts on whether it'd be a viable option of not. What do you think?

free(): invalid pointer error

Immediately aborts with the error:

*** glibc detected *** /bin/sh: free(): invalid pointer: 0x000cd0cc ***

Attempting to run it on an old nas with 'uname':
Linux Seagate-D2 3.10.72-svn18863 #1 Thu Jan 17 00:12:15 UTC 2019 armv7l GNU/Linux

Kernel & software is probably too deprecated?

[ERROR] Failing HTTP status code on MacOS

Hi,
Great script, potentially very useful - but I've not got it working yet...

Steps -
I created local working folder, wget'd the .sh, chmod, etc. then ran -
./Mido.sh win11x64

Error produced each time i attempt -

[!] Microsoft servers returned failing HTTP status code!

[!] 1 attempted download(s) failed! Please re-run Mido with these arguments to try downloading again (any partial downloads will be resumed): win11x64

I can duplicate this across multiple networks, so i'm not sure its a network issue per-say.

Has this error been seen before?

Thanks!

feat: add Microsoft Office ISOs

Description

I've been using Mido for downloading various versions of Windows and appreciate its security features and minimalist design. It's incredibly useful for automating downloads and setting up virtual machines. However, I noticed that it currently supports downloading Windows OS versions only.

Suggestion

It would be great if Mido could also support downloading Microsoft Office ISOs. This feature would make Mido even more versatile and beneficial for users who need to download Office for their work or personal use.

Benefits

  • Consolidation: Users could manage both Windows and Office downloads from a single tool.
  • Convenience: It simplifies the process of setting up a new system with both Windows and Office installed.
  • Automation: Like Windows downloads, Office downloads could also be automated, saving time and effort.

Conclusion

Adding Microsoft Office ISOs to Mido would enhance its functionality and provide a comprehensive solution for downloading Microsoft products securely and efficiently. Thank you for considering this suggestion.

[Suggestion] Speedup archive.org sources with torrent?

The only con then is that web.archive.org is a much slower download source than the Microsoft servers

archive.org sources can use massive speedup from using torrents.

The torrents have great amount of seeders, and webseeds from archive.org

Here's a discussion regarding the same thing.
dockur/windows#232

aria2 might also speed up HTTP downloads since it can download segments in parallel (if the server allows multiple connections)

SHA256SUMs for consumer editions of Windows can be gathered directly from the page of the ISO download link

Hello. I was working on options for downloading different windows ISOs in quickemu (which uses code from this project), and while trying to find where Microsoft publishes hashes, I discovered that they were located on the same page as the download link. Here's the code I used in order to gather the correct hash from the page (this must be run before reducing iso_download_link_html to the first 4096 characters).

HASH=$(echo "$iso_download_link_html" | sed 's/<tr><td>/\n<tr><td>/g' | grep "$LANGUAGE 64-bit" | grep -o -P '(?<=</td><td>).*(?=</td></tr>)')
This should work for windows 8, 10, and 11 consumer ISOs. From a quick check, the windows server pages do not appear to have checksums published, and the enterprise editions appear to only have them in a PDF format.

Security Advisory: Unpatchable DoS vulnerability

Mido had an unpatchable DoS vulnerability since it's release. The issue was that Microsoft servers could send us data forever until OOM or disk space fills up. I knew about this issue, but, just tried to limit the untrusted size after running curl which was generally a good idea but didn't resolve the DoS issue.

I let the curl team know about the issue and they changed how --max-filesize works to make it fixable: curl/curl#11810

I released the fix in the latest commit: f06a128

To make sure the fix applies to you, please ensure your curl is at least version 8.4.0 (run curl --version).

Thanks,
Elliot

win7x64-ultimate iso redownloaded every time the script is run with 'all' argument

So far as I can tell mido already successfully downloaded the win7x64-ultimate.iso file on the first run. I'm re-running mido to complete a few remaining partial dowloads of win2022-eval.ios and win11x64-enterprise-eval.isos.

Is the sha256 hash of each ISO checked for before making the decision to redownload a file or only afterwards?

Current hash of win7 iso

sha256sum win7x64-ultimate.iso dec04cbd352b453e437b2fe9614b67f28f7c0b550d8351827bc1e9ef3f601389 win7x64-ultimate.iso

win7x64-ultimate.iso sha256 hash as found in the mido.sh script

dec04cbd352b453e437b2fe9614b67f28f7c0b550d8351827bc1e9ef3f601389

Here's a current directory listing:

total 52638916
-rwxr-xr-x 1 user user      38937 Aug  8 12:10 mido.sh
-rw-r--r-- 1 user user 5550497792 Aug  9 03:41 win10x64-enterprise-eval.iso
-rw-r--r-- 1 user user 4898582528 Aug  8 21:10 win10x64-enterprise-ltsc-eval.iso
-rw-r--r-- 1 user user 5088602112 Aug  8 20:38 win11x64-enterprise-eval.iso
-rw-r--r-- 1 user user 1001123840 Aug  9 03:47 win11x64-enterprise-eval.iso.PART
-rw-r--r-- 1 user user 3166840832 Aug  8 21:35 win2008r2.iso
-rw-r--r-- 1 user user 4542291968 Aug  8 22:17 win2012r2-eval.iso
-rw-r--r-- 1 user user 6972221440 Aug  8 23:10 win2016-eval.iso
-rw-r--r-- 1 user user 5652088832 Aug  8 23:43 win2019-eval.iso
-rw-r--r-- 1 user user 4778459128 Aug  9 00:12 win2022-eval.iso.PART
-rw-r--r-- 1 user user 5876357120 Aug  8 18:37 win7x64-ultimate.iso
-rw-r--r-- 1 user user 2413605000 Aug  9 09:05 win7x64-ultimate.iso.PART
-rw-r--r-- 1 user user 3961473024 Aug  9 03:09 win81x64-enterprise-eval.iso

Download through cygwin is not working as expected

So basically, i installed cygwin using the provided command, moved to the Mido project i cloned to my windows machine inside the cygwin terminal, ran the Mido script and got an error trying to download it:

joly0@idk /cygdrive/c/Users/joly0/Documents/Projects/Mido
$ ./Mido.sh win11x64
[i] Downloading Windows media from official Microsoft servers...
[i] Downloading Windows 11...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  137k    0  137k    0     0   506k      0 --:--:-- --:--:-- --:--:--  511k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Failed to open the file /dev/null: No such file or directory
  0   757    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (23) Failure writing output to destination, passed 757 returned 4294967295
[!] Failed at writing Windows media to disk! Out of disk space or permission error? Exiting...

[!] 1 attempted download(s) failed! Please re-run Mido with these arguments to try downloading again (any partial downloads will be resumed): win11x64
[+] Finished! Please see the above errors with information

joly0@idk /cygdrive/c/Users/joly0/Documents/Projects/Mido

I assume this is not intentional or its intended behaviour?

Updated Win11 23H2 SHA-256

Hello!

Absolutely love this tool, just discovered it when researching the absurdity that is MS's iso download process and it's already saved me a ton of sanity.

Thought I'd submit the current SHA-256 for WIn11 23H2:

71a7ae6974866603d366a911b0c00eace476e0b49d12205d7529765cc50b4b39

Verified via my own downloads using Mido and: https://answers.microsoft.com/en-us/windows/forum/all/windows-11-23h2-multi-edition-iso-is-released-by/6aae0a33-fb9c-4e26-be2e-2fdeeb53b268

Thanks again for this!

[Feature request] Disable integrity check

It would be nice to have a commandline parameter to disable the integrity check, because it takes quite some time and for me personally its not really necessary as the image is downloaded from a trusted source.

EDIT: An alternative would be to have a flag to let Mido just return the download url, and let me handle the download/processing myself.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.