Netcat

netcat
Original author(s)*Hobbit*
Developer(s)Avian Research
Initial releaseOctober 28, 1995; 29 years ago (1995-10-28)[1]
Final release
1.10 / March 1996; 28 years ago (1996-03)
Operating systemUnix and Unix-like, DOS, Microsoft Windows, Windows CE
TypeNetwork utility
LicenseOriginal version: custom, permissive license
GNU version: GPL
OpenBSD version: BSD
Websitenc110.sourceforge.io

netcat (often abbreviated to nc) is a computer networking utility for reading from and writing to network connections using TCP or UDP. The command is designed to be a dependable back-end that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and investigation tool, since it can produce almost any kind of connection its user could need and has a number of built-in capabilities.

It is able to perform port scanning, file transferring and port listening.

Features

The original netcat's features include:[2]

  • Outbound or inbound connections, TCP or UDP, to or from any ports
  • Full DNS forward/reverse checking, with appropriate warnings
  • Ability to use any local source port
  • Ability to use any locally configured network source address
  • Built-in port-scanning capabilities, with randomization
  • Built-in loose source-routing capability
  • Can read command line arguments from standard input
  • Slow-send mode, one line every N seconds
  • Hex dump of transmitted and received data
  • Optional ability to let another program service establish connections
  • Optional telnet-options responder

Rewrites like GNU's and OpenBSD's support additional features. For example, OpenBSD's nc supports TLS, and GNU netcat natively supports a tunneling mode supporting UDP and TCP (optionally allowing one to be tunneled over the other) in a single command,[3] where other versions may require piping data from one netcat instance to another.

Ports and reimplementations

The original version of netcat was a Unix program. The last version (1.10) was released in March 1996.[4]

There are several implementations on POSIX systems, including rewrites from scratch like GNU netcat[5] or OpenBSD netcat,[6] the latter of which supports IPv6 and TLS. The OpenBSD version has been ported to the FreeBSD base,[7] Windows/Cygwin,[8] and Linux.[9] Mac OS X comes with netcat installed as of OSX 10.13 or users can use MacPorts to install a variant.[10]

A DOS version of netcat called NTOOL is included in the FreeDOS Package group Networking.[11] It is based on the WatTCP stack and licensed under the European Union Public Licence Version 1.1.[12]

Known ports for embedded systems includes versions for Windows CE (named "Netcat 4 wince"[13]) or for the iPhone.[14]

BusyBox includes by default a lightweight version of netcat named mini-netcat.[15] Another version with more features, named bloaty nc, is also available.[16]

Solaris 11 includes netcat implementation based on OpenBSD netcat.[17]

Socat[18] is a more complex variant of netcat. It is larger and more flexible and has more options that must be configured for a given task. On February 1, 2016, Santiago Zanella-Beguelin and Microsoft Vulnerability Research issued a security advisory regarding a composite Diffie-Hellman parameter which had been hard-coded into the OpenSSL implementation of socat.[19] The implausibility that a composite might have been unintentionally introduced where a prime number is required has led to the suspicion of sabotage to introduce a backdoor software vulnerability.[20] This socat bug affected version 1.7.3.0 and 2.0.0-b8 it was corrected in following releases from 1.7.3.1 and 2.0.0-b9.[19]

Cryptcat[21] is a version of netcat with integrated transport encryption capabilities.

In the middle of 2005, Nmap announced another netcat incarnation called Ncat.[22] It features new possibilities such as "Connection Brokering", TCP/UDP Redirection, SOCKS4 client and server support, ability to "Chain" Ncat processes, HTTP CONNECT proxying (and proxy chaining), SSL connect/listen support and IP address/connection filtering. Like Nmap, Ncat is cross-platform.

On some systems, modified versions or similar netcat utilities go by the command name(s) nc, ncat, pnetcat, socat, sock, socket, sbd.

ncat

Ncat is a similar tool to netcat provided by Nmap suite.[22] "While Ncat isn't built on any code from the “traditional” Netcat (or any other implementation), Ncat is most definitely based on Netcat in spirit and functionality."[23]

Ncat features includes: ability to chain Ncats together, redirect both TCP and UDP ports to other sites, SSL support, and proxy connections via SOCKS4 or HTTP (CONNECT method) proxies (with optional proxy authentication as well).[24]

See also

