PowerShellEmpire/PowerTools

New function please, Invoke-FileDownloader

digininja opened this issue · 4 comments

It would take output from Invoke-FileFinder and download all the files in the list to a local directory.

Try cloning this branch https://github.com/Veil-Framework/PowerTools/tree/ping_speedup

"Invoke-FileFinder -ShareList .\shares.txt | Invoke-FileDownloader" should download all files to .\Downloads, preserving the recursive directory structure of the source. Let me know if there are any issues.

I assume I can just cat an existing file into it rather than having to run
the finder again.

cat file_list | | Invoke-FileDownloader

On 9 May 2015 at 21:53, HarmJ0y notifications@github.com wrote:

Try cloning this branch
https://github.com/Veil-Framework/PowerTools/tree/ping_speedup

"Invoke-FileFinder -ShareList .\shares.txt | Invoke-FileDownloader" should
download all files to .\Downloads, preserving the recursive directory
structure of the source. Let me know if there are any issues.


Reply to this email directly or view it on GitHub
#19 (comment)
.

Pipeline should now accept a straight filepath list or the object output of filefinder. You can also supply -FileList .\files.txt.

Also, the *Threaded versions of meta-functions should be fixed. Unthreaded version (invoke-sharefinder/etc.) now so parallel ping resolution first (and then enumeration in serial) for a speed up, and the Threaded versions try 20 enumerations at once.

Great, will give it a go.

On 9 May 2015 at 22:56, HarmJ0y notifications@github.com wrote:

Pipeline should now accept a straight filepath list or the object output
of filefinder. You can also supply -FileList .\files.txt.

Also, the *Threaded versions of meta-functions should be fixed. Unthreaded
version (invoke-sharefinder/etc.) now so parallel ping resolution first
(and then enumeration in serial) for a speed up, and the Threaded versions
try 20 enumerations at once.


Reply to this email directly or view it on GitHub
#19 (comment)
.