From c20bfed6a6126adc1bea8c7fafe0b1195c086ee0 Mon Sep 17 00:00:00 2001 From: Gregory Boddin Date: Thu, 8 Oct 2020 17:44:16 +0200 Subject: [PATCH] Update readme --- README.md | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 66 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index faeaa89..c498047 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ This is a Go CLI & library making queries to LeakIX easier. -## Command line usage +## leakix - Command line usage ```sh $ leakix -h @@ -58,6 +58,71 @@ $ ./leakix -r -s services -l 0 ...keeps streaming... ``` +## leakix-ns - Command line usage + +``` +$ ./bin/leakix-ns-linux-64 +Usage of leakix-dns: + ./leakix-ns -d -l 200 + + -d string + Specify domain or IP + -j JSON mode, (excludes -t) + -l int + Limit results output (default 100) +$ ./bin/leakix-ns-linux-64 -d microsoft.com -l 3000 +PTR records : +[22-09-2020 03:50] sophosent.microsoft.com <- 157.58.217.12 +[04-10-2020 21:08] tide131.microsoft.com <- 213.199.128.156 +[01-10-2020 12:42] 52-114-124-186.relay.teams.microsoft.com <- 52.114.124.186 +[27-09-2020 06:11] dbecbip01.one.microsoft.com <- 213.199.129.203 +[04-10-2020 13:15] duschy644p52v2-portal.msftvpn.ras.microsoft.com <- 157.58.214.101 +[02-10-2020 16:10] timestamping4096.microsoft.com <- 207.46.153.123 +[02-10-2020 13:07] invoicepresentmentjournal.co1.cp.microsoft.com <- 65.55.120.33 +[28-09-2020 05:28] 52-114-124-198.relay.teams.microsoft.com <- 52.114.124.198 +[27-09-2020 23:11] dm2.usmevpn.microsoft.com <- 131.253.121.62 +[25-09-2020 12:56] blugro7gms.groove.microsoft.com <- 134.170.3.177 +[27-09-2020 20:35] 52-114-125-70.relay.teams.microsoft.com <- 52.114.125.70 +[22-09-2020 01:46] bn2-dspcdn.tlu.dl.delivery.mp.microsoft.com <- 40.77.228.30 +[03-10-2020 10:39] accounts.bn2.cp.microsoft.com <- 40.77.228.40 +[01-10-2020 19:53] duschy644p52v2.msftvpn-alt.ras.microsoft.com <- 157.58.214.99 +[23-09-2020 11:27] primary.exchange.microsoft.com <- 157.58.197.9 +[03-10-2020 09:33] invoicepresentment.dm2.cp.microsoft.com <- 65.55.145.65 +[01-10-2020 16:43] origin-internal-dev.support.services.microsoft.com <- 40.77.232.18 +[01-10-2020 04:14] invoicepresentment.co1.cp.microsoft.com <- 65.55.120.34 +[28-09-2020 01:50] co1.gmevpn.microsoft.com <- 65.55.5.44 +[06-10-2020 00:53] 52-114-124-181.relay.teams.microsoft.com <- 52.114.124.181 +[03-10-2020 01:04] pages.bing-email.microsoft.com <- 13.111.35.40 +[01-10-2020 01:31] accounts.bkgprocessing.cy2.cp.microsoft.com <- 40.77.232.79 +[01-10-2020 00:46] 52-114-125-17.relay.teams.microsoft.com <- 52.114.125.17 +[27-09-2020 21:52] 52-114-124-88.relay.teams.microsoft.com <- 52.114.124.88 +[30-09-2020 12:22] 52-114-124-202.relay.teams.microsoft.com <- 52.114.124.202 +[22-09-2020 22:54] staff.microsoft.com <- 209.141.49.113 +[22-09-2020 03:50] staff.microsoft.com <- 209.141.61.131 +[22-09-2020 10:44] click.bing-email.microsoft.com <- 13.111.36.33 +Forward records : +[06-10-2020 02:26] office2018microsoft.com -> 13.77.161.179 +[06-10-2020 02:26] office2018microsoft.com -> 104.215.148.63 +[06-10-2020 02:26] office2018microsoft.com -> 40.113.200.201 +[06-10-2020 02:26] office2018microsoft.com -> 104.215.148.63 +[06-10-2020 02:26] office2018microsoft.com -> 13.77.161.179 +[06-10-2020 02:26] office2018microsoft.com -> 40.113.200.201 +[06-10-2020 02:26] office2018microsoft.com -> 40.112.72.205 +[06-10-2020 02:26] office2018microsoft.com -> 40.112.72.205 +[06-10-2020 02:26] office2018microsoft.com -> 40.76.4.15 +[06-10-2020 02:26] office2018microsoft.com -> 40.76.4.15 +[05-10-2020 02:50] www.microsoft.com -> 2600:140a:a000:299::356e +[05-10-2020 02:50] www.microsoft.com -> 2600:140a:a000:299::356e +[05-10-2020 02:50] www.microsoft.com -> 2600:140a:a000:293::356e +[05-10-2020 02:50] www.microsoft.com -> 104.77.222.2 +[05-10-2020 02:50] www.microsoft.com -> 2600:140a:a000:293::356e +[05-10-2020 02:50] www.microsoft.com -> 104.77.222.2 +[05-10-2020 02:50] es.microsoft.com -> 51.143.57.13 +[05-10-2020 02:50] es.microsoft.com -> 51.143.57.13 +[05-10-2020 02:50] mail.microsoft.com -> 157.58.197.10 +[05-10-2020 02:50] mail.microsoft.com -> 167.220.71.19 +``` + ## Library usage ```golang