NetSPI / PowerUpSQL

PowerUpSQL: A PowerShell Toolkit for Attacking SQL Server
Other
2.47k stars 462 forks source link

Resolved issue #67 and fixed error in Invoke-SQLUploadFileOle #68

Closed mgeeky closed 3 years ago

mgeeky commented 3 years ago

Hi!

I've resolved issue #67 that I'd reported earlier since that was a straightforward fix and also noticed that my Invoke-SQLUploadFileOle function can sometimes derail PowerShell interpreter when formatting big input file into hex interpretation.

To overcome that I've changed implementation to use different method for converting byte array into hexstring that works far more stable now.

Also, could we mention those two functions in PowerUpSQL's wiki, like for instance here? It would help anyone who's not aware they could use MSSQL to download/upload files :)

Hope you'll like it!

Cheers, Mariusz.

nullbind commented 3 years ago

Thanks for the updates!