-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprodromoi.go
More file actions
39 lines (34 loc) · 2.14 KB
/
prodromoi.go
File metadata and controls
39 lines (34 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package main
import (
"os"
)
func main() {
logo(`
██▓███ ██▀███ ▒█████ ▓█████▄ ██▀███ ▒█████ ███▄ ▄███▓ ▒█████ ██▓
▓██░ ██▒▓██ ▒ ██▒▒██▒ ██▒▒██▀ ██▌▓██ ▒ ██▒▒██▒ ██▒▓██▒▀█▀ ██▒▒██▒ ██▒▓██▒
▓██░ ██▓▒▓██ ░▄█ ▒▒██░ ██▒░██ █▌▓██ ░▄█ ▒▒██░ ██▒▓██ ▓██░▒██░ ██▒▒██▒
▒██▄█▓▒ ▒▒██▀▀█▄ ▒██ ██░░▓█▄ ▌▒██▀▀█▄ ▒██ ██░▒██ ▒██ ▒██ ██░░██░
▒██▒ ░ ░░██▓ ▒██▒░ ████▓▒░░▒████▓ ░██▓ ▒██▒░ ████▓▒░▒██▒ ░██▒░ ████▓▒░░██░
▒▓▒░ ░ ░░ ▒▓ ░▒▓░░ ▒░▒░▒░ ▒▒▓ ▒ ░ ▒▓ ░▒▓░░ ▒░▒░▒░ ░ ▒░ ░ ░░ ▒░▒░▒░ ░▓
░▒ ░ ░▒ ░ ▒░ ░ ▒ ▒░ ░ ▒ ▒ ░▒ ░ ▒░ ░ ▒ ▒░ ░ ░ ░ ░ ▒ ▒░ ▒ ░
░░ ░░ ░ ░ ░ ░ ▒ ░ ░ ░ ░░ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ▒ ▒ ░
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
░
`)
args := os.Args
args = args[1:]
if len(args) < 1 {
print("error", "No username specified")
os.Exit(1)
}
username := args[0]
for _, siteInfo := range decode() {
print("running", "Checking for user " + username + " at " + siteInfo.Site)
check := validate(siteInfo.Host, username)
if check {
print("success", "Found a user with the username " + username + " at " + siteInfo.Site)
} else {
print("error", "Did not find a user with the username " + username + " at " + siteInfo.Site)
}
}
}