animetosho / Nyuu

Flexible usenet binary posting tool
215 stars 30 forks source link

minor change #106

Closed Ravencentric closed 1 year ago

animetosho commented 1 year ago

I assume this was made in accident, though I could enable that as an option if people are interested...

Ravencentric commented 1 year ago

Yes it was indeed an accident. Didn't wanna PR my hacky edit since I don't really know js. There's also another fork that improves upon the obfuscation here https://github.com/x-cord/Nyuu. Would love to see these improved obfuscation in Nyuu.

animetosho commented 1 year ago

Thanks for the pointer!

I might need an issue raised for explaining some of those changes, if the author is interested, otherwise they could just keep it in their fork.

Ravencentric commented 1 year ago

@animetosho so I tried testing the master build, and I can't seem to replicate the results as my hacky article.js change. What would the command look like to replicate both the filename article.js edit? (--from obfuscation simply works)

This what what i tested

--from '${rand(13)}@${rand(5)}.${rand(3)}' --subject '${rand(20)}' --header name='${rand(20)}'
animetosho commented 1 year ago

--filename is probably where you want to look, though the way it works is different from your edit.

Ravencentric commented 1 year ago

I tried --filename and it ended up obfuscating it inside the .nzb file as well. Is there a way to obfuscate it for article lookup but write the unobfuscated filename in the nzb file itself?

animetosho commented 12 months ago

I just added --yenc-name (use instead of --filename) which is probably closer to what you want.

Ravencentric commented 12 months ago

--yenc-name is perfect! thank you!