He whakahau kia tirohia mēnā e tuwhera ana te tauranga i runga i to maatau PC / Tūmau, i tetahi atu mamao ranei

I etahi wa me mohio taatau kei te tuwhera te tauranga X i runga i te rorohiko mamao (te kaituku ranei), i tera wa kaore o maatau waahanga, taputapu ranei hei whakamahi:

Tuhinga

Ko te otinga tuatahi e whakaarohia ana e te nuinga o tatou ko: Tuhinga , tirohia te tuhinga e kiia ana: Tirohia nga tauranga tuwhera me te NMap me nga tikanga hei tiaki ia tatou ano 

Mena kaore koe e hiahia ki te tirotiro katoa, engari me mohio koe mena kei te tuwhera tetahi tauranga i runga i te rorohiko X / kaitautoko, penei pea:

nmap {IP_O_DOMINIO} -p {PUERTO} | grep -i tcp

Hei tauira:

nmap localhost -p 22 | grep -i tcp

E te puna:

nmap 127.0.0.1 -p 22 | grep -i tcp

He maamaa tenei, ka patai ki te IP, ki te Kaihautu ranei mena he tuwhera te tauranga kua hoatu, kaore ranei, katahi ka whiriwhiria te grep ka whakaatu noa i te raina e hiahia ana ratou ki te panui, ko te korero ki a raatau mena kua tuwhera (tuwhera) kua kati ranei (kua kati ) taua tauranga:

Tuhinga

Aue ... ae, ko te nmap (te tuhura Whatunga me te taputapu tirotiro tauranga) he mahi ma maatau, engari kei kona ano etahi atu momo rerekee ka iti ake te patopato 🙂

nc

nc netcat ranei, he maama ake ake te mohio mena he tuwhera te tauranga kaore ranei:

nc -zv {IP_O_DOMINIO} {PUERTO}

Ko:

nc -zv 192.168.122.88 80

Anei tetahi Whakaahuamata e mahi ana i te whakamatautau ki te tauranga e tuwhera ana (80) me tetahi atu ki tetahi atu tauranga kaore (53):

nc

El -zv he ngawari te mahi, te v maana matou e kite mena ka tuwhera te tauranga kaore ranei, i te kati a z i te hononga i te wa ka tirohia te tauranga, mena kaore e tuu te z kaati me mahi e maatau a Ctrl + C ki te kati i te nc.

telnet

Koinei te rereke i whakamahia e au mo etahi wa (na te kuare o te mea kua whakahuatia ake nei), ka mutu he nui ake te mahi a te telnet ki a taatau ko te mohio mena kua tuwhera te tauranga kaore ranei.

telnet {IP_O_HOST} {PUERTO}

Anei tetahi tauira:

telnet 192.168.122.88 80

Ko te raru o te telnet ko te kati i te hononga. I etahi atu kupu, i etahi waa kaore e taea e taatau te kati i te tono telnet ka akiaki maatau ki te kati i taua kaapu, ki tetahi atu kaainga ranei ka mahi i tetahi telnet killall tetahi mea rite ranei. Koina au ka karo i te whakamahi i te telnet engari mena ka tino hiahia ahau.

Te mutunga!

Heoi, ko te tumanako he mea pai tenei ki a koe, mena kei te mohio tetahi atu ki te mohio mena he tuwhera tauranga kaore ranei i runga i tetahi atu rorohiko, waihohia ki roto i nga korero.

Mauruuru!


Ko nga korero o te tuhinga e piri ana ki o maatau kaupapa o matatika whakatika. Ki te ripoata i tetahi paatene paato Here.

14 korero, waiho maau

Waiho to korero

Ka kore e whakaputaina tō wāhitau īmēra. Kua tohua ngā āpure e hiahiatia ana ki *

*

