-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Windows] Problem with extracting a folder because of it's name (illegal characters) #7
Comments
See this StackOverflow Question: http://stackoverflow.com/questions/146134/how-to-remove-illegal-characters-from-path-and-filenames |
Would this do? System.IO.Path.GetInvalidFileNameChars(). string filename = tVS.Nodes[r].Text; foreach(char c in System.IO.Path.GetInvalidFileNameChars()) { |
Why don't you give it a go and see if it works - if it does make a pull request. :) |
Sure :P |
I don't know the codebase, I work on the Mac version. Sorry! |
No problem ;) |
This is really weird... I'm gonna need help for this issue, since I've tried at least 5 different ways to rename the file, and none of them worked... (or I'm just really dumb, since I'm a noob) |
Post a couple of the implementations you tried for ttwj. |
Like I said, I might have done something wrong. |
So anything regex related didn't work on it, and if statement didn't work (if e.FileName.contains ":"). |
Is the illegal characters issue with the IPA or the files in it
|
IPA files never have illegal chars in them on Windows. |
Yea I don't think we can fix that issue, screw windows.
|
Can we in that case copy the whole ipa over, and run Clutch thru ssh (like you would thru mobile terminal), and take the whole cracked ipa back? |
um that's a stupid idea but ok
|
Well, we could always say "ERROR: Could not be cracked, brake doesn't have enough swag on windows!" |
good idea
|
This issue can be fixed, it'll just take some work by the windows team, Brake & Clutch need to be coded to a decent quality. If need be I can set environment and learn the basics of C# and windows quick. But this isn't a hard bug to quash. |
The only way this could be fixed is that either we magically rename the file somehow, or just simply send the whole ipa to the phone, install it, and run Clutch, and bring back the cracked ipa. |
it's an issue with the zip library, we're not using the latest version so
|
Why don't we use the latest version then? |
I used a patched version that works properly on Mac, maybe they removed the
|
It cannot be that difficult to rename a file in C#. Surely. |
The problem is that that file is inside the zip. Also I tried the newest Ionic.Zip.dll and Brake wouldn't run at all for some reason... |
Maybe some of these might help? I'll check on them later, I'm busy with other stuff now. |
http://dotnetzip.codeplex.com/discussions/247531 This might work as well, I'll check this out too. |
If the .app folder inside the Payload contains \ / : * ? " < > | in it's name, Brake will fail to extract it.
This is a Windows only issue as those characters aren't banned on MAC and Linux (I think).
I want to know though if renaming the folder a bit would make a big impact on the whole process?
If the answer is yes I guess that they would have to crack those apps the old fashioned way.
(Bug was found by Kakarot1925 & I discovered the source of the problem)
The text was updated successfully, but these errors were encountered: