File Transfers

Could I get a nudge in the right direction to find flag.txt on the Windows File Transfer step in module? It asks to wget flag.txt from webroot. Ran dirbuster on target IP to try and see if there was a directory. I am not using pwnbox so that may be the reason I get 403. I am on academy vpn on my own machine.

Type your comment> @TheHitmonkey20 said:

Could I get a nudge in the right direction to find flag.txt on the Windows File Transfer step in module? It asks to wget flag.txt from webroot. Ran dirbuster on target IP to try and see if there was a directory. I am not using pwnbox so that may be the reason I get 403. I am on academy vpn on my own machine.

I haven’t done this lab so I have no idea what the solution is for definite, however if you want to use wget to get a file from webroot, I’d start with:

wget http://example.com/flag.txt or wget http://1.2.3.4/flag.txt depending if you are using a hostname or IP address.

4 Likes

if anyone else is still stuck on this task, use hackthebox’s pwnbox, connecting with openvpn will give you 403, very irritating

Perfect