You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
star/main.go

62 lines
1.7 KiB
Go

2 years ago
package main
import (
8 months ago
"b612.me/apps/b612/aes"
2 years ago
"b612.me/apps/b612/attach"
"b612.me/apps/b612/base64"
"b612.me/apps/b612/base85"
"b612.me/apps/b612/base91"
2 years ago
"b612.me/apps/b612/calc"
8 months ago
"b612.me/apps/b612/cert"
2 years ago
"b612.me/apps/b612/detach"
"b612.me/apps/b612/df"
"b612.me/apps/b612/dfinder"
8 months ago
"b612.me/apps/b612/dns"
2 years ago
"b612.me/apps/b612/ftp"
"b612.me/apps/b612/generate"
"b612.me/apps/b612/hash"
"b612.me/apps/b612/httpreverse"
8 months ago
"b612.me/apps/b612/httproxy"
2 years ago
"b612.me/apps/b612/httpserver"
"b612.me/apps/b612/image"
8 months ago
"b612.me/apps/b612/keygen"
2 years ago
"b612.me/apps/b612/merge"
9 months ago
"b612.me/apps/b612/net"
8 months ago
"b612.me/apps/b612/rmt"
2 years ago
"b612.me/apps/b612/search"
8 months ago
"b612.me/apps/b612/smtpclient"
8 months ago
"b612.me/apps/b612/smtpserver"
8 months ago
"b612.me/apps/b612/socks5"
2 years ago
"b612.me/apps/b612/split"
"b612.me/apps/b612/tcping"
"b612.me/apps/b612/uac"
"b612.me/apps/b612/vic"
8 months ago
"b612.me/apps/b612/whois"
2 years ago
"b612.me/stario"
"b612.me/starlog"
"github.com/inconshreveable/mousetrap"
2 years ago
"github.com/spf13/cobra"
)
var cmdRoot = &cobra.Command{
Use: "b612",
8 months ago
Version: "2.1.0.beta",
2 years ago
}
func init() {
2 years ago
cobra.MousetrapHelpText = ""
2 years ago
cmdRoot.AddCommand(tcping.Cmd, uac.Cmd, httpserver.Cmd, httpreverse.Cmd,
base64.Cmd, base85.Cmd, base91.Cmd, attach.Cmd, detach.Cmd, df.Cmd, dfinder.Cmd,
2 years ago
ftp.Cmd, generate.Cmd, hash.Cmd, image.Cmd, merge.Cmd, search.Cmd, split.Cmd, vic.Cmd,
8 months ago
calc.Cmd, net.Cmd, rmt.Cmds, rmt.Cmdc, keygen.Cmd, dns.Cmd, whois.Cmd, socks5.Cmd, httproxy.Cmd, smtpserver.Cmd, smtpclient.Cmd,
8 months ago
cert.Cmd, aes.Cmd)
2 years ago
}
func main() {
2 years ago
starlog.SetLevelColor(starlog.LvError, []starlog.Attr{starlog.FgHiMagenta})
2 years ago
cmdRoot.Execute()
2 years ago
if mousetrap.StartedByExplorer() {
stario.StopUntil("Press Any Key to Continue...", "", true)
}
2 years ago
}