Skip to content

Commit

Permalink
Updated README and fixed CUI
Browse files Browse the repository at this point in the history
  • Loading branch information
t94j0 committed Aug 2, 2017
1 parent 26f8d9e commit 03d428b
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 6 deletions.
28 changes: 25 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

* Actively maintained
* Bypasses captcha for [bluecoat.com](https://sitereview.bluecoat.com/sitereview.jsp) by using OCR because their captcha is shit
* Plans for purchasing domain with Namecheap and GoDaddy
* Purchase domain names straight from the console

## Installation

Expand All @@ -19,7 +19,11 @@

## How to use

Right now, this only supports listing domains that a red team might want to purchase. Although, you can do it one of two ways:
### Listing domain names

A good way to get a domain list is registering for [ExpiredDomains](https://www.expireddomains.net/) and using the [Export .COM feature](https://member.expireddomains.net/export/expiredcom/?export=textfile).

If you want to get a domain with specific keywords, you can use the keywords feature. This will take a bit longer and have less results, but it can still work extremely well.

1. With a domain list file

Expand All @@ -31,7 +35,25 @@ Right now, this only supports listing domains that a red team might want to purc

If multiple keywords are specified, they are combined by AND, so in the example above, you will get `maxiscool.com, max-is-kinda-cool.com, cool-memes-to-the-max.com`

The help should be very obvious, so if you are stuck, try using `AIRMASTER --help`
### Purchasing domain names

Purchasing domain names uses the domains found by listing domains (see above) and adds an extra step to allow you to purchase the domain name. This is very simple: just add the `--purchase` flag to the end of a `list` command

Example:

`AIRMASTER list --file ./path/to/file.txt --purchase`

```
max@seldon ~> AIRMASTER list --file ~/Downloads/domains_2017-08-01_16_07_03.txt --purchase
Using config file: /Users/max/.AIRMASTER.json
Found available domain pavpal-login-account.com (Phishing)
-1. Do not purchase
0. Purchase with GoDaddy for $7490000
Choose an option: 0
Success!
```

The help *should* be obvious, so if you are stuck, try using `AIRMASTER --help`. (Although if you are still stuck, please create an issue)

## Config

Expand Down
10 changes: 7 additions & 3 deletions domain/purchase.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,19 @@ func (d *Domain) PromptPurchase() {
return
}

fmt.Printf(
"Found available domain %s (%s)\n",
d.URL,
d.Categorization,
)

// Give the user options for how to purchase the domain, or the option not to
fmt.Println("-1. Do not purchase")

for i, registrar := range availableRegistrars {
fmt.Printf(
"%d. %s (%s) available on %s for $%d\n",
"%d. Purchase with %s for $%d\n",
i,
d.URL,
d.Categorization,
registrar.GetName(),
prices[i],
)
Expand Down

0 comments on commit 03d428b

Please sign in to comment.