kpcyrd/sn0int

Broken path ?

Closed this issue · 5 comments

Hey ... is this due to a bug or file/directory permissions ?

[-] Failed "<domain.tld>": No such file or directory (os error 2)
the domain is visible when select domain where value like q% is used

also for new workspace and newly added domain ... same error


Versions

  • **rustc --version: 1.40.0
  • **cargo --version: 1.39.0
  • **sn0int --version: 0.18.0
  • uname -a:

Environment

  • **Operating System/Distro: Debian
  • **Installed from (source/apt/pacman/brew/docker): gzip unpacked

It's a bit of a wild guess, but can you make sure you have publicsuffix installed and /usr/share/publicsuffix/public_suffix_list.dat exists? :)

sn0int pkg update

[2020-03-20T20:28:12Z INFO sn0int::sandbox] Dropping all capabilities
[2020-03-20T20:28:12Z DEBUG sn0int] Loaded config: Config { core: CoreConfig { registry: "https://sn0int.com", no_autoupdate: false }, namespaces: {}, network: NetworkConfig { proxy: None } }
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading modules from "/home/myuser/.local/share/sn0int/modules/kpcyrd"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/otx-subdomains from "/home/myuser/.local/share/sn0int/modules/kpcyrd/otx-subdomains.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/dns-ptr from "/home/myuser/.local/share/sn0int/modules/kpcyrd/dns-ptr.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/dns-ns from "/home/myuser/.local/share/sn0int/modules/kpcyrd/dns-ns.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/asn from "/home/myuser/.local/share/sn0int/modules/kpcyrd/asn.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/viewdns-reverseip from "/home/myuser/.local/share/sn0int/modules/kpcyrd/viewdns-reverseip.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/geoip from "/home/myuser/.local/share/sn0int/modules/kpcyrd/geoip.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/whois-ip2netblock from "/home/myuser/.local/share/sn0int/modules/kpcyrd/whois-ip2netblock.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/axfr from "/home/myuser/.local/share/sn0int/modules/kpcyrd/axfr.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/apex-domain from "/home/myuser/.local/share/sn0int/modules/kpcyrd/apex-domain.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/crypto-detect from "/home/myuser/.local/share/sn0int/modules/kpcyrd/crypto-detect.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/btc-blockchain-info from "/home/myuser/.local/share/sn0int/modules/kpcyrd/btc-blockchain-info.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/cname-harvest from "/home/myuser/.local/share/sn0int/modules/kpcyrd/cname-harvest.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/ctlogs from "/home/myuser/.local/share/sn0int/modules/kpcyrd/ctlogs.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/dns-mx-emails from "/home/myuser/.local/share/sn0int/modules/kpcyrd/dns-mx-emails.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/dns-mx-domains from "/home/myuser/.local/share/sn0int/modules/kpcyrd/dns-mx-domains.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/dns-resolve from "/home/myuser/.local/share/sn0int/modules/kpcyrd/dns-resolve.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/github from "/home/myuser/.local/share/sn0int/modules/kpcyrd/github.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/exif from "/home/myuser/.local/share/sn0int/modules/kpcyrd/exif.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/images from "/home/myuser/.local/share/sn0int/modules/kpcyrd/images.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/hackertarget-subdomains from "/home/myuser/.local/share/sn0int/modules/kpcyrd/hackertarget-subdomains.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/git-webroot from "/home/myuser/.local/share/sn0int/modules/kpcyrd/git-webroot.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/instagram from "/home/myuser/.local/share/sn0int/modules/kpcyrd/instagram.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/keybase from "/home/myuser/.local/share/sn0int/modules/kpcyrd/keybase.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/irc-monitor from "/home/myuser/.local/share/sn0int/modules/kpcyrd/irc-monitor.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/npm from "/home/myuser/.local/share/sn0int/modules/kpcyrd/npm.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/keybase-domains from "/home/myuser/.local/share/sn0int/modules/kpcyrd/keybase-domains.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/keybase-profiles from "/home/myuser/.local/share/sn0int/modules/kpcyrd/keybase-profiles.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/passive-spider from "/home/myuser/.local/share/sn0int/modules/kpcyrd/passive-spider.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/nudity from "/home/myuser/.local/share/sn0int/modules/kpcyrd/nudity.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/pgp-keyserver from "/home/myuser/.local/share/sn0int/modules/kpcyrd/pgp-keyserver.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/phpmyadmin from "/home/myuser/.local/share/sn0int/modules/kpcyrd/phpmyadmin.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/pornhub from "/home/myuser/.local/share/sn0int/modules/kpcyrd/pornhub.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/pwndb-domains from "/home/myuser/.local/share/sn0int/modules/kpcyrd/pwndb-domains.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/shodan-certs from "/home/myuser/.local/share/sn0int/modules/kpcyrd/shodan-certs.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/smtp-check from "/home/myuser/.local/share/sn0int/modules/kpcyrd/smtp-check.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/soundcloud from "/home/myuser/.local/share/sn0int/modules/kpcyrd/soundcloud.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/steam from "/home/myuser/.local/share/sn0int/modules/kpcyrd/steam.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/threatminer-ipaddr from "/home/myuser/.local/share/sn0int/modules/kpcyrd/threatminer-ipaddr.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/threatminer-subdomains from "/home/myuser/.local/share/sn0int/modules/kpcyrd/threatminer-subdomains.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/twilio-lookup from "/home/myuser/.local/share/sn0int/modules/kpcyrd/twilio-lookup.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/tiktok from "/home/myuser/.local/share/sn0int/modules/kpcyrd/tiktok.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/twitch from "/home/myuser/.local/share/sn0int/modules/kpcyrd/twitch.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/virustotal-subdomains from "/home/myuser/.local/share/sn0int/modules/kpcyrd/virustotal-subdomains.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/url-scan from "/home/myuser/.local/share/sn0int/modules/kpcyrd/url-scan.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/waybackurls from "/home/myuser/.local/share/sn0int/modules/kpcyrd/waybackurls.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/whatsmyname from "/home/myuser/.local/share/sn0int/modules/kpcyrd/whatsmyname.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/wigle-ssid-location from "/home/myuser/.local/share/sn0int/modules/kpcyrd/wigle-ssid-location.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/zec-zchain from "/home/myuser/.local/share/sn0int/modules/kpcyrd/zec-zchain.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/tls-san-scan from "/home/myuser/.local/share/sn0int/modules/kpcyrd/tls-san-scan.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/spyse-subdomains from "/home/myuser/.local/share/sn0int/modules/kpcyrd/spyse-subdomains.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/ptrarchive from "/home/myuser/.local/share/sn0int/modules/kpcyrd/ptrarchive.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/tld-scan from "/home/myuser/.local/share/sn0int/modules/kpcyrd/tld-scan.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/url-index-spider from "/home/myuser/.local/share/sn0int/modules/kpcyrd/url-index-spider.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/well-known-uris from "/home/myuser/.local/share/sn0int/modules/kpcyrd/well-known-uris.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/irc-logger from "/home/myuser/.local/share/sn0int/modules/kpcyrd/irc-logger.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/url-rescan from "/home/myuser/.local/share/sn0int/modules/kpcyrd/url-rescan.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module kpcyrd/url-titles from "/home/myuser/.local/share/sn0int/modules/kpcyrd/url-titles.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading modules from "/home/myuser/.local/share/sn0int/modules/rickmer"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module rickmer/ct-sub-domains from "/home/myuser/.local/share/sn0int/modules/rickmer/ct-sub-domains.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module rickmer/hibp from "/home/myuser/.local/share/sn0int/modules/rickmer/hibp.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading modules from "/home/myuser/.local/share/sn0int/modules/ncosnard"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module ncosnard/whois-email from "/home/myuser/.local/share/sn0int/modules/ncosnard/whois-email.lua"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading modules from "/home/myuser/.local/share/sn0int/modules/ysf"
[2020-03-20T20:28:12Z DEBUG sn0int::engine] Loading lua module ysf/hibp from "/home/myuser/.local/share/sn0int/modules/ysf/hibp.lua"
Error: No such file or directory (os error 2)

$ sn0int
.....
[+] Loaded 61 modules
[2020-03-20T20:43:17Z DEBUG sn0int::update] Checking for outdated modules in the background
[2020-03-20T20:43:17Z ERROR sn0int::update] Failed to create client: No such file or directory (os error 2)
[2020-03-20T20:43:17Z DEBUG rustyline::tty::unix] initial cursor location: Some(1)
[2020-03-20T20:43:17Z DEBUG rustyline::edit] old layout: Layout { prompt_size: Position { col: 0, row: 0 }, default_prompt: false, cursor: Position { col: 0, row: 0 }, end: Position { col: 0, row: 0 } }
[2020-03-20T20:43:17Z DEBUG rustyline::edit] new layout: Layout { prompt_size: Position { col: 20, row: 0 }, default_prompt: true, cursor: Position { col: 20, row: 0 }, end: Position { col: 20, row: 0 } }

Fixed: caused by a broken /etc/resolv.conf situation where it was symlinked to /run/NetworkManager/resolv.conf

Thanks for the awesome support by kpcyrd