Jump to content

redirect https to burp running on windows


lallous

Recommended Posts

Hello,

I have a Win7 machine that is acting as the gateway for the pineapple wifi.

On the same machine, I installed Burp and have it listen on all interfaces at port 8080.

How can I add a routing rule (iptables?) in Mark5 so it redirects all traffic to the Burp machine on 172.16.42.42?

Thanks

Link to comment
Share on other sites

maybe something like this or close to it

iptables -t typehere(ie tcp udp igmp etc) -A PREROUTING -p proticoltype --destination-port xx -j REDIRECT --to-port xxxx

example

iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 612

Link to comment
Share on other sites

Thanks for the reply.

What I want is to redirect to another machine where Burp is running.

In the command you showed me, it does not seem to say what host should the REDIRECT redirect to.

Essentially, this is what I want:

Clients connected to Mark 5 -> Mark 5 with iptables rule for redirecting port 80 to -> Windows machine (172.16.42.42) that is running Burp

Is it possible to SSH into Mark 5 and configure it in such a way?

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...