FTP

SMB

NFS

Domain info:

Online presence:

Check ssl certificates for subdomains .

crt.sh

output the results from crt.sh which logs all digital certificates issued by a certificate authority in audit proof logs.

curl -s <https://crt.sh/\\?q\\=inlanefreight.com\\&output\\=json> | jq .

filter by unique subdomains:

curl -s <https://crt.sh/\\?q\\=inlanefreight.com\\&output\\=json> | jq . | grep name | cut -d":" -f2 | grep -v "CN=" | cut -d'"' -f2 | awk '{gsub(/\\\\n/,"\\n");}1;' | sort -u

account.ttn.inlanefreight.com
blog.inlanefreight.com
bots.inlanefreight.com
console.ttn.inlanefreight.com
ct.inlanefreight.com
data.ttn.inlanefreight.com
*.inlanefreight.com
inlanefreight.com

Company hosted servers:

identify hosts directly accessible from internet and not hosted by 3rd party :

for i in $(cat subdomainlist);do host $i | grep "has address" | grep inlanefreight.com | cut -d" " -f1,4;done

blog.inlanefreight.com 10.129.24.93
inlanefreight.com 10.129.27.33
matomo.inlanefreight.com 10.129.127.22
www.inlanefreight.com 10.129.127.33
s3-website-us-west-2.amazonaws.com 10.129.95.25

see which ips can be further investigated and pass them to shodan- to find systems connected to internet (iots) and then their open ports.

for i in $(cat subdomainlist);do host $i | grep "has address" | grep inlanefreight.com | cut -d" " -f4 >> ip-addresses.txt;done
obliteration@htb
[/htb]
$ 
for i in $(cat ip-addresses.txt);do shodan host $i;done

10.129.24.93
City:                    Berlin
Country:                 Germany
Organization:            InlaneFreight
Updated:                 2021-09-01T09:02:11.370085
Number of open ports:    2

Ports:
     80/tcp nginx 
    443/tcp nginx 

keep imp. ips noted for future