Skip to content

Commit

Permalink
fix comments :')
Browse files Browse the repository at this point in the history
  • Loading branch information
andpalmier committed Mar 20, 2022
1 parent c7a54f2 commit 90c758e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/androidapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ type VTIcon struct {
Dhash string `json:"dhash"`
}

// VTVirusTotalInfo - struct for info gathered from VirusTotal
// VirusTotalInfo - struct for info gathered from VirusTotal
type VirusTotalInfo struct {
Url string `json:"virustotalurl"`
Names []string `json:"names"`
Expand Down
4 changes: 2 additions & 2 deletions cmd/vt.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ func (androidapp *AndroidApp) getVTDetection(apiKey string) error {
file, err := client.GetObject(vt.URL("files/" + androidapp.Hashes.Sha256))
if err != nil {
return errors.New("[!] Error performing VirusTotal request, please check your API key")
} else {
vtitem.Url = fmt.Sprintf("https://virustotal.com/gui/file/%s", androidapp.Hashes.Sha256)
}

vtitem.Url = fmt.Sprintf("https://virustotal.com/gui/file/%s", androidapp.Hashes.Sha256)

fsd, err := file.GetTime("first_submission_date")
if err == nil {
Expand Down

0 comments on commit 90c758e

Please sign in to comment.