Skip to content

Commit

Permalink
Update UsernameCheck.go
Browse files Browse the repository at this point in the history
add Harry Johnson
  • Loading branch information
EvilBytecode authored Jul 7, 2024
1 parent 09f2148 commit 0256ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AntiVirtualization/UsernameCheck/UsernameCheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
// CheckForBlacklistedNames checks if the current username matches any blacklisted names.
// It returns true if a blacklisted name is found, otherwise false.
func CheckForBlacklistedNames() bool {
bn := []string{"Johnson", "Miller", "malware", "maltest", "CurrentUser", "Sandbox", "virus", "John Doe", "test user", "sand box", "WDAGUtilityAccount", "Bruno", "george"}
bn := []string{"Johnson", "Miller", "malware", "maltest", "CurrentUser", "Sandbox", "virus", "John Doe", "test user", "sand box", "WDAGUtilityAccount", "Bruno", "george", "Harry Johnson"}
user := strings.ToLower(os.Getenv("USERNAME"))
for _, name := range bn {
if user == strings.ToLower(name) {
Expand Down

0 comments on commit 0256ef2

Please sign in to comment.