References

  1. ^ Hobbit (1995-10-28). "New tool available: Netcat". Bugtraq mailing list. Retrieved 2019-06-05.
  2. ^ Vacca, John R. (2006). Guide to Wireless Network Security. Springer Publishing. p. 266. ISBN 978-0387954257.
  3. ^ Giovanni Giacobbi (2006-11-01). "The GNU Netcat project". Retrieved 2020-03-22.
  4. ^ "Netcat 1.10". nc110.sourceforge.net. 2008-02-14. Retrieved 2019-06-05.
  5. ^ Giovanni Giacobbi (2006-11-01). "The GNU Netcat project". Retrieved 2019-06-05.
  6. ^ "OpenBSD CVSWeb: /src/usr.bin/nc/". OpenBSD. Retrieved 2019-06-05.
  7. ^ delphij (2005-02-06). "Contents of /release/5.4.0/usr.bin/nc/Makefile". FreeBSD. Retrieved 2019-06-05.
  8. ^ Thomas Linden (2011-03-02). "Netcat OpenBSD Cygwin Port 1.10.2.3". Daemon.de. Retrieved 2019-06-05.
  9. ^ Debian netcat-openbsd
  10. ^ "MacPorts Portfiles: netcat". MacPorts. Retrieved 2019-06-05.
  11. ^ "ibiblio.org FreeDOS Group -- Networking". ibiblio. 2019-03-03. Retrieved 2019-06-05.
  12. ^ Jürgen Hoffmann (2018-11-03). "various tools". Retrieved 2019-06-05.
  13. ^ Andreas Bischoff (2010-06-07). "Netcat 4 wince". Retrieved 2019-06-05.
  14. ^ "Revision 835: /trunk/data/netcat". 2008-08-18. Retrieved 2019-06-05.
  15. ^ "nc: mini-netcat - built from the ground up for LRP". git.busybox.net.
  16. ^ "busybox - bloaty nc". git.busybox.net.
  17. ^ "Oracle Solaris 11.2 Information Library - Performing TCP and UDP Administration With the netcat Utility". docs.oracle.com.
  18. ^ "socat - Multipurpose relay". 2019-04-06. Retrieved 2019-06-05.
  19. ^ a b "Socat security advisory 7". 2016-02-01. Retrieved 2019-06-05.
  20. ^ Chirgwin, Richard (2016-02-03). "Socat slams backdoor, sparks thrilling whodunit". The Register. Retrieved 2019-06-05.
  21. ^ "CryptCat Project". 2005-10-18. Retrieved 2019-06-05.
  22. ^ a b "Ncat - Netcat for the 21st Century". Nmap. 2009-07-08. Retrieved 2019-06-05.
  23. ^ "ncat(1) - Ncat Reference Guide". manpages.debian.org. 2016-12-18. Retrieved 2019-06-05.
  24. ^ "Ncat - Netcat for the 21st Century".

