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

67 lines
1.8 KiB
Go

2 years ago
package main
import (
9 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"
9 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"
10 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"
10 months ago
"b612.me/apps/b612/httproxy"
2 years ago
"b612.me/apps/b612/httpserver"
"b612.me/apps/b612/image"
10 months ago
"b612.me/apps/b612/keygen"
2 years ago
"b612.me/apps/b612/merge"
3 months ago
"b612.me/apps/b612/mget"
11 months ago
"b612.me/apps/b612/net"
10 months ago
"b612.me/apps/b612/rmt"
2 years ago
"b612.me/apps/b612/search"
9 months ago
"b612.me/apps/b612/smtpclient"
9 months ago
"b612.me/apps/b612/smtpserver"
10 months ago
"b612.me/apps/b612/socks5"
2 years ago
"b612.me/apps/b612/split"
"b612.me/apps/b612/tcm"
2 years ago
"b612.me/apps/b612/tcping"
"b612.me/apps/b612/tcpkill"
8 months ago
"b612.me/apps/b612/tls"
2 years ago
"b612.me/apps/b612/uac"
"b612.me/apps/b612/version"
2 years ago
"b612.me/apps/b612/vic"
10 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",
Version: version.Version,
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,
9 months ago
calc.Cmd, net.Cmd, rmt.Cmds, rmt.Cmdc, keygen.Cmd, dns.Cmd, whois.Cmd, socks5.Cmd, httproxy.Cmd, smtpserver.Cmd, smtpclient.Cmd,
cert.Cmd, aes.Cmd, tls.Cmd, mget.Cmd, tcpkill.Cmd, tcm.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
}