8 Responses

  1. raver2046
    raver2046 December 16, 2010 at 8:18 PM |

    hello when i try to use your compiled .exe my computer say :

    pwnat.exe -c 8000 172.16.0.3 172.16.91.122 80
    Listening on TCP 0.0.0.0:8000
    Failed to send ICMP packet: No error
    Failed to send ICMP packet: No error


  2. xiaomao
    xiaomao August 18, 2012 at 5:48 AM |

    The makefile can be made faster by using an inference rule, which allows all .c files to be compiled in one run of cl.exe:

    list.obj: list.c list.h common.h
    socket.obj: socket.c socket.h common.h
    client.obj: client.c client.h common.h
    message.obj: message.c message.h common.h
    destination.obj: destination.c destination.h
    udpclient.obj: udpclient.c list.h socket.h client.h message.h common.h
    udpserver.obj: udpserver.c list.h socket.h client.h message.h common.h
    pwnat.obj: pwnat.c common.h
    xgetopt.obj: xgetopt.c xgetopt.h
    gettimeofday.obj: gettimeofday.c gettimeofday.h
    packet.obj: packet.c packet.h

    .c.obj::
    $(CC) $(CFLAGS) $<

    Patch the middle section that is repetitive.


  3. B.S.
    B.S. January 29, 2014 at 1:48 AM |

    ‘t would be useful if pwnat could take / figure out local ethernet ip address instead of needing it specified. e.g. DHCP installations.

    Could try this in the mean time:

    @echo off
    ipconfig | sed -n -e “/Ethernet adapter/n” -e “s/.*IPv4.*: /set myip=/p” > setmyip.cmd
    call setmyip.cmd
    echo %myip%


  4. Jo
    Jo June 5, 2014 at 1:16 PM |

    could you compile a working one, the one you share here is crashing on any incoming connections. (w8/8.1)
    thanks.


  5. Disa
    Disa September 17, 2014 at 2:10 AM |

    I wanted to compile the new version of pwnat from github repository, but getting errors in code. Any idea why, did you encountered them too?


Comments are closed.