mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-25 20:51:52 +08:00
fix typos
This commit is contained in:
+8
-8
@@ -18,10 +18,10 @@ func Parse(Info *HostInfo) {
|
|||||||
|
|
||||||
func ParseUser(Info *HostInfo) {
|
func ParseUser(Info *HostInfo) {
|
||||||
if Info.Username != "" {
|
if Info.Username != "" {
|
||||||
uesrs := strings.Split(Info.Username, ",")
|
users := strings.Split(Info.Username, ",")
|
||||||
for _, uesr := range uesrs {
|
for _, user := range users {
|
||||||
if uesr != "" {
|
if user != "" {
|
||||||
Info.Usernames = append(Info.Usernames, uesr)
|
Info.Usernames = append(Info.Usernames, user)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for name := range Userdict {
|
for name := range Userdict {
|
||||||
@@ -29,11 +29,11 @@ func ParseUser(Info *HostInfo) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if Userfile != "" {
|
if Userfile != "" {
|
||||||
uesrs, err := Readfile(Userfile)
|
users, err := Readfile(Userfile)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
for _, uesr := range uesrs {
|
for _, user := range users {
|
||||||
if uesr != "" {
|
if user != "" {
|
||||||
Info.Usernames = append(Info.Usernames, uesr)
|
Info.Usernames = append(Info.Usernames, user)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for name := range Userdict {
|
for name := range Userdict {
|
||||||
|
|||||||
Reference in New Issue
Block a user