Open Sonic3R opened 9 months ago
I can't exactly tell from the info supplied, but generally the size of articles are not allowed to change once they have been generated.
I'm guessing your attempt to randomise the filename length is causing the article size to vary, triggering the error.
I am facing similar errors when using Nyuu-obfuscated fork.
is there a better way to implement this? I tried using --yenc-name parameter present in nyuu's original repo with rand(n) but it keeps the same yenc name for all articles from a particular file.
The reason behind going such lengths is that easynews search can deobfuscate if all the articles related to a file have same yenc name
You should probably report the issue in that fork.
Modifications which alter an article's length (without appropriate changes) will not work correctly in Nyuu.
If the cause is the same as above, ensuring that the length of the filename is constant, may solve the issue.
Thanks for the tip!
Would it be possible to have something like that implemented in main nyuu repo?
Here is diff https://diffy.org/diff/6563ea7790c28 between original nyuu repo and my repo
Would it be possible to have something like that implemented in main nyuu repo?
If you're asking for something to allow the filename to vary between across articles, then highly unlikely.
It's not intentional behaviour, violates yEnc spec, and I have little interest in supporting every crazy idea someone comes up with.
Would it be possible to have something like that implemented in main nyuu repo?
If you're asking for something to allow the filename to vary between across articles, then highly unlikely. It's not intentional behaviour, violates yEnc spec, and I have little interest in supporting every crazy idea someone comes up with.
Oh, That's alright. Thanks for the help, keeping the length of the filenames same has solved this issue.
Cheers
@Last0n can give me a point how to do that ?
Hi,
I changed the
article.js
for better obfuscation as following:and
I randomly get error
Error: Article length mismatch encountered
and I can't figure out why. Can take a look maybe you have better insight than me.