[[Program network station program 4.2

Read other articles:

У Вікіпедії є статті про інших людей із прізвищем Дітріх. Марлен Дітріхнім. Marlene Dietrich Фото 1950 року Фото 1950 рокуІм'я при народженні Марі Магдален ДітріхНародилася 27 грудня 1901(1901-12-27)Шенеберг[en], НімеччинаПомерла 6 травня 1992(1992-05-06) (90 років)Париж  Франціяниркова недостатніст

 

Нащадок білого барсакирг. Ак ілбірстін тукуму Жанр казкапригодницький фільмРежисер Толомуш ОкеєвСценарист Мар БайджиєвТоломуш ОкеєвУ головних ролях Догдурбек КидиралієвАширбек ЧокубаєвАліман ДжангорозоваОператор Нуртай БорбієвКомпозитор Мурат БегалієвХудожник Ол

 

107-й центр дорожнього забезпечення Нарукавний знак центруНа службі 1993Країна  УкраїнаНалежність  Збройні силиВид  Інженерні військаУ складі ГУОЗ ЗСУ 107-й центр дорожнього забезпечення (107 ЦДЗ) — військове формування інженерних військ Збройних сил України. І...

Опис Логотип газети Луганська правда Джерело http://www.pravda.lg.ua/ Автор зображення www.pravda.lg.ua Ліцензія Це логотип (емблема) організації, товару, або заходу, що перебуває під захистом авторських прав та/або є товарним знаком. Використання зображень логотипів з низькою роздільною з

 

Joseph de Maistre Joseph Marie, Comte de Maistre (* 1. April 1753[1] in Chambéry; † 26. Februar 1821 in Turin) war ein savoyischer Staatsmann, Schriftsteller und politischer Philosoph, der die Grundlagen des Ancien Régime gegenüber den Ideen der Aufklärung und deren Folgen während der Französischen Revolution verteidigte. Damit war er ein bedeutender Vertreter der Gegenaufklärung. Inhaltsverzeichnis 1 Leben 2 Reaktion auf Aufklärung und Französische Revolution 3 Rezeption 4...

 

Sports venue in Tempe, Arizona Tempe Diablo StadiumLocation2200 W. Alameda DriveTempe, AZ 85282Coordinates33°24′2″N 111°58′11″W / 33.40056°N 111.96972°W / 33.40056; -111.96972Capacity9,558SurfaceGrassConstructionOpened1969Renovated2002ArchitectPopulous (1993)TenantsSeattle Pilots (MLB) (1969–1970)Milwaukee Brewers (MLB) (1971–1972)Seattle Mariners (MLB) (1977–1993)Los Angeles Angels (MLB) (1993–present)Tempe Rafters (AFL) (1993–1996)[1] Te...

Zuwir DjamalKebangsaan IndonesiaPekerjaanDiplomatDikenal atasDuta Besar RI di Brunei Darussalam Zuwir Djamal adalah seorang diplomat Indonesia. Ia pernah bertugas sebagai Duta Besar Luar Biasa dan Berkuasa Penuh Republik Indonesia yang pertama untuk Brunei Darussalam setelah negara itu merdeka dari Inggris. Ia menjabat dari tahun 1984 sampai 1987. Zuwir Djamal kemudian digantikan oleh Ferdy Salim yang menjabat sampai tahun 1990.[1] Sebelumnya, pada masa orde lama, Zuwir juga pernah be...

 

GarnierJeniskosmetikDidirikan1904; 118 tahun lalu (1904) (sebagai Laboratoires Garnier)PrancisKantorpusatCentre Eugene Schueller41 Rue Martre BureauF 92110Clichy, Hauts-de-Seine, FranceTokohkunciAlfred Amour GarnierIndukL'OréalSitus webwww.garnier.co.uk www.garnierusa.com dispatch.garnier.comGarnier (pengucapan bahasa Prancis: [ɡarniay]) adalah merek kosmetik dari Prancis, dan anak perusahaan kosmetik L'Oréal. Perusahaan ini memproduksi produk perawatan rambut dan perawatan kulit...

 

此條目疑似为广告或包含宣传性内容。 (2022年12月11日)请协助使用中立的观点重写这篇条目。明显的广告请加入{{Delete|G11}}來提请删除。 此條目没有列出任何参考或来源。 (2023年6月14日)維基百科所有的內容都應該可供查證。请协助補充可靠来源以改善这篇条目。无法查证的內容可能會因為異議提出而被移除。 華泰商業銀行Hwatai Bank簡稱華泰銀行SWIFT識別碼HTBKTWTP金融代號10...

SirReginald MacLeod of MacLeodKCBReginald MacLeod of MacLeod, sometime before 1906.Born(1847-02-01)1 February 1847Died20 August 1935(1935-08-20) (aged 88)TitleThe 27th Chief of Clan MacLeodPredecessorNorman Magnus MacLeod of MacLeod (brother)SuccessorDame Flora MacLeod of MacLeod (daughter)SpouseLady Agnes Mary Cecilia NorthcoteChildren2 daughters: Flora MacLeod of MacLeod Olive Temple Painting of Reginald 27th Chief of MacLeod in Dunvegan Castle Sir Reginald MacLeod of MacLeod KCB (1 Fe...

 

Mega Series Suara Hati Istri: ZahraGenre Drama Roman Ditulis olehTim Kreatif MKFSutradara Joe Sandjaya Sam Sarumpaet Pemeran Lea Ciarachel Fourneaux Hanna Kirana Panji Saputra Zora Vidyanata Metta Permadi Bryan Andrew Andi Soraya Ponco Buwono Unang Kardiman Maya Yuliana Nina Tutachia Kartika Waode Cathy Fakandi Adib Asseggaff Penggubah lagu temaEndaLagu pembukaHati Yang Kau Sakiti — RossaLagu penutupHati Yang Kau Sakiti — RossaPenata musikIshvara GiovanniNegara asal IndonesiaBa...

 

Main power source in a locomotive For other uses, see Prime mover. An EMD 12-645E3 turbocharged two-stroke diesel engine, installed in an Irish 071 class locomotive In engineering, a prime mover is an engine that converts chemical energy of a fuel into useful work.[1] In a locomotive, the prime mover is thus the source of power for its propulsion.[2] In an engine-generator set, the engine is the prime mover, as distinct from the generator. Definition In a diesel-mechanical loc...

Mathematical model of the physical space Plane geometry redirects here. For other uses, see Plane geometry (disambiguation). Detail from Raphael's The School of Athens featuring a Greek mathematician – perhaps representing Euclid or Archimedes – using a compass to draw a geometric construction. GeometryProjecting a sphere to a plane OutlineHistory (Timeline) Branches Euclidean Non-Euclidean Elliptic Spherical Hyperbolic Non-Archimedean geometry Projective Affine Synthetic Analyt...

 

Artikel ini bukan mengenai tingkat kematian kasus. Kematian pada negara-negara di dunia. Angka kematian atau tingkat kematian (bahasa Inggris: mortality rate atau mortality ratio) adalah ukuran kematian rata-rata dari penduduk dalam suatu daerah atau wilayah tertentu. Secara sederhana, mortalitas merupakan jumlah kematian akibat penyakit tertentu maupun kematian alami.[1] Mortalitas merupakan salah satu komponen penting dalam kependudukan.[2] Pertumbuhan penduduk ditentukan sa...

 

Mathematical model for describing material deformation under stress This article includes a list of general references, but it lacks sufficient corresponding inline citations. Please help to improve this article by introducing more precise citations. (August 2023) (Learn how and when to remove this template message) Part of a series onContinuum mechanics J = − D d φ d x {\displaystyle J=-D{\frac {d\varphi }{dx}}} Fick's laws of diffusion Laws Conservations Mass Momentum Energy I...

Location mentioned in the Hebrew Bible This article is about the place. For the Jewish festival, see Sukkot. The name Sukkot (Succoth) appears in a number of places in the Hebrew Bible as a location: Depiction of the Hebrews camping in Succoth Egypt An Egyptian Sukkot is the second of the stations of the Exodus. According to the Hebrew bible, God had sent Moses to rescue the Israelites from captivity by an unnamed Pharaoh - who later allowed the Israelites to leave Egypt, and they journeyed f...

 

American politician This article is an orphan, as no other articles link to it. Please introduce links to this page from related articles; try the Find link tool for suggestions. (March 2017) Earl TillyTilly in 1977Member of the Washington House of Representatives for the 12th districtIn office1973–1986 Personal detailsBorn (1934-11-19) November 19, 1934 (age 89)Political partyRepublicanOccupationbusinessman Earl F. Tilly (born November 19, 1934) is an American former politician in...

 

Peta Lokasi Kabupaten Nagan Raya di Aceh Berikut ini adalah daftar kecamatan dan gampong di kabupaten Nagan Raya beserta kode pos dan data sensus penduduk 2010. Kabupaten Nagan Raya memiliki 10 kecamatan dan 222 gampong dengan kode pos 23661-23672 (dari total 243 kecamatan dan 5827 gampong di seluruh Aceh). Per tahun 2010 jumlah penduduk di wilayah ini adalah 138.670 (dari penduduk seluruh provinsi Aceh yang berjumlah 4.486.570) yang terdiri atas 70.039 pria dan 68.631 wanita (rasio 102,05). ...

Gassantoda Castle月山富田城Yasugi, Shimane Prefecture, Japan Former site of Gassantoda CastleGassantoda CastleShow map of Shimane PrefectureGassantoda CastleShow map of JapanCoordinates35°21′49″N 133°10′58″E / 35.36361°N 133.18278°E / 35.36361; 133.18278TypeJapanese castleSite informationControlled byAmago clan (1396–1566),Mōri clan (1566–1600),Horio clan (1600–1611)ConditionRuinsSite historyBuilt1396; 627 years ago (1396)...

 

Aspect of history For broader coverage of this topic, see History of ballooning. L'Entreprenant at the Battle of Fleurus (1794) Balloons and kites were the first inventions used in aerial warfare and their primary role was observation. Balloons provided a reliable and stable means of elevating an observer high over the battlefield to obtain a birds-eye view of troop positions and movements. An early instrument of aerial intelligence collection, they were also useful for creating accurate batt...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!