Skip to content

Instantly share code, notes, and snippets.

@cl4u2
cl4u2 / phpipamapitest.py
Created May 7, 2017 15:29
PHPIPAM API usage basic example in Python
import requests
import json
server = "https://ipam.ninux.org"
appid = "appid"
username = "username"
password = "password"
baseurl = server + "/api/" + appid
@Khoulaiz
Khoulaiz / gist:41b387883a208d6e914b
Last active May 3, 2024 15:57
Checking ports without telnet

Here are several different ways to test a TCP port without telnet.

$ cat < /dev/tcp/127.0.0.1/22
SSH-2.0-OpenSSH_5.3
^C

$ cat &lt; /dev/tcp/127.0.0.1/23