LinEnum is a good way to enumerate potential weaknesses on a box but what are the some of ways you can get that script onto the box in the first place assuming you have managed to acquire a shell of some sort? What if wget or curl aren’t available to you?
There’s a few ways, depending on the system OS. Older versions of windows may have TFTP installed. You may be ale to use Powershell on newer Windows boxes. There’s also normal FTP, etc.
This blog post details a few: Transferring Files from Linux to Windows (post-exploitation) - ropnop blog
You can also transfer files using netcat, and there’s another way using debug.