All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Register

Login


All New Register Login

All gists matching topic port

Recently created
Least recently created
Recently updated
Least recently updated
nithir's Avatar

nithir / Tester si un port est ouvert sans outils spécifique

0 likes
0 forks
1 files
Last active 1748862129
bash outils port reseau shell tcp
1 timeout 2 bash -c '</dev/tcp/91.121.61.180/443 && echo Port is open || echo Port is closed' || echo Connection timeout Port is open ~
2
3 timeout 2 bash -c '</dev/tcp/91.121.61.180/444 && echo Port is open || echo Port is closed' || echo Connection timeout bash: connect: Connexion refusée
4 bash: /dev/tcp/91.121.61.180/444: Connexion refusée Port is closed
nithir's Avatar

nithir / Scanner de port en perl

0 likes
0 forks
1 files
Last active 1748862147
perl port scanner
1 #!/usr/bin/perl
2 # Easy port scanner
3 # I wrote this in the 90s to help learn socket programming
4 # ./quickscan -h for usage
5 use Socket;
6 $| = 1; # so \r works right
7 my ($ip, $protocol, $port, $myhouse, $yourhouse, $log);
8 $protocol = getprotobyname('tcp');
9 ($ip, $port, $port_stop, $log) = @ARGV;
10 if ($ip eq "-h") {
Newer Older

Powered by Opengist ⋅ Load: 119ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文