PowerShellEmpire / PowerTools

PowerTools is a collection of PowerShell projects with a focus on offensive operations.
Other
2.05k stars 811 forks source link

New function please, Invoke-FileDownloader #19

Closed digininja closed 9 years ago

digininja commented 9 years ago

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

HarmJ0y commented 9 years ago

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.

digininja commented 9 years ago

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 https://github.com/Veil-Framework/PowerTools/issues/19#issuecomment-100544124 .

HarmJ0y commented 9 years ago

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.

digininja commented 9 years ago

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 https://github.com/Veil-Framework/PowerTools/issues/19#issuecomment-100552473 .