why dont you use port 80?
1)i will begin with a reverse shell inside the same network :
i have 2 pc A and B
B will setup the payload as(...LHOST=192.168.0.90 LPORT=4444...)
if A execute the .exe on his pc B will obtain a shell
that was the first scenario (A and B are in the same network ).
the second scenario:
A & B are not in the same network and they can't (A & B) control their router configuration for port forwarding... (their is many routers and switches...)
all outgoing traffic are accepted for the A LAN but the incomming only 80
the same rules for LAN B .
if B go to www.whatismyip.com and find that his ip is 18.104.22.168
and if A go to www.whatismyip.com and find that his p is 22.214.171.124
B setup a .exe reverse shell with these configuration :
(LHOST=126.96.36.199 LPORT=4444) and send it to A ,if A execute this .exe
then he will connect to the 188.8.131.52 ip, but their is restriction for all port
EXEPT 80 . ==>B will not obtain a shell.
MY QUESTION IS:::
if B find a proxy on the net that have ip 184.108.40.206:8888
he can do such as this or similar???
B send a reverse shell (payload) to A with these payload configuration:
(...LHOST=220.127.116.11 LPORT=8888...) (the proxy ip address and open port of the proxy 8888)
B will send the payload to A ;
if A open the .exe now he will connect to the proxy on port 8888
and then B will connect to that proxy to gain access to the A shell ???
or similar to that technic???
their is any tutorial for such these tunneling type??
(((only for education purposes)))
I was truly amazed. Very informative. Thanks for your effort and work.
Yes, using port 80 is fine, and Metasploit fully supports pretty well any type of tunneling you can think of. These will help:
Someone posted them earlier.
thanks phoenix910 for the links
BUT this is not my question :
my question is that A and B are the 2 of them are in a internal network and B want to connect to A shell
the links that you give me is B is directly behind the net (he have a public ip)
and A have a private ip (not directly connected to the net )
and about the port 80 i have posted that earlier and tell you that it don't work ;how can i use port 80 in reverse shell?
my scenario can be done and thanks .
and this is me who post them earlier
and thanks again.
thank you very much rated
what i am trying to say is :
A and B are the 2 on them in a internal network
BUT: NOT in the same internal network
how can A and B connect to each other, and B obtain the shell of A???
how this can be done???
samer, give me A and B's ip address's
Are they connect to the same router
if not which of A and B are connect to routers?
If A and B are both under the same router close down both firewalls and do i reverse connection
if thay are not under the same router still close down both firewalls and edit your router so that port 80 is open for A and B ,
if you are still having trouble PM me and il teach you how to crawl,
I would rather be hated for what i am,
Then loved for what i am not.