Skip to content

Commit 963b6a7

Browse files
committed
upgraded to OAM v0.8.0 and started pruning the client
1 parent da15f9e commit 963b6a7

15 files changed

Lines changed: 27 additions & 1660 deletions

File tree

cmd/amass/help.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ func runHelpCommand(clArgs []string) {
2525
runSubsCommand(help)
2626
case "emails":
2727
runEmailsCommand(help)
28-
case "viz":
29-
runVizCommand(help)
30-
case "track":
31-
runTrackCommand(help)
3228
default:
3329
commandUsage(mainUsageMsg, helpCommand, helpBuf)
3430
return

cmd/amass/main.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ func commandUsage(msg string, cmdFlagSet *flag.FlagSet, errBuf *bytes.Buffer) {
9292
g.Fprintf(color.Error, "\t%-11s - Discover targets for enumerations\n", "amass intel")
9393
g.Fprintf(color.Error, "\t%-11s - Perform enumerations and network mapping\n", "amass enum")
9494
g.Fprintf(color.Error, "\t%-11s - Analyze subdomain information in the asset-db\n", "amass subs")
95-
g.Fprintf(color.Error, "\t%-11s - Analyze OAM data to generate graph visualizations\n", "amass viz")
9695
g.Fprintf(color.Error, "\t%-11s - Analyze OAM data to identify newly discovered assets\n", "amass track")
9796
}
9897

@@ -137,10 +136,6 @@ func main() {
137136
runSubsCommand(os.Args[2:])
138137
case "emails":
139138
runEmailsCommand(os.Args[2:])
140-
case "viz":
141-
runVizCommand(os.Args[2:])
142-
case "track":
143-
runTrackCommand(os.Args[2:])
144139
case "help":
145140
runHelpCommand(os.Args[2:])
146141
default:
@@ -338,7 +333,7 @@ func convertScopeToAssets(scope *config.Scope) []*et.Asset {
338333
}
339334

340335
// Create an asset from the CIDR and append it to the assets slice.
341-
asset := oamnet.Netblock{Cidr: prefix, Type: ipType}
336+
asset := oamnet.Netblock{CIDR: prefix, Type: ipType}
342337
data := et.AssetData{
343338
OAMAsset: asset,
344339
OAMType: asset.AssetType(),

cmd/amass/subs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ func readASPrefixes(db *assetdb.AssetDB, asn int, since time.Time) []string {
419419
if a, err := db.FindById(rel.ToAsset.ID, since); err != nil {
420420
continue
421421
} else if netblock, ok := a.Asset.(*network.Netblock); ok {
422-
prefixes = append(prefixes, netblock.Cidr.String())
422+
prefixes = append(prefixes, netblock.CIDR.String())
423423
}
424424
}
425425
}

cmd/amass/track.go

Lines changed: 0 additions & 174 deletions
This file was deleted.

0 commit comments

Comments
 (0)