Windows File Transfer Methods — File Transfers Module — HTB Walk-Through
TIER 0 MODULE: FILE TRANSFERS
SECTION: Windows File Transfer Methods
Please open your pwnbox or connect to the vpn, in order to complete the tasks.
If you are not registered in HTB Academy, then use this link to register now: https://referral.hackthebox.com/mzxKOJt
- Download the file flag.txt from the web root using wget from the Pwnbox. Submit the contents of the file as your answer.
wget <target-ip>/flag.txt
After successfully downloaded, view the content of the file.
cat flag.txt
Answer: b1a4ca918282fcd96004565521944a3b
2. Upload the attached file named upload_win.zip to the target using the method of your choice. Once uploaded, unzip the archive, and run “hasher upload_win.txt” from the command line. Submit the generated hash as your answer.
Download the upload_win.zip to the attacker machine:
wget https://academy.hackthebox.com/storage/modules/24/upload_win.zip
# Run this in the attacker machine
Connect to target via RDP:
xfreerdp /v:<target-ip> /u:htb-student /p:HTB_@cademy_stdnt!
Simply copy/paste the upload_win.zip file to the target machine.
Open the .zip archive and open cmd in that directory.
hasher upload_win.txt
Answer: f458303ea783c224c6b4e7ef7f17eb9d
☣️ HAPPY ETHICAL HACKING ☣️
DISCLAIMER: THIS CONTENT DOES NOT BELONG TO ME, I AM JUST WRITING A WALK-THROUGH OF A FREE MODULE OF HACK THE BOX ACADEMY. (WRITING WALKTHROUGHS OF FREE MODULES IS PERMITTED BY HTB ACADEMY)