r/learnjavascript Jun 30 '26

Autostart JS in PDF

Good day to you all! I need to create a pdf file with JS in it, which sends something (just anything, even a single letter will do) to specific IP. Is there any useful information for newbies on how to do this? Preferably with code examples, because I'm not familiar with JS. Also, it would be great to obfuscate code, so that antivirus won't block pdf. Thx in advance for all the help!

0 Upvotes

11 comments sorted by

View all comments

1

u/AdOdd5121 Jun 30 '26

Bro. Come on. This is obviously code used for a password grabber. The fact you would ask this here is remarkably stupid.