Q:

How to decrypt javascript code extracted from PDF

I analyzed PDF, and extract javascript code. 
But javascript code is encrypted. 
I can't decrypt it. 
Please advise me. 
javascript code
\040\040\040\040\146\165\156\143\164\151\157\156\043\164\151\157\156\040\163\167\050\051...

A:

This question seems off-topic to me, as embedded JavaScript in PDF documents has nothing to do with security.  That being said, perhaps you can give this tutorial a try.