https://github.com/sooluh/subfinder
:mag: Find, scan and collect subdomains of any domain.
https://github.com/sooluh/subfinder
domain finder javascript nodejs pentest scanner subdomain subdomain-finder subdomain-scanner subfinder
Last synced: 8 days ago
JSON representation
:mag: Find, scan and collect subdomains of any domain.
- Host: GitHub
- URL: https://github.com/sooluh/subfinder
- Owner: sooluh
- License: mit
- Created: 2021-07-18T04:35:50.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-03T08:46:01.000Z (11 months ago)
- Last Synced: 2025-04-15T00:52:55.588Z (7 months ago)
- Topics: domain, finder, javascript, nodejs, pentest, scanner, subdomain, subdomain-finder, subdomain-scanner, subfinder
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@sooluh/subfinder
- Size: 31.3 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Subdomain Finder
[Subfinder](https://github.com/sooluh/subfinder) is used to find, scan and collect subdomains of any domain
## Install
```
npm i @sooluh/subfinder
```
## Usage
```javascript
const Subfinder = require("@sooluh/subfinder");
const subfinder = new Subfinder();
// callback
subfinder.lookup("domain.com", function (subdomains, error) {
if (error) return console.error(error);
console.log(subdomains);
});
// promise with then/catch
subfinder.lookup("domain.com")
.then(console.log)
.catch(console.error);
// promise with async/await
(async () => {
try {
const subdomains = await subfinder.lookup("domain.com");
console.log(subdomains);
} catch (error) {
console.error(error);
}
})();
```
## License
Code licensed under [MIT License](./LICENSE).