*

  1. He kawenga mo nga raraunga: Miguel Ángel Gatón
  2. Te kaupapa o te raraunga: Whakahaerehia te SPAM, te whakahaere korero.
  3. Ture: To whakaae
  4. Whakawhitinga korero: Kaore nga korero e tukuna ki nga taha tuatoru engari ma te ture herenga.
  5. Rokiroki raraunga: Paetukutuku e whakahaerehia ana e Occentus Networks (EU)
  6. Tika: I nga wa katoa ka taea e koe te whakaiti, te whakaora me te muku i o korero.

  1.   Tesla ka mea

    Ko enei whakahau ka ngawari ki ahau ina hono atu au ma te SSH!

    Gracias!

  2.   hohoro ka mea

    Kei kona tetahi tono whakairoiro hei mahi i taua mahi?

    1.    KZKG ^ Gaara ka mea

      Ka taea e koe te whakauru i nga wa katoa ki te whakakahore i te mahere hei whakamahi i te maapapapaku mai i muri :)

    2.    vidagnu ka mea

      Mena me te nmapfe, ko te atanga whakairoiro e tae mai ana me te nmap.

  3.   Konozidus ka mea

    Ma te netcat e kii mai ana he kore he te whiringa a te z, mena kaore he mahi tino pai, ana ki te $ man nc, kaore ano e kitea. No hea mai?

    https://blog.desdelinux.net/wp-content/uploads/2013/12/Captura-de-pantalla-de-2013-12-29-011908.png

    1.    KZKG ^ Gaara ka mea

      -z: E whakaatu ana me tirotiro noa te nc mo te whakarongo ki nga riemono, me te kore e tukuna he raraunga ki a raatau. He he ki te whakamahi i tenei waahanga me te -l whiringa.

      Me te nc ae ka kite au i a O_O

  4.   eliotime3000 ka mea

    Me pehea taku hono atu ki te VPS mo SSL?

  5.   vidagnu ka mea

    Ko taku e mahi tonu ana ko te whakahaere nmapfe host-ip kia homai ki ahau nga tauranga tcp katoa, inaianei kia kite i nga tauranga udp tuwhera me whakahaere e koe:

    nmap -sU ope-ip

    Kua whakamahia ano e ahau te telnet nui atu i nga mea katoa kei runga i nga matapihi mena kaore au i te nmap kua whakauruhia, kaore te reo netcat e aro mai ki ahau ...

    Mauruuru!

  6.   Alejandro ka mea

    Kei te hiahia au ki te mohio atu mo tenei, ko te tumanako ka taea e koe te tautoko i ahau he tino mohio ahau me te hiahia ki te mohio mo te whakamahi i tenei momo mohiotanga ki roto i aku mahi.

  7.   hangarau21 ka mea

    Katahi ano ahau ka mohio kaore aku putea e hiahia ana ahau kia tuwhera, inaianei me rangahau e au me pehea te whakatuwhera kia pai ai taku hiahia. Mauruuru mo te takoha, kua awhinatia nui ahau.

  8.   Domtrel ka mea

    Tuhinga tino pai! Haunga te netcat, kei te mahi tonu i runga i te vmware ESXi:

    http://www.sysadmit.com/2015/09/prueba-de-conexion-un-puerto-desde-VMWare-Windows-Linux.html

  9.   Lolo ka mea

    sudo kia whakauruhia te nmap

    namp 192.168.0.19 -p 21 | grep -i tcp

    te kaainga o te kaiwhakamahi rohe srv / ftp

    whakaoho ano me te ratonga sudo vsftpd whakaoho ano

    write_enable = YES kia taea ai e nga kaiwhakamahi o te rohe te tuku konae.

    Hei herehere kore i tona kainga
    chroot_local_user = āe
    chroot_list_enable = āe

    allow_writreable_chroot = āe

    no_annon_password = kaore mo nga mea kore ingoa ki te tuku mai i runga i te atawhai

    deny_email_enable = āe
    banned_email_file = / etc / vsftpd.banned_emails Hei whakakahore i tetahi ingoa kore ma te imeera.
    ____—————————————————————
    he iti ake te kaiwhakamahi whare herehere i era kei te raarangi
    chroot_local_user = āe
    chroot_lits_enable = āe

    chroot_list_file = / etc / vsftpd.chroot_list.

    Hei taapiri i nga kaiwhakamahi sudo ingoa adduser

    whakaweto i nga kaainga local_enable = kaore

    whare herehere i a koutou ma te taunoa
    kore ingoa ingoakore i roto i te srv / ftp

    waahi i to kaainga

  10.   Kaikorero ka mea

    Tino pai! Mena kaore o maatau nmap, telnet netcat ranei, ka taea e taatau te whakamahi i te ngeru me te raarangi hokohoko.

    ngeru </ dev / tcp / HOST / PORT

    Hei tauira: http://www.sysadmit.com/2016/03/linux-cat-y-proc-prueba-de-conexion.html

  11.   Kuetox ka mea

    Nga mihi, tino pai te whakamarama