What does this obfuscated bash/perl code do? [closed] - perl

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I've just found this code in a comment on a blog.
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
I realise it's probably a bad idea to paste this into the terminal, but can someone untangle this and tell me what it's meant to do? I'm not even sure it's valid code :)

I found it here http://www.cypherspace.org/adam/rsa/ and it's said that it's
a perl program which implements RSA encryption and decryption,
and is small enough to use as a signature file
and here is the full explanation of the code - it uses dc (GNU desk calculator by the way).

Related

Windows - Where can I find a system() list of parameters? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
This is my first question here in StackOverflow, so if this question has already been made or is in the wrong topic, please excuse me.
I'm studying C using Windows and I'm looking for a list/book/manual of usable parameters for the system() function. Stuff like system("pause"), system("cls"), system("color 1f"), etc...
Thanks for the help in advance.
The purpose of system() API is to execute an external command, the parameters are the arguments of the command that you are trying to execute, just like if you were typed in shell prompt, there is not anything special to pass, just put into the string.

How to organize code in rebol? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
Whats the best way to organize code in Rebol?
(Rebol2, not Rebol3. Rebol3 will have import, as it seems.)
Is the do %myfunctions.r-style all that is needed? There is no real package statement like in Java, or #include like in C?
Do community-approved naming conventions exist?
Could http://www.rebol.it/power-mezz/mezz/module.html be considered a standard?
I read somewhere that I could build my own module system as well. But this seems not like a sensible approach to me.
Is this discussion doomed as Rebol3 will be finished soon? ;-)
Some subjects I know use my include.r, released under Apache 2.0 now. It is not a module system but you may find it useful.

Which file or directory do I point to for the Application Upload step for the Apple App Store? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have read several sites and they all say to upload the app, but I don't know what the exact file to point to is. Anybody out there know the answer?
As it turns out, there was a really helpful question which I didn't find. It is How can I build for release/distribution on the Xcode 4?
In the answers was one by benvolioT which points to a webpage. This webpage is just the answer for this question. It is worth bookmarking.

Writing to a Wiki [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I need to write a script that writes (appends) data to an internal wiki that isn't public (needs username and password but unencrypted, http not https). The script can be a shell script, a Perl script, or even a Java application (last resort). Any help would be appreciated. Let me know if any additional information is needed.
Right now, I'm only able to read from the wiki using LWP Perl library using the getprint($url) function.
Thanks
If it's truly MediaWiki, then just use MediaWiki::API.

UTF-8 Unicode Error in Latex Document [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I was wondering if someone can help me with that latex error.
Package inputenc Error: Unicode char \u8:̈ not set up for use with LaTeX.
The Latex compiler can't compile and stops at a line, with an umlaut.
Thank you.
I figured out what the error was.
The problem was that I just copied some pdf text into the Latex document. Luckily the compiler told me, where exactly the problem was. As I mentioned above it's an umlaut. So I just retyped it and that's it.
Hope it helps someone.