Giter Club home page Giter Club logo

Comments (19)

deltazefiro avatar deltazefiro commented on August 22, 2024 2

Ahh. I know what you mean.
Just make the text files fully shuffled.
Sure, I'll add this feature soon.

from amarok-hider.

deltazefiro avatar deltazefiro commented on August 22, 2024 1

Hi Wjxfi,
I've been implementing this feature recently, by setting up a file extension filter to select which file to be fully shuffled.
I'd like to know if the process only obfuscates the "conventionally speaking text" files - .txt, .md, etc., is that enough for you?
Or you need it to fully obfuscate all "not-binary" files, like .xml .cfg .py .json etc.?

from amarok-hider.

Wjxfi avatar Wjxfi commented on August 22, 2024 1

Hi Wjxfi,
I've been implementing this feature recently, by setting up a file extension filter to select which file to be fully shuffled.
I'd like to know if the process only obfuscates the "conventionally speaking text" files - .txt, .md, etc., is that enough for you?
Or you need it to fully obfuscate all "not-binary" files, like .xml .cfg .py .json etc.?

all non-binary. as I said before, it won't slow down the application because of the small file sizes. and I don't understand why a filter is needed for this. because of the shuffling speed, it won't make sense to choose

from amarok-hider.

deltazefiro avatar deltazefiro commented on August 22, 2024

Sorry for the delayed response.

Yes. Amarok currently just changes the filename.
Shuffling some of the content is an idea, but somehow it increases the risk of corrupting the file and slowing down the speed.
I may try it later.

from amarok-hider.

deltazefiro avatar deltazefiro commented on August 22, 2024

The feature is added in v0.8.1b1.
Let me close this issue now. Feel free to reopen this issue if it does not work.
Thanks again!

from amarok-hider.

Wjxfi avatar Wjxfi commented on August 22, 2024

doesn't work. I have no way to reopen the issue
294324.jpg
294327.jpg

from amarok-hider.

deltazefiro avatar deltazefiro commented on August 22, 2024

Er... It does not work with text and zip files.
Because It just changes the first several bytes of a file - the file signature - to make most of the file (video, music, image, apk etc.) corrupted.
But a plain text file does not have a file signature. Shuffling the whole file is too costly.

from amarok-hider.

Wjxfi avatar Wjxfi commented on August 22, 2024

I need to shuffle the text files completely, even if it takes a long time. can you make a setting for that?

from amarok-hider.

deltazefiro avatar deltazefiro commented on August 22, 2024

🤔 Adding this feature is technically not a problem — But that will lose the purpose of this app.
If you can endure the slow speed, why not use an encryption tool?
It can surely be safer.

from amarok-hider.

Wjxfi avatar Wjxfi commented on August 22, 2024

Text files are small, so it won't take long. but encryption takes much longer. I'm not asking to encrypt everything - just the text files.

from amarok-hider.

deltazefiro avatar deltazefiro commented on August 22, 2024

as I said before, it won't slow down the application because of the small file sizes.

Not really. Some users use Amarok to hide game files. That includes logs or generated configs, which can be very large.

all non-binary.

Another problem: I can't find a very accurate method way to distinguish whether a file is "binary" or not.
MIME is a way, however it does not consistently produce reliable results. Not to mention using the file extensions.

Anyway, though it may not be entirely effective, try this: Amarok-v0.8.2b1-foss-f976599.apk

Enable Fully Obfuscate Text File - Enhanced in More Settings > Switch FileHider Workmode. The switch is visible when you enabled Obfuscate File Header and Fully Obfuscate Text File.

from amarok-hider.

Wjxfi avatar Wjxfi commented on August 22, 2024

Not really. Some users use Amarok to hide game files. That includes logs or generated configs, which can be very large.

just forbid to change game files or large files in this way

Another problem: I can't find a very accurate method way to distinguish whether a file is "binary" or not.
MIME is a way, however it does not consistently produce reliable results. Not to mention using the file extensions.

when selecting this mode there will be a choice. All non-binary or this:

I'd like to know if the process only obfuscates the "conventionally speaking text" files - .txt, .md, etc., is that enough for you?

from amarok-hider.

deltazefiro avatar deltazefiro commented on August 22, 2024

when selecting this mode there will be a choice. All non-binary or this:

yep indeed that's what I've done 😆

  • Fully Obfuscate Text File - Enhanced tries to obfuscate all non-binary
  • While Fully Obfuscate Text File just obfuscate .txt and .md

And I also skip files larger than 10MB

from amarok-hider.

Wjxfi avatar Wjxfi commented on August 22, 2024

I checked it out, it's just as fast and beautiful! I'm waiting for you to add this to the main release.

but we need to add more text formats, and limit it to 30 mb

from amarok-hider.

deltazefiro avatar deltazefiro commented on August 22, 2024

I checked it out, it's just as fast and beautiful!

Good to hear! XD

we need to add more text formats

Could you provide a list MIME Types which are non-binary? Currently, I set it to obfuscate text/*.
There may be some types that are left out: e.g. application/x-python-code for .py files.
I have to add these manually.

limit it to 30 MB

Tweaked!

from amarok-hider.

Wjxfi avatar Wjxfi commented on August 22, 2024

.json, .epub, .html, .doc, .docx, sub, .txt, .doc, .tex, .text, .pdf, .log, .apt, .ttf, .err, .sub, .djvu, .odt, .rtf, .bat, .hml, .htm, etc.

And what you said

There may be some types that are left out: e.g. application/x-python-code for .py files.
I have to add these manually.

from amarok-hider.

deltazefiro avatar deltazefiro commented on August 22, 2024

Oops I think you misunderstood.
For .epub, .docx etc., obfuscating their headers is just enough. So they are "binary" ones.
And for .html .text .tex etc., their MIME Types are already started with text/*.

And I'm not using file extensions to check its type ... So MIME Type please if you find exceptions.

from amarok-hider.

Wjxfi avatar Wjxfi commented on August 22, 2024

sorry, here's Mime (click on blue)

from amarok-hider.

deltazefiro avatar deltazefiro commented on August 22, 2024

Let's mark the issue as resolved!

from amarok-hider.

Related Issues (20)